Skip to content

Commit

Permalink
add uml
Browse files Browse the repository at this point in the history
  • Loading branch information
sjev committed May 9, 2024
1 parent 6830d8d commit ab16fb8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@ ROXBOT takes familiar ideas from ROS2 and makes them easier to use and more Pyth
- **Subsystems**: This term refers to a group of Nodes that work together to perform a broader function like motion control or data logging. These subsystems can be packaged into Docker containers for easy deployment and scaling.

- **System**: This is the complete set of subsystems working together as a whole, forming a fully functional robotic system. We manage these as a Docker stack to ensure they are robust and scalable.


## Classes overview

run `invoke uml` to update.

![](docs/uml/classes.png)
Binary file added docs/uml/classes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/uml/packages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,12 @@ def ci(ctx):
except: # noqa
print("Could not run docker build, just rinning ci script...")
ctx.run("./ci_script.sh")


@task
def uml(ctx):
"""
Generate UML diagrams from the source code using pyreverse.
"""
ctx.run("mkdir -p docs/uml")
ctx.run("pyreverse src/roxbot -o png -d docs/uml")

0 comments on commit ab16fb8

Please sign in to comment.