24#define DEFAULT_THREAD_PERIOD 0.02
72 virtual bool close()
override;
73 virtual bool detach()
override;
75 virtual void run()
override;
82 void updateStatusPort(std::string& status);
define control board standard interfaces
This class is the parameters parser for class Navigation2D_nws_yarp.
std::string m_rpcPortName
virtual void run() override
Loop function.
virtual bool detach() override
Detach the object (you must have first called attach).
virtual bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
yarp::dev::Nav2D::INavigation2DControlActions * iNav_ctrl
std::string m_statusPortName
bool initialize_YARP(yarp::os::Searchable &config)
yarp::dev::PolyDriver pNav
virtual bool close() override
Close the DeviceDriver.
yarp::dev::Nav2D::NavigationStatusEnum m_navigation_status
virtual bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
Navigation2D_nws_yarp()
Default module constructor.
virtual bool attach(yarp::dev::PolyDriver *drv) override
Attach to another object.
yarp::dev::Nav2D::INavigation2DVelocityActions * iNav_vel
yarp::dev::Nav2D::INavigation2DTargetActions * iNav_target
yarp::os::Port m_statusPort
std::string m_prev_navigation_status
Interface implemented by all device drivers.
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.