Skip to content

Commit 62cd274

Browse files
authored
fixed example cli interface commands (#662)
1 parent 806d209 commit 62cd274

1 file changed

Lines changed: 23 additions & 16 deletions

File tree

mission/waypoint_manager/README.md

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,37 @@ beware of namespace!
5555
## Example Action Goal (CLI)
5656

5757
```bash
58-
ros2 action send_goal /orca/waypoint_manager vortex_msgs/action/WaypointManager \
59-
'{
60-
waypoints:[
58+
ros2 action send_goal /orca/waypoint_manager vortex_msgs/action/WaypointManager "{
59+
waypoints: [
6160
{
62-
pose:{position:{x:5.0,y:0.0,z:0.0},
63-
orientation:{x:0,y:0,z:0,w:1}},
64-
mode:1
61+
pose: {
62+
position: {x: 5.0, y: 0.0, z: 0.0},
63+
orientation: {x: 0.0, y: 0.0, z: 0.0, w: 1.0}
64+
},
65+
mode: 1
6566
}
6667
],
67-
convergence_threshold:0.1,
68-
persistent:false
69-
}'
68+
convergence_threshold: 0.1,
69+
persistent: false
70+
}" --feedback
71+
7072
```
7173

7274

7375
## Example Waypoint Addition Service Call
7476

7577
```bash
76-
ros2 service call /orca/waypoint_addition vortex_msgs/srv/WaypointAddition \
77-
'{
78-
waypoints:[
79-
{pose:{position:{x:2,y:3,z:0},orientation:{x:0,y:0,z:0,w:1}},mode:1}
78+
ros2 service call /orca/waypoint_addition vortex_msgs/srv/SendWaypoints "{
79+
waypoints: [
80+
{
81+
pose: {
82+
position: {x: 2.0, y: 3.0, z: 0.0},
83+
orientation: {x: 0.0, y: 0.0, z: 0.0, w: 1.0}
84+
},
85+
mode: 1
86+
}
8087
],
81-
overwrite:false,
82-
priority:true
83-
}'
88+
overwrite: false,
89+
priority: false
90+
}"
8491
```

0 commit comments

Comments
 (0)