Skip to content

adding uml class diagram of example_1#914

Open
peakyquest wants to merge 7 commits intoros-controls:masterfrom
peakyquest:uml_diagram_example_1
Open

adding uml class diagram of example_1#914
peakyquest wants to merge 7 commits intoros-controls:masterfrom
peakyquest:uml_diagram_example_1

Conversation

@peakyquest
Copy link
Copy Markdown

@peakyquest peakyquest commented Sep 24, 2025

I put together the UML class diagram and tried to keep it simple. I also added a notes section that connects it with example_1, so users can better follow what each block represents. I also made the flow diagram in draw.io and added the .svg file in the doc folder. Additionally, I’m including the .png format below for easier viewing.

class

After review and finalization, I plan to work on documentation that explains each process in detail. Please let me know whether these files should be kept inside the doc folder or placed within the example_1 directory.

@peakyquest
Copy link
Copy Markdown
Author

I have added a README file to the example_1 directory.
Please review the changes and advise if any modifications are required either in the UML diagram or in the README content.

@christophfroehlich
Copy link
Copy Markdown
Member

I have added a README file to the example_1 directory. Please review the changes and advise if any modifications are required either in the UML diagram or in the README content.

Please don't, we use the doc/index.rst to be published on control.ros.org
And please remove all the LLM icon decorations in the text.

@peakyquest
Copy link
Copy Markdown
Author

peakyquest commented Sep 29, 2025

Do you want me to delete the README file from the doc folder and move its content into doc/index.rst? I’ll also remove the references to LLM icons from the text.

@peakyquest
Copy link
Copy Markdown
Author

About the UML diagram, do I need to make changes on that as well?

@christophfroehlich
Copy link
Copy Markdown
Member

christophfroehlich commented Sep 29, 2025

Do you want me to delete the README file from the doc folder and move its content into doc/index.rst? I’ll also remove the references to LLM icons from the text.

just leave the README as it is, it it just a summary and points to the rst file.

@peakyquest
Copy link
Copy Markdown
Author

peakyquest commented Sep 30, 2025

I’ve removed the icons and pointed the summary in the userdocs.rst. I hope this is what you were asking for, I apologizes as I am still learning

Copy link
Copy Markdown
Member

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea was to include the text (formatted as RSt) in userdoc.rst, to have it automatically published https://control.ros.org/rolling/doc/ros2_control_demos/example_1/doc/userdoc.html
The syntax is a bit different, you can iterate with the github UI preview or install sphinx and build it locally, see https://github.com/ros-controls/control.ros.org/?tab=readme-ov-file#build-instructions

@peakyquest
Copy link
Copy Markdown
Author

Thanks for the clarification! I’ve now included the README content, properly formatted in reStructuredText, into the userdoc.rst file so it will be automatically published on the documentation site.

@peakyquest
Copy link
Copy Markdown
Author

All requested modifications have been incorporated into the pull request. Looking forward to your feedback.

@github-actions
Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.

@github-actions github-actions bot added the stale label Feb 23, 2026
@github-actions github-actions bot removed the stale label Mar 13, 2026
@destogl destogl force-pushed the uml_diagram_example_1 branch from 0f23eed to 804b6fb Compare March 28, 2026 15:44
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here few comments:

  • on the right side instead os "system" left from the arrow, I would write "hardware component". It might actually be even better to have a rectangle added arround System and SystemInterface. I am also mssing concreate implemenation of the HWComponent in this diagram.
  • We should also add relation between HardwareInfo and URDF, as this is filled from URDF.
  • we should remove the "position_controller::..." as this is just confusing and we will probably remove those at some point.

From the UML:

- ``hardware_interface::SystemInterface`` → implemented by the RRBot hardware plugin
- ``hardware_interface::ResourceManager`` → manages your hardware plugin after loading it
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ``hardware_interface::ResourceManager`` → manages your hardware plugin after loading it
- ``hardware_interface::ResourceManager`` → loads and manages the hardware plugins

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.

Add class diagram for the first example in the README

3 participants