6#ifndef YARP_DEV_LOCALIZATION2D_NWS_ROS_H
7#define YARP_DEV_LOCALIZATION2D_NWS_ROS_H
24#include <yarp/rosmsg/nav_msgs/Odometry.h>
25#include <yarp/rosmsg/tf2_msgs/TFMessage.h>
88 void publish_odometry_on_ROS_topic();
89 void publish_odometry_on_TF_topic();
96 bool close()
override;
define control board standard interfaces
localization2D_nws_ros: A localization server which can be wrap multiple algorithms and devices to pr...
std::string m_robot_frame
bool m_enable_publish_odometry_tf
std::string m_fixed_frame
bool close() override
Close the DeviceDriver.
std::string m_odom_topic_name
bool initialize_YARP(yarp::os::Searchable &config)
std::string m_parent_frame_id
yarp::dev::OdometryData m_current_odometry
yarp::os::Publisher< yarp::rosmsg::nav_msgs::Odometry > m_odometry_publisher
yarp::os::Stamp m_loc_stamp
yarp::dev::Nav2D::ILocalization2D * iLoc
std::string m_rpcPortName
yarp::dev::Nav2D::Map2DLocation m_current_position
yarp::dev::PolyDriver pLoc
bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
yarp::dev::Nav2D::LocalizationStatusEnum m_current_status
yarp::os::Stamp m_odom_stamp
bool m_enable_publish_odometry_topic
yarp::os::Publisher< yarp::rosmsg::tf2_msgs::TFMessage > m_tf_publisher
bool detach() override
Detach the object (you must have first called attach).
bool attach(yarp::dev::PolyDriver *driver) override
Attach to another object.
std::string m_child_frame_id
void run() override
Loop function.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool initialize_ROS(yarp::os::Searchable &config)
Interface implemented by all device drivers.
ILocalization2D interface.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
An abstraction for a periodic thread.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
A mini-server for network communication.
A base class for nested structures that can be searched.
An abstraction for a time stamp and/or sequence number.
@ localization_status_not_yet_localized