Robotics StackExchange | Archived questions

Where is the command interface for the pr2 robot simulator?

Where is the command interface for the pr2 robot simulator?

The tutorials don't seem to help.

Help would be appreciated. Thanks :)

Asked by meep on 2016-03-03 00:28:16 UTC

Comments

What version are you using currently? And when you mean command interface, what do you mean? Do you just want to drive it around? If so, the pr2_teleop_general or pr2_teleop package is what you want.

Asked by alee on 2016-03-03 10:33:40 UTC

I have ubuntu 13.04 and ros hydro. I mean how do you run code on the pr2 in the simulation? This link gave me a list of commands you can run for example pr2.openGripper(side) will open one of the grippers. I was wondering where you type these commands in.

Asked by meep on 2016-03-05 12:02:39 UTC

You need to write a script using the api and run the script after launching the simulation

Asked by alee on 2016-03-05 22:31:58 UTC

According to this post: http://answers.ros.org/question/227969/where-to-write-code-for-pr2-robot-simulator/

robot_script is deprecated. You should follow the steps that @ahendrix outlined

Asked by alee on 2016-03-07 12:11:01 UTC

Answers