diff --git a/tutorials/triggered_publisher.md b/tutorials/triggered_publisher.md index 56768e470b..5d497dda86 100644 --- a/tutorials/triggered_publisher.md +++ b/tutorials/triggered_publisher.md @@ -267,8 +267,11 @@ and publish the start message gz topic -t "/start" -m gz.msgs.Empty -p " " ``` +The vehicle will start moving forward and two boxes will eventually fall to +the ground. + Once both boxes have fallen, we can publish a message to invoke a service call -to reset the robot position as well as set the speed to 0. As shown below, the +to reset the vehicle position as well as set the speed to 0. As shown below, the `` sets the linear x speed to 0, and the `` tag contains metadata to invoke a service call to `/world/triggered_publisher/set_pose`. The `reqMsg` is expressed in the human-readable form of Google Protobuf meesages. @@ -291,26 +294,9 @@ Multiple `` tags can be used as well as with the `` tag. ``` -Once both boxes have fallen, we can publish a message to invoke a service call -to reset the robot position as well as set the speed to 0. As shown below, the -`` sets the linear x speed to 0, and the `` tag contains -metadata to invoke a service call to `/world/triggered_publisher/set_pose`. The -`reqMsg` is expressed in the human-readable form of Google Protobuf meesages. -Multiple `` tags can be used as well as with the `` tag. +Publish an empty message to the `/reset_robot` topic to reset the vehicle +back to its original position. -```xml - - - - linear: {x: 0} - - - - +```bash +gz topic -t "/reset_robot" -m gz.msgs.Empty -p " " ```