6 #ifndef YARP_DEV_LOCALIZATION2DSERVER_H
7 #define YARP_DEV_LOCALIZATION2DSERVER_H
91 void publish_2DLocation_on_yarp_port();
92 void publish_odometry_on_yarp_port();
93 void publish_odometry_on_ROS_topic();
94 void publish_odometry_on_TF_topic();
101 virtual bool close()
override;
104 virtual void run()
override;
define control board standard interfaces
localization2DServer deprecated: A localization server which can be wrap multiple algorithms and devi...
bool initialize_ROS(yarp::os::Searchable &config)
yarp::dev::Nav2D::Map2DLocation m_current_position
std::string m_child_frame_id
yarp::dev::Nav2D::ILocalization2D * iLoc
yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation > m_2DLocationPort
virtual bool attachAll(const yarp::dev::PolyDriverList &l) override
Attach to a list of objects.
std::string m_2DLocationPortName
bool m_ros_publish_odometry_on_tf
std::string m_robot_frame
yarp::dev::PolyDriver pLoc
virtual bool close() override
Close the DeviceDriver.
std::string m_rpcPortName
yarp::dev::Nav2D::LocalizationStatusEnum m_current_status
virtual bool detachAll() override
Detach the object (you must have first called attach).
yarp::os::BufferedPort< yarp::dev::OdometryData > m_odometryPort
std::string m_odometryPortName
std::string m_parent_frame_id
std::string m_fixed_frame
yarp::os::Publisher< yarp::rosmsg::nav_msgs::Odometry > m_odometry_publisher
yarp::os::Node * m_ros_node
virtual bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
yarp::os::Stamp m_loc_stamp
bool m_ros_publish_odometry_on_topic
virtual void run() override
Loop function.
yarp::os::Publisher< yarp::rosmsg::tf2_msgs::TFMessage > m_tf_publisher
yarp::os::Stamp m_odom_stamp
bool m_getdata_using_periodic_thread
yarp::dev::OdometryData m_current_odometry
virtual bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool initialize_YARP(yarp::os::Searchable &config)
Interface implemented by all device drivers.
Interface for an object that can wrap/attach to to another.
ILocalization2D interface.
A container for a device driver.
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.