Skip to content

Commit cb82449

Browse files
committed
Add note about elevator example
Closes #2153 Signed-off-by: Michael Carroll <[email protected]>
1 parent b8d1679 commit cb82449

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/worlds/elevator.sdf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
1111
gz topic -e -t /model/elevator/state
1212
13+
Note that when commanding the lift to the ground floor:
14+
15+
gz topic -t "/model/elevator/cmd" -m gz.msgs.Int32 -p "data: 0"
16+
17+
The output of the topic echo command will stop as protobuf does not
18+
distinguish between the un-set value and zero for integer fields.
1319
-->
1420
<sdf version="1.6">
1521
<world name="elevator_world">

0 commit comments

Comments
 (0)