sm_pubsub_1
The sm_pubsub_1 package
Links
README
State Machine Diagram
Description
A simple, but complete state machine example. We highly recommend using this example as a starting point for users' state machine projects.Build Instructions
First, source your ros2 installation.
source /opt/ros/humble/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 ~/workspace/humble_ws/install/setup.sh
And then run the launch file… ! refactor state machine name
ros2 launch sm_pubsub_1 sm_pubsub_1.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.