Skip to content

Commit

Permalink
remove deprecated functions
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>
  • Loading branch information
chapulina committed Dec 14, 2021
1 parent e448163 commit b464cf4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions include/ignition/sensors/NavSatSensor.hh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <sdf/Sensor.hh>

#include <ignition/common/SuppressWarning.hh>
#include <ignition/common/Time.hh>

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

/// \brief Update the sensor and generate data
/// \param[in] _now The current time
/// \return true if the update was successfull
public: virtual bool IGN_DEPRECATED(4) Update(
const common::Time &_now) override;

/// \brief Update the sensor and generate data
/// \param[in] _now The current time
/// \return true if the update was successfull
Expand Down
6 changes: 0 additions & 6 deletions src/NavSatSensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,6 @@ bool NavSatSensor::Load(sdf::ElementPtr _sdf)
return this->Load(sdfSensor);
}

//////////////////////////////////////////////////
bool NavSatSensor::Update(const common::Time &_now)
{
return this->Update(math::secNsecToDuration(_now.sec, _now.nsec));
}

//////////////////////////////////////////////////
bool NavSatSensor::Update(const std::chrono::steady_clock::duration &_now)
{
Expand Down

0 comments on commit b464cf4

Please sign in to comment.