Contributing
Getting Started
To get started with project development, you should have overall sense of ROS. If you are not familiar with ROS, you can start with ROS2 tutorials.
Setting Up the Development Environment
Fork the Repository: Fork the main project repository to your own GitHub account.
bash# Navigate to the project's GitHub page and click the 'Fork' button
# Navigate to the project's GitHub page and click the 'Fork' button
Clone the Repository:
bashgit clone https://github.com/your_username/OpenMowerROS2.git
git clone https://github.com/your_username/OpenMowerROS2.git
Set Up ROS2: Ensure you have ROS2 installed and configured on your system.
a. Devcontainer: follow devcontainer guide to setup ROS2 development environment using Devcontainer.
INFO
This section is not complete yet. It will be updated as the project progresses. There is no instruction how to setup ROS2 workspace standalone yet. For a reference, Dockerfile can be used.
Making Changes
Create a New Branch:
bashgit checkout -b feature/new_feature
git checkout -b feature/new_feature
Code: Implement your changes, adhering to the project's coding style guidelines.
Test: Validate your changes locally.
- Unit Tests
- Integration Tests
Commit:
bashgit commit -m "Implement new_feature"
git commit -m "Implement new_feature"
Push:
bashgit push origin feature/new_feature
git push origin feature/new_feature
Submitting Contributions
Open a Pull Request (PR): Navigate to the original repository and click on "New Pull Request".
Describe Your Changes: Clearly outline what you've done and why.
Code Review: Engage in the review process with the maintainers.
Merge: Once approved, your changes will be merged.