Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NavSat (GPS) sensor #177

Merged
merged 14 commits into from
Jan 5, 2022
Prev Previous commit
Next Next commit
remove deprecated functions
Signed-off-by: Louise Poubel <[email protected]>
chapulina committed Dec 14, 2021
commit b464cf4ed5b9898c0198a3a9f57b8ccf1afa25f6
7 changes: 0 additions & 7 deletions include/ignition/sensors/NavSatSensor.hh
Original file line number Diff line number Diff line change
@@ -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>
@@ -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
6 changes: 0 additions & 6 deletions src/NavSatSensor.cc
Original file line number Diff line number Diff line change
@@ -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)
{