ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

care-o-bot spins in place with move command

asked 2011-10-05 13:09:47 -0500

Paul0nc gravatar image

updated 2014-01-28 17:10:30 -0500

ngrennan gravatar image

Does anyone know why the care-o-bot will sit in place and rotate about the z axis with some move commands. For example:

self.sss.move("base","order");

From a startup state, the above command in a python script will cause the bot to spin in place. I'm running ubuntu 10.4 with electric.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-10-05 17:35:58 -0500

What kind of navigation are you using? I assume you are using "roslaunch cob_2dnav 2dnav.launch", which is the ROS navigation. Sounds like the robot in not properly localized. Please check the localization in rviz.

edit flag offensive delete link more

Comments

Thanks fmw. Pardon the newbie question... but is it required that I run care-o-bot in rviz? In working through the tutorials, I was under the impression that I could apply navigation goals (by python script) in gazebo. What exactly does rviz add that I cannot do in gazebo? I'd appreciate any comments you have - I'm new at this.
Paul0nc gravatar image Paul0nc  ( 2011-10-06 01:02:28 -0500 )edit
Oh - and yes, I'm using "roslaunch cob2dnav 2dnav.launch"
Paul0nc gravatar image Paul0nc  ( 2011-10-06 01:03:18 -0500 )edit
0

answered 2011-10-06 19:32:15 -0500

Gazebo is a simulator (generates data) and rviz is a visualization (consumes/visualizes data).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-10-05 13:09:47 -0500

Seen: 608 times

Last updated: Oct 06 '11