|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
17 ok &= m_poly->
view(m_ITemperature);
18 m_ITemperature->getTemperatureSensorFrameName(0,m_framename);
30 temp_ros_data.
clear();
yarp::os::Publisher< yarp::rosmsg::sensor_msgs::Temperature > m_publisher
void run() override
Loop function.
#define YARP_LOG_COMPONENT(name,...)
bool view(T *&x)
Get an interface to the device driver.
const yarp::os::LogComponent & GENERICSENSORROSPUBLISHER()
void write(bool forceStrict=false)
Write the current object being returned by Publisher::prepare.
virtual bool getTemperatureSensorMeasure(size_t sens_index, double &out, double ×tamp) const =0
Get the last reading of the specified sensor.
Port & asPort() override
Get the concrete Port being used for communication.
yarp::conf::float64_t variance
yarp::conf::float64_t temperature
yarp::rosmsg::std_msgs::Header header
TemperatureRosPublisher: This wrapper connects to a device and publishes a ROS topic of type sensor_m...
T & prepare()
Access the object which will be transmitted by the next call to yarp::os::Publisher::write.
bool isOpen() const
Check if the port has been opened.