Skip to content

Commit

Permalink
Add note about elevator example (#2227)
Browse files Browse the repository at this point in the history
Closes #2153

Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll authored Nov 3, 2023
1 parent b8d1679 commit 45233fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/worlds/elevator.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
gz topic -e -t /model/elevator/state
Note that when commanding the lift to the ground floor:
gz topic -t "/model/elevator/cmd" -m gz.msgs.Int32 -p "data: 0"
The output of the topic echo command will stop as protobuf does not
distinguish between the un-set value and zero for integer fields.
-->
<sdf version="1.6">
<world name="elevator_world">
Expand Down

0 comments on commit 45233fc

Please sign in to comment.