Skip to content

Latest commit

 

History

History
 
 

sm_three_some

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

State Machine Diagram

sm_three_some

Description

A simple, but complete state machine example. We highly recommend using this example as a starting point for users' state machine projects.

Doxygen Namespace & Class Reference

Build Instructions

First, source your chosen ros2 distro.

source /opt/ros/rolling/setup.bash
source /opt/ros/galactic/setup.bash

Before you build, make sure you've installed all the dependencies...

rosdep install --ignore-src --from-paths src -y -r

Then build with colcon build...

colcon build

Operating Instructions

After you build, remember to source the proper install folder...
source ~/colcon_ws/install/setup.bash

And then run the launch file... ! refactor state machine name

ros2 launch sm_three_some sm_three_some.launch

Viewer Instructions

If you have the SMACC2 Runtime Analyzer installed then type...
ros2 run smacc2_rta smacc2_rta

If you don't have the SMACC2 Runtime Analyzer click here.