Open
Conversation
* src/node_fsm.cpp: Add src/node_fsm.cpp. * include/rise_motion/node_fsm.hpp: Add include/rise_motion/node_fsm.hpp.
* CMakeLists.txt:
- Add dependencies: rclcpp, rise_motion_messages.
- Add include dirs: include.
- Add executable: rise_motion_main.
- Link with rise_motion_messages.
* package.xml:
- Add dependencies: rclcpp, rise_motion_messages.
* src/rise_motion_main.cpp: Add minimal example.
- Moves through the states of the state machine and publishes
state update via StateCurrentMsg on rise_motion_state_changes.
Moves logging from the client code into the StateMachine class.
paulwetzel
requested changes
Dec 4, 2025
Member
paulwetzel
left a comment
There was a problem hiding this comment.
This state machine looks good and fulfills the requirements that are laid out in the Issue #24
However, i think we should not merge this request yet, but wait for the actual ROS2 node to be set up, before integrating this.
The state machine is a central component of the node, and should be integrated in a way that it is efficient to use in a "ROS2-kind-of-way".
SO my proposal:
- We will keep this PR open, and keep the code in the back of our heads.
- As soon as the node is set up, we will revisit this PR and integrate the code back into the node after rebasing this branch here on the then-master.
|
This pull request did not get any activity for the last 30 days. Please revisit if it can be merged, or if there are any changes that have to be made! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creates a state machine according to #24 and implements a minimal example using the state machine.