Where to write code for pr2 robot simulator?
So at this link: http://wiki.ros.org/robot_script , commands for making the pr2 robot simulator perform certain actions are given. Where would I write this code and how would I run it so that the pr2 robot on the gazebo simulator performed these tasks?
Detailed instructions would be appreciated :)