13 #include <visp/vpTime.h> 16 int main(
int argc,
char **argv)
19 std::cout <<
"\nWARNING: this program does no sensing or avoiding of obstacles, \n" 20 "the robot WILL collide with any objects in the way! Make sure the \n" 21 "robot has approximately 3 meters of free space on all sides.\n" 28 vpColVector v(2), v_mes(2);
30 for (
int i=0; i < 100; i++)
32 double t = vpTime::measureTimeMs();
44 catch(vpException e) {
45 std::cout <<
"Catch an exception: " << e << std::endl;
void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)
void setCmdVelTopic(std::string topic_name)
void init()
basic initialization
int main(int argc, char **argv)
Interface for Pioneer mobile robots based on ROS.