6 #ifndef YARP_DEV_LOCALIZATION2D_NWS_YARP_H
7 #define YARP_DEV_LOCALIZATION2D_NWS_YARP_H
78 void publish_2DLocation_on_yarp_port();
79 void publish_odometry_on_yarp_port();
85 bool close()
override;
define control board standard interfaces
localization2D_nws_yarp: A localization server which can be wrap multiple algorithms and devices to p...
yarp::os::Stamp m_loc_stamp
void run() override
Loop function.
yarp::dev::OdometryData m_current_odometry
yarp::os::Stamp m_odom_stamp
yarp::os::BufferedPort< yarp::dev::OdometryData > m_odometryPort
std::string m_rpcPortName
bool m_enable_publish_odometry
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::PolyDriver pLoc
std::string m_2DLocationPortName
yarp::dev::Nav2D::ILocalization2D * iLoc
std::string m_odometryPortName
bool m_getdata_using_periodic_thread
bool initialize_YARP(yarp::os::Searchable &config)
bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
bool attach(yarp::dev::PolyDriver *driver) override
Attach to another object.
bool close() override
Close the DeviceDriver.
Localization2D_nws_yarp()
bool detach() override
Detach the object (you must have first called attach).
bool m_enable_publish_location
yarp::dev::Nav2D::LocalizationStatusEnum m_current_status
yarp::dev::Nav2D::Map2DLocation m_current_position
yarp::os::BufferedPort< yarp::dev::Nav2D::Map2DLocation > m_2DLocationPort
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.
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