This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| robots:pr2_guidelines [2016/10/22 08:55] – [The WEB Interface] lisca | robots:pr2_guidelines [2017/02/22 17:13] (current) – [Rebooting the robot] lisca | ||
|---|---|---|---|
| Line 111: | Line 111: | ||
| ===== Running the robot ===== | ===== Running the robot ===== | ||
| - | To work on the robot, your computer must be either connected to the | + | To work on the robot, your computer must be either connected to the lab network. The robot' |
| - | lab network | + | |
| - | up the vpn can be found [[ias: | + | |
| - | are named pr2a and pr2b. There is also an alias pr2 that links to | + | |
| - | pr2a. You can use | + | |
| < | < | ||
| - | export ROS_MASTER_URI=http:// | + | export ROS_IP=< |
| + | export ROS_MASTER_URI=http:// | ||
| </ | </ | ||
| Line 125: | Line 122: | ||
| < | < | ||
| - | ssh name@pr2 | + | ssh <your-name>@pr2a |
| </ | </ | ||
| Line 132: | Line 129: | ||
| still needs it. __Never__ kill someone else's processes without asking. | still needs it. __Never__ kill someone else's processes without asking. | ||
| If the robot is not claimed, first find the wireless runstop. It | If the robot is not claimed, first find the wireless runstop. It | ||
| - | should be close around the robot. | + | should be close around the robot. |
| - | before you start up the robot with: | + | |
| + | Now claim the robot: | ||
| < | < | ||
| - | sudo robot start | + | robot claim |
| </ | </ | ||
| - | Alternatively, | + | Make sure that the runstop is off before you start up the robot with: |
| < | < | ||
| - | roslaunch / | + | roslaunch /etc/ros/indigo/ |
| </ | </ | ||
| The robot should come up now. To check, set the %%ROS_MASTER_URI%% on | The robot should come up now. To check, set the %%ROS_MASTER_URI%% on | ||
| - | your local machine to %%http://pr2:11311%% and launch the [[http:// | + | your local machine to %%http://pr2a:11311%% and launch the [[http:// |
| with | with | ||
| < | < | ||
| - | rosrun | + | rosrun |
| </ | </ | ||
| Line 157: | Line 155: | ||
| It might be a good idea to first start the core manually before | It might be a good idea to first start the core manually before | ||
| - | running the robot and to run all your commands in a [[http:// | + | running the robot and to run all your commands in a [[http:// |
| - | session. Now release the runstop. The robot might calibrate. Be sure | + | |
| that it will not hit anything while calibrating. | that it will not hit anything while calibrating. | ||
| robot, __always__ make sure that the wireless runstop is in reach. If | robot, __always__ make sure that the wireless runstop is in reach. If | ||
| Line 165: | Line 162: | ||
| is plugged in. **First plug in the power cable into the PR2's inlet, then into the wall outlet**. This is important because the power cable and the pr2 power inlet might get damaged otherwise. When you are done on the robot, move it to its docking | is plugged in. **First plug in the power cable into the PR2's inlet, then into the wall outlet**. This is important because the power cable and the pr2 power inlet might get damaged otherwise. When you are done on the robot, move it to its docking | ||
| station and plug in the network cable and the power cable. Press the red button on the | station and plug in the network cable and the power cable. Press the red button on the | ||
| - | runstop. If you started up the robot yourself (not with %%sudo robot start%% but with roslaunch, ctrl-c it. If you started it with %%sudo robot start%%, it is not necessary to stop it when you are don. Now release the robot with: | + | runstop. Now release the robot with: |
| < | < | ||
| - | sudo robot release | + | robot release |
| </ | </ | ||
| Line 178: | Line 175: | ||
| is. No objects may be placed on top of the PR2. Be wary of small | is. No objects may be placed on top of the PR2. Be wary of small | ||
| objects (e.g. screws). If you suspect anything has fallen in the PR2, | objects (e.g. screws). If you suspect anything has fallen in the PR2, | ||
| - | cut the power with the breakers and contact | + | cut the power with the breakers and contact |
| ===== Running Kinect2 from PR2 ===== | ===== Running Kinect2 from PR2 ===== | ||
| Line 198: | Line 195: | ||
| * Check if the robot is claimed. Do not kill other people' | * Check if the robot is claimed. Do not kill other people' | ||
| * Make sure the runstop is off | * Make sure the runstop is off | ||
| - | * Claim and start up the robot with `sudo robot start` | + | * Claim and start up the robot with < |
| * Run the dashboard on your local machine | * Run the dashboard on your local machine | ||
| * Release the runstop. The robot might calibrate. Make sure that it doesn' | * Release the runstop. The robot might calibrate. Make sure that it doesn' | ||
| + | * Work with the robot. | ||
| * Always have the runstop in reach. | * Always have the runstop in reach. | ||
| + | * When you are done working with the robot press the " | ||
| + | * Release the robot < | ||
| + | | ||
| ==== Leaving the robot for a short time ==== | ==== Leaving the robot for a short time ==== | ||
| Line 212: | Line 212: | ||
| * Move the robot to its docking station | * Move the robot to its docking station | ||
| * Plug in the robot (Ethernet and power). **First plug in the power cable into the PR2's inlet, then plug in the power cable into the wall outlet** | * Plug in the robot (Ethernet and power). **First plug in the power cable into the PR2's inlet, then plug in the power cable into the wall outlet** | ||
| - | * Release the robot with `sudo robot stop` | ||
| * Press the red button on the runstop | * Press the red button on the runstop | ||
| + | * Release the robot with `robot release` | ||
| * Plug the PS3 controller into the USB hub nearby the robot | * Plug the PS3 controller into the USB hub nearby the robot | ||
| + | |||
| + | ==== Rebooting the robot ==== | ||
| + | |||
| + | * on pr2b enter the command < | ||
| + | |||
| + | * on pr2a enter the command < | ||
| + | |||
| + | * flip off the power switch (on the back side of robot' | ||
| + | |||
| + | * flip on the power switch (on the back side of robot' | ||
| + | |||
| + | * pr2a should boot automatically (no help needed) | ||
| + | |||
| + | * in case help is needed then in your favourite browser, open pr2a's remote BIOS screen http:// | ||
| + | |||
| + | * pr2b needs manual trigger for the the booting process | ||
| + | |||
| + | * in your favourite browser, open pr2b's remote BIOS screen http:// | ||
| + | |||
| + | * ask [[mailto: | ||
| + | |||
| + | * hit enter in order to trigger the pr2b's booting process (just follow the instructions on the screen) | ||
| + | |||
| + | * next step: the calibration routine (trigger at the first run of roslaunch / | ||