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

pioneer2dx teleop in Gazebo [closed]

asked 2011-09-19 21:41:23 -0500

ChickenSoup gravatar image

updated 2016-05-17 02:47:18 -0500

Dear all,

http://robotics.usc.edu/ros/category/... says that a working drivable urdf model of the Pioneer2dx for gazebo/rviz is released.

How can I teleoperate a pioneer robot in a Gazebo simulation? I could visualize the pioneer robot both in gazebo and in rviz using,

roslaunch p2os_urdf pioneer3dx_urdf.launch

roslaunch p2os_urdf pioneer3dx.gazebo.launch

What should I do next?

By the way, after launching from above launch files, after few minutes, the robot automatically starts moving. Why is that?

Thank you in advance

CS

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Martin Günther
close date 2016-05-17 03:25:28.870437

Comments

1
@Peshala : After those 2 commands, my robot did not move at all ! ......
Arkapravo gravatar image Arkapravo  ( 2011-09-24 03:30:12 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2011-09-20 01:59:16 -0500

DimitriProsser gravatar image

You could try the pr2_teleop package, or the erratic_teleop package. Both of these allow you to issue cmd_vel messages via the keyboard. The erratic_teleop node provides linear x and angular z commands, which are all that you need for the Pioneer.

edit flag offensive delete link more

Comments

Thank you for your reply. However, as I mentioned, the robot starts moving automatically and it cant be controlled from key board.
ChickenSoup gravatar image ChickenSoup  ( 2011-09-27 16:53:52 -0500 )edit
Unfortunately, I could not recreate that error for you. Try using "rostopic echo /cmd_vel" and see if anything appears. Maybe you could also use rxgraph to check if anything is publishing to the wrong topics.
DimitriProsser gravatar image DimitriProsser  ( 2011-09-28 02:05:07 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2011-09-19 21:41:23 -0500

Seen: 1,173 times

Last updated: May 17 '16