Ask Your Question
1

pioneer2dx teleop in Gazebo [closed]

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

ChickenSoup gravatar image

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

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 imageArkapravo ( 2011-09-24 03:30:12 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

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

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 imageChickenSoup ( 2011-09-27 16:53:52 -0600 )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 imageDimitriProsser ( 2011-09-28 02:05:07 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 995 times

Last updated: May 17 '16