Skip to content

Commit b464cf4

Browse files
committed
remove deprecated functions
Signed-off-by: Louise Poubel <louise@openrobotics.org>
1 parent e448163 commit b464cf4

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

include/ignition/sensors/NavSatSensor.hh

-7
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include <sdf/Sensor.hh>
2323

2424
#include <ignition/common/SuppressWarning.hh>
25-
#include <ignition/common/Time.hh>
2625

2726
#include <ignition/sensors/config.hh>
2827
#include <ignition/sensors/navsat/Export.hh>
@@ -70,12 +69,6 @@ namespace ignition
7069
/// \return True on success
7170
public: virtual bool Init() override;
7271

73-
/// \brief Update the sensor and generate data
74-
/// \param[in] _now The current time
75-
/// \return true if the update was successfull
76-
public: virtual bool IGN_DEPRECATED(4) Update(
77-
const common::Time &_now) override;
78-
7972
/// \brief Update the sensor and generate data
8073
/// \param[in] _now The current time
8174
/// \return true if the update was successfull

src/NavSatSensor.cc

-6
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,6 @@ bool NavSatSensor::Load(sdf::ElementPtr _sdf)
142142
return this->Load(sdfSensor);
143143
}
144144

145-
//////////////////////////////////////////////////
146-
bool NavSatSensor::Update(const common::Time &_now)
147-
{
148-
return this->Update(math::secNsecToDuration(_now.sec, _now.nsec));
149-
}
150-
151145
//////////////////////////////////////////////////
152146
bool NavSatSensor::Update(const std::chrono::steady_clock::duration &_now)
153147
{

0 commit comments

Comments
 (0)