|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPER_H
10 #define YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPER_H
67 #pragma warning(disable:4355)
206 std::string rootName;
224 std::vector<std::string> jointNames;
225 std::string rosNodeName;
226 std::string rosTopicName;
236 static constexpr
double default_period = 0.02;
237 double period {default_period};
240 bool updateAxisName();
242 bool initialize_ROS();
244 void cleanup_yarpPorts();
257 void calculateMaxNumOfJointsInDevices();
278 bool close()
override;
303 #endif // YARP_DEV_CONTROLBOARDWRAPPER_CONTROLBOARDWRAPPER_H
ControlBoardWrapper & operator=(ControlBoardWrapper &&)=delete
A simple collection of objects that can be described and transmitted in a portable way.
ControlBoardWrapper & operator=(const ControlBoardWrapper &)=delete
A base class for nested structures that can be searched.
contains the definition of a Vector type
Interface implemented by all device drivers.
bool close() override
Close the device driver by deallocating all resources and closing ports.
void run() override
The thread main loop deals with writing on ports here.
A mini-server for network communication.
controlboardwrapper2: An updated version of the controlBoard network wrapper.
ControlBoardWrapper(const ControlBoardWrapper &)=delete
std::uint32_t NetUint32
Definition of the NetUint32 type.
A container for a device driver.
Callback implementation after buffered input.
~ControlBoardWrapper() override
An abstraction for a periodic thread.
bool detachAll() override
Detach the object (you must have first called attach).
bool attachAll(const yarp::dev::PolyDriverList &l) override
Attach to a list of objects.
Helper object for parsing RPC port messages.
ControlBoardWrapper(ControlBoardWrapper &&)=delete
Interface for an object that can wrap/attach to to another.
bool open(yarp::os::Searchable &prop) override
Open the device driver.
A class for storing options and configuration information.