Contributing to the ASL Trunk Robot project
Contributions are welcome! Here are some guidelines to follow when contributing to the project.
Getting started
Start by cloning this repository, e.g. using the following command:
where the GitHub CLI is required to use thegh
command.
Project layout
The project is organized as follows:
trunk-stack/
README.md # The project README file.
stack/ # The stack.
camera/ # The ROS2 workspace running the camera.
gripper/ # The ROS2 workspace enabling the gripper operation.
main/ # The main ROS2 workspace, incl. data collection etc.
mocap/ # The ROS2 workspace for interfacing with the motion capture system.
motors/ # The ROS2 workspace for controlling the motors.
docs/ # Documentation directory.
docs/
index.md # The documentation homepage.
contributing.md # This file.
... # Other markdown pages, images and other files.
mkdocs.yml # The website configuration file.
Code Contributions
All the ROS2 packages are located within the stack/
directory.
For simplicity, this is a monorepo, meaning that all the packages are in the same repository.
However, most likely contributions will be made to the main/
package, where e.g. the controller and the main logic are located.
Contributing to Documentation
After cloning this repository, one can make updates to the documentation by editing the files in the docs/
directory.
The documentation is built using MkDocs, a static site generator that's geared towards project documentation.
Specifically, we use the Material for MkDocs theme.
This should be installed using the following command:
pip install pymdown-extensions mkdocs-git-committers-plugin-2 mkdocs-git-revision-date-localized-plugin
main
branch.
In case you want to preview the updates locally, simply use:
in the main directory, and open the preview in the browser as instructed.