Where is the command interface for the pr2 robot simulator?

asked 2016-03-02 23:28:16 -0600

meep gravatar image

Where is the command interface for the pr2 robot simulator?

The tutorials don't seem to help.

Help would be appreciated. Thanks :)

edit retag flag offensive close merge delete

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.

alee gravatar imagealee ( 2016-03-03 09:33:40 -0600 )edit

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.

meep gravatar imagemeep ( 2016-03-05 11:02:39 -0600 )edit

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

alee gravatar imagealee ( 2016-03-05 21:31:58 -0600 )edit

According to this post: http://answers.ros.org/question/22796...

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

alee gravatar imagealee ( 2016-03-07 11:11:01 -0600 )edit