-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.xml
74 lines (58 loc) · 2.72 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<package format="2">
<name>baxter_tictactoe</name>
<version>0.8.0</version>
<description>
# How to run this demo : a step by step tutorial
## Initialization
Obvious stuff:
* make sure the Baxter is on
* make sure the computer is on
* make sure the Baxter and the computer are connected together
* make sure the computer has some working speakers
* make sure the board and tokens are placed on a table in front of Baxter
## Calibration
In order to calibrate the hard coded positions for the pile of objects and the board, just record the end-effector position of the left arm when positioned either on the pile of tiles, or the four corners of the board. To to so, the following command may be useful:
```
rostopic echo -n 1 /robot/limb/right/endpoint_state | grep -A 3 position
```
Then, use this information to populate the corresponding parameters in `tictactoe.launch` : `"ttt_controller/tile_pile_position` and `ttt_controller/board_corner_poss`.
## Run the demo
* Make sure the board is empty
* Open a new terminal
* `cd` to `~/ros_ws`
* `source devel/setup.bash`
* `./baxter.sh` (this has to be done with any terminal that will interface with the Baxter)
* `rosrun baxter_tools tuck_arms.py -u`
* `roslaunch baxter_tictactoe tictactoe.launch`
* Exit program
## Shut down the robot
* Open a terminal:
* `cd` to `~/ros_ws`
* `source devel/setup.bash`
* `./baxter.sh` (this has to be done with any terminal that will interface with the Baxter)
* `rosrun baxter_tools tuck_arms.py -t`
</description>
<author>Álvaro Castro González [[email protected]]</author>
<maintainer email="[email protected]">Alessandro Roncone</maintainer>
<maintainer email="[email protected]">Olivier Mangin</maintainer>
<maintainer email="[email protected]">John Amadeo Daniswara</maintainer>
<license>GNU GPL v2</license>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>roscpp</build_depend>
<build_depend>message_generation</build_depend>
<depend>human_robot_collaboration_lib</depend>
<depend>human_robot_collaboration_msgs</depend>
<depend>std_msgs</depend>
<depend>rosconsole</depend>
<depend>baxter_core_msgs</depend>
<depend>sound_play</depend>
<depend>sensor_msgs</depend>
<depend>cv_bridge</depend>
<depend>image_transport</depend>
<depend>libqt4-dev</depend>
<exec_depend>usb_cam</exec_depend>
<exec_depend>message_runtime</exec_depend>
<!-- <export>
<cpp cflags="-I${prefix}/src -I${prefix}/msg_gen/cpp/include" lflags="-L${prefix}/lib -Wl,-rpath,${prefix}/lib"/>
</export> -->
</package>