Instantiates controlboardwrapper2 device implemented by ControlBoardWrapper. More...
Instantiates controlboardwrapper2 device implemented by ControlBoardWrapper.
device controlboardwrapper2 subdevice fakeMotor name /mymotor axes 16
If this text is saved in a file called controlboardwrapper2_basic.ini then the device can be created by doing:
yarpdev --file controlboardwrapper2_basic.ini
Of course, the configuration could be passed just as command line options, or as a yarp::os::Property object in a program:
Here is a list of properties checked when starting up a device based on this configuration file. Note that which properties are checked can depend on whether other properties are present. In some cases properties can also vary between operating systems. So this is just an example
PROPERTY | DESCRIPTION | DEFAULT |
device | ||
rootName | starting '/' if needed. | / |
name | prefix for port names | controlboard |
subdevice | ||
fakeMotor.device | ||
fakeMotor.wrapped | ||
fakeMotor.axes | number of axes to pretend to have | 4 |
fakeMotor.delay | delay in each call for debugging purpose, in ms | 0 |
ROS |