Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged sm_nav2_gazebo_test_4 at Robotics Stack Exchange
Package Summary
| Version | 3.1.0 |
| License | Apache-2.0 |
| Build type | AMENT_CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/robosoft-ai/SMACC2.git |
| VCS Type | git |
| VCS Version | jazzy |
| Last Updated | 2026-11-16 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Brett Aldrich
Authors
sm_nav2_gazebo_test_4
SMACC2 state machine that runs the cl_nav2z client behaviors the other Nav2 reference machines
(sm_nav2_gazebo_test_1, _2, _3) do not use, one behavior per state, in the Nav2 TurtleBot3
Gazebo simulation. It exists so that these behaviors are executed, not only compiled.
The arena world, its map and the Nav2 parameters are those of sm_nav2_gazebo_test_2, which must be
built as well.
Mission
| State | Behavior under test | What happens |
|---|---|---|
StSetInitialPose |
CbWaitPose |
publishes the AMCL initial pose, waits for a map pose |
StAcquireSensors |
CbWaitNav2Nodes |
waits for the Nav2 nodes |
StWaitTransform |
CbWaitTransform |
waits for the map to base_link transform |
StLoadWaypoints |
CbLoadWaypointsFile |
loads config/waypoints.yaml through the waypoints_file parameter |
StNavigateWaypoints |
CbNavigateNextWaypoint, EvWaypointN
|
waypoints alpha, bravo, charlie, one per entry |
StRotateAtWaypoint |
CbRotate |
90 degrees in place after alpha and bravo |
StNavigateNamedWaypoint |
CbNavigateNamedWaypoint |
to echo, skipping delta |
StSeekWaypoint |
CbSeekWaypoint |
moves the waypoint index back to bravo |
StNavigateUntilReached |
CbNavigateNextWaypointUntilReached |
bravo, charlie, delta |
StForwardCutShort |
CbNavigateForward |
2 m forward, cut short by a 3 s timer |
StAbortNavigation |
CbAbortNavigation |
cancels the goal in flight, then waits 2 s for Nav2 to finish cancelling |
StRetryForward |
CbRetry<CbNavigateForward> |
completes the forward motion that was cut short |
StNavigateBackwards |
CbNavigateBackwards, CbTrackPathOdometry
|
1 m in reverse |
StRotateLookAt |
CbRotateLookAt, CbTrackPathSLAM
|
turns to face a point |
StPositionControl |
CbPositionControlFreeSpace |
drives /cmd_vel directly to a pose 1 m ahead |
StNextWaypointFree |
CbNavigateNextWaypointFree |
the same direct control, to the current waypoint |
StStopNavigation |
CbStopNavigation |
sends the current pose as the goal |
StActiveStop |
CbActiveStop |
publishes zero velocity for 3 s |
StFinalState |
every behavior succeeded | |
StMissionFailed |
reached from any behavior failure or safety timer |
The n key skips to the next state. Not covered here: the SLAM behaviors (CbPauseSlam,
CbResumeSlam, CbSaveSlamMap), which need slam_toolbox instead of AMCL, CbSpiralMotion, and
CbDockRobot and CbUndockRobot, which need a dock.
Build
source /opt/ros/jazzy/setup.bash
rosdep install --ignore-src --from-paths src -y -r
colcon build --packages-up-to sm_nav2_gazebo_test_4
source install/setup.bash
Run
ros2 launch sm_nav2_gazebo_test_4 sm_nav2_gazebo_test_4.py
Headless, with the machine’s exit status and a report (see
smacc2_performance_tools/nav2_test_tools/README.md):
bash src/SMACC2/smacc2_performance_tools/nav2_test_tools/nav2_run.sh install /tmp/nav2_4 4
Package Dependencies
System Dependencies
| Name |
|---|
| xterm |