 |
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
19 #ifndef YARP_DEV_LOCALIZATION2DSERVER_H
20 #define YARP_DEV_LOCALIZATION2DSERVER_H
104 void publish_2DLocation_on_yarp_port();
105 void publish_odometry_on_yarp_port();
106 void publish_odometry_on_ROS_topic();
107 void publish_odometry_on_TF_topic();
114 virtual bool close()
override;
117 virtual void run()
override;
124 #endif // YARP_DEV_LOCALIZATION2DSERVER_H
yarp::os::BufferedPort< yarp::dev::OdometryData > m_odometryPort
yarp::dev::Nav2D::Map2DLocation m_current_position
A base class for nested structures that can be searched.
localization2DServer: A localization server which can be wrap multiple algorithms and devices to prov...
virtual bool detachAll() override
Detach the object (you must have first called attach).
yarp::dev::OdometryData m_current_odometry
yarp::dev::Nav2D::LocalizationStatusEnum m_current_status
Interface implemented by all device drivers.
ILocalization2D interface.
bool m_getdata_using_periodic_thread
virtual bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool m_ros_publish_odometry_on_topic
define control board standard interfaces
yarp::dev::Nav2D::ILocalization2D * iLoc
yarp::os::Node * m_ros_node
virtual void run() override
Loop function.
std::string m_rpcPortName
yarp::os::Publisher< yarp::rosmsg::nav_msgs::Odometry > m_odometry_publisher
A mini-server for network communication.
yarp::dev::PolyDriver pLoc
std::string m_fixed_frame
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
std::string m_odometryPortName
std::string m_2DLocationPortName
std::string m_robot_frame
yarp::os::Stamp m_loc_stamp
bool initialize_ROS(yarp::os::Searchable &config)
A container for a device driver.
An abstraction for a periodic thread.
yarp::os::Stamp m_odom_stamp
An interface for reading from a network connection.
An abstraction for a time stamp and/or sequence number.
virtual bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
Interface for an object that can wrap/attach to to another.
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_parent_frame_id
yarp::os::Publisher< yarp::rosmsg::tf2_msgs::TFMessage > m_tf_publisher
bool m_ros_publish_odometry_on_tf
std::string m_child_frame_id
bool initialize_YARP(yarp::os::Searchable &config)
virtual bool close() override
Close the DeviceDriver.