13 #include <visp/vpTime.h> 17 main(
int argc,
char **argv )
21 std::cout <<
"\nWARNING: this program does no sensing or avoiding of obstacles, \n" 22 "the robot WILL collide with any objects in the way! Make sure the \n" 23 "robot has approximately 3 meters of free space on all sides.\n" 30 vpColVector v( 2 ), v_mes( 2 );
32 for (
int i = 0; i < 100; i++ )
34 double t = vpTime::measureTimeMs();
41 vpTime::wait( t, 40 );
46 catch ( vpException e )
48 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.