Skip to content

Publish Foreman status over ROS topic - #21

Merged
destogl merged 4 commits into
ros-controls:masterfrom
b-robotized-forks:feat/status-topic
Aug 16, 2026
Merged

Publish Foreman status over ROS topic#21
destogl merged 4 commits into
ros-controls:masterfrom
b-robotized-forks:feat/status-topic

Conversation

@VitezGabriela

Copy link
Copy Markdown
Contributor

Summary

  • Add ForemanStatus and ForemanErrorState ROS 2 messages.
  • Add RosStatusPublisher to publish Foreman's latest engine snapshot on /foreman/status.
  • Add unit tests

Behavior Change

Foreman now publishes a status topic at:

/foreman/status

The topic contains:

string goal
bool ready
bool at_goal
ForemanErrorState error

Testing

colcon build --packages-up-to foreman
colcon test --packages-up-to foreman
colcon test-result --verbose

Result: 42 tests, 0 errors, 0 failures, 0 skipped

Comment thread foreman/foreman/adapters/ros_status_publisher.py Outdated
Comment thread foreman/foreman/adapters/ros_status_publisher.py Outdated
Comment thread foreman/foreman/adapters/ros_status_publisher.py Outdated
Comment thread foreman/foreman/adapters/ros_status_publisher.py Outdated
Comment thread foreman/foreman/adapters/ros_status_publisher.py Outdated
Comment thread foreman/foreman/adapters/ros_status_publisher.py Outdated
@destogl
destogl merged commit a31be1b into ros-controls:master Aug 16, 2026
5 checks passed
@destogl
destogl deleted the feat/status-topic branch August 16, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants