@@ -17,27 +17,27 @@ colcon build
17
17
18
18
# Instructions, all in separate terminals
19
19
20
- Start simulator :
20
+ Start nao_lola_client on the robot :
21
21
```
22
- rcsoccersim3d
22
+ ros2 run nao_lola_client nao_lola_client
23
23
```
24
24
25
- Launch NAO in simulator:
25
+ Stiffen all joints on the robot
26
26
```
27
- ros2 run rcss3d_nao rcss3d_nao
27
+ ros2 topic pub --once /effectors/joint_stiffnesses nao_lola_command_msgs/msg/JointStiffnesses "{indexes: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], stiffnesses: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]}"
28
28
```
29
29
30
- Start inverse kinematics of robot:
30
+ Start inverse kinematics on the robot:
31
31
```
32
32
ros2 run nao_ik nao_ik
33
33
```
34
34
35
- Start the phase provider:
35
+ Start the phase provider on the robot :
36
36
```
37
37
ros2 run nao_phase_provider nao_phase_provider --ros-args -r fsr:=/sensors/fsr
38
38
```
39
39
40
- Make robot crouch with:
40
+ Make robot crouch with (on your computer) :
41
41
```
42
42
ros2 topic pub --once /motion/sole_poses biped_interfaces/msg/SolePoses "
43
43
l_sole:
@@ -51,17 +51,17 @@ r_sole:
51
51
"
52
52
```
53
53
54
- Start the walk node:
54
+ Start the walk node on the robot :
55
55
```
56
56
ros2 run walk walk
57
57
```
58
58
59
- Start teleop to control the robot :
59
+ Start teleop on your computer :
60
60
```
61
61
ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args --remap cmd_vel:=target
62
62
```
63
63
64
- Start debugging with rqt using an layout for debugging the walk:
64
+ Start debugging with rqt (on your computer) using an layout for debugging the walk:
65
65
```
66
66
rqt --perspective-file $(ros2 pkg prefix --share walk)/perspective/walk/walk.perspective
67
67
```
@@ -72,3 +72,8 @@ To abort the walk immediately:
72
72
```
73
73
ros2 service call /abort std_srvs/srv/Empty
74
74
```
75
+
76
+ To limp the robot:
77
+ ```
78
+ ros2 topic pub --once /effectors/joint_stiffnesses nao_lola_command_msgs/msg/JointStiffnesses "{indexes: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], stiffnesses: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]}"
79
+ ```
0 commit comments