-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
unknown
authored and
unknown
committed
Feb 6, 2012
1 parent
1ac04ec
commit ec3391e
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
This package has only been tested with diamondback, so make sure both brett1 and your pr2base are using diamondback. | ||
|
||
After downloading and installing these files, make sure to run sync_sandbox so that the same files are available on brett1 as well. | ||
|
||
To control both arms, you will need one omni connected to pr2base and the other connected to heli2. Make sure all the code is also downloaded on heli2. | ||
|
||
Connect one omni to pr2base and the other to heli2. On heli2, make sure the machine recognizes the omni: | ||
|
||
roscd phantom_omni | ||
./install_open_haptics.sh | ||
|
||
You should see a window pop up with the omni recognized as a device. Press OK. Do this on pr2base and heli2. | ||
|
||
After both machines have recognized the omnis, make sure that both omni pens are stored in their potential wells, and that the PR2 has been started and in good condition. Then run: | ||
|
||
roslaunch phantom_omni omni2.launch | ||
|
||
on both machines. | ||
|
||
After that is done, run | ||
|
||
roslaunch pr2_omni_teleop stereo_omni_pr2.launch | ||
|
||
on pr2base. Take the omni pens out of their potential wells, and let them guide you to the current positions of the PR2 arms. Each arm can be activated independently by pressing both buttons (light grey and dark grey) on the pen that correspond to the arm you want to control. To deactivate control for an arm, press both buttons again. To close and open grippers, press the dark and light grey buttons, respectively. | ||
|
||
To enable head tracking for the pr2, run | ||
|
||
rosrun pr2_omni_teleop track_gripper.py | ||
|
||
The PR2 should then track the midpoint of the two grippers. |