yarp-devices
Loading...
Searching...
No Matches
ExampleRemoteControlBoard.hpp
1// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2
3#ifndef __roboticslab_SIM_EXAMPLE_HPP__
4#define __roboticslab_SIM_EXAMPLE_HPP__
5
6#include <yarp/os/Network.h>
7
8#include <yarp/dev/PolyDriver.h>
9#include <yarp/dev/ControlBoardInterfaces.h>
10
11namespace roboticslab
12{
13
15{
16public:
17 int run(int argc, char **argv);
18
19private:
20 yarp::os::Network yarp;
21 yarp::dev::PolyDriver dd;
22 yarp::dev::IPositionControl * pos;
23 yarp::dev::IEncoders * enc;
24 yarp::dev::IVelocityControl * vel;
25};
26
27} // namespace roboticslab
28
29#endif // __roboticslab_SIM_EXAMPLE_HPP__
Definition ExampleRemoteControlBoard.hpp:15
The main, catch-all namespace for Robotics Lab UC3M.
Definition groups.dox:6