3 #include <visp/vpRobotPioneer.h>
7 #ifdef VISP_HAVE_PIONEER
8 ArArgumentBuilder args;
11 args.add(
"/dev/ttyUSB0");
16 ArSimpleConnector conn(&args);
20 if (!conn.connectRobot(&robot))
33 std::cout <<
"Measured vel: " << v_mes.
t() << std::endl;
37 robot.waitForRunExit();
void useSonar(bool usage)
void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)
Interface for Pioneer mobile robots based on Aria 3rd party library.
static int wait(double t0, double t)
vpRowVector t() const
transpose of Vector
Class that provides a data structure for the column vectors as well as a set of operations on these v...
void getVelocity(const vpRobot::vpControlFrameType frame, vpColVector &velocity)