22#define DEFAULT_THREAD_PERIOD 0.02
73 virtual bool close()
override;
74 virtual bool detach()
override;
76 virtual void run()
override;
define control board standard interfaces
yarp::dev::Nav2D::INavigation2DControlActions * iNav_ctrl
virtual void run() override
Loop function.
virtual bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
yarp::dev::Nav2D::NavigationStatusEnum m_navigation_status
virtual bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool detach() override
Detach the object (you must have first called attach).
virtual bool attach(yarp::dev::PolyDriver *drv) override
Attach to another object.
navigation2D_nws_yarp()
Default module constructor.
yarp::dev::Nav2D::INavigation2DTargetActions * iNav_target
virtual bool close() override
Close the DeviceDriver.
std::string m_rpcPortName
yarp::dev::Nav2D::INavigation2DVelocityActions * iNav_vel
bool initialize_YARP(yarp::os::Searchable &config)
yarp::dev::PolyDriver pNav
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.