Skip to content

Commit

Permalink
removed ipreciselytimed from lasersensor
Browse files Browse the repository at this point in the history
  • Loading branch information
ste93 committed Jan 25, 2022
1 parent 9c55096 commit 3630a4c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions plugins/lasersensor/include/yarp/dev/LaserSensorDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <yarp/dev/LaserMeasurementData.h>
#include <yarp/dev/Lidar2DDeviceBase.h>
#include <yarp/os/Stamp.h>
#include <yarp/dev/IPreciselyTimed.h>
#include <boost/shared_ptr.hpp>

#include <gazebo/common/Plugin.hh>
Expand Down Expand Up @@ -64,11 +63,6 @@ class yarp::dev::GazeboYarpLaserSensorDriver:
virtual bool setHorizontalResolution (double step) override;
virtual bool setScanRate (double rate) override;

//PRECISELY TIMED
// TODO(traversaro): Remove once we require YARP 3.6
// See https://github.com/robotology/gazebo-yarp-plugins/issues/598
virtual yarp::os::Stamp getLastInputStamp();

public:
//Lidar2DDeviceBase
bool acquireDataFromHW() override final;
Expand Down
6 changes: 0 additions & 6 deletions plugins/lasersensor/src/LaserSensorDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ bool GazeboYarpLaserSensorDriver::acquireDataFromHW()
return true;
}

//PRECISELY TIMED
yarp::os::Stamp GazeboYarpLaserSensorDriver::getLastInputStamp()
{
return m_timestamp;
}

bool GazeboYarpLaserSensorDriver::setDistanceRange (double min, double max)
{
std::lock_guard<std::mutex> guard(m_mutex);
Expand Down

0 comments on commit 3630a4c

Please sign in to comment.