Thanks for your interest in contributing to selfpatch_demos! This guide explains how to report issues, suggest demos, and contribute code.
- Ensure the bug was not already reported by searching Issues
- If you can't find an existing issue, open a new one
- Include:
- Which demo you were running
- Steps to reproduce - numbered steps to recreate the issue
- Expected behavior - what you expected to happen
- Actual behavior - what actually happened, including error messages
- Environment - ROS 2 distro, OS, ros2_medkit version
- Check if the idea has already been suggested in Issues
- If not, open a new issue describing:
- Demo concept - what would the demo show?
- Motivation - why is this demo valuable?
- Prerequisites - what ROS 2 packages or hardware would be needed?
- Fork the repository and clone your fork locally
- Create a branch from
mainwith a descriptive name:demo/short-descriptionfor new demosfix/short-descriptionfor bug fixesdocs/short-descriptionfor documentation changes
- Make your changes following the project's structure
- Test your changes locally
- Commit your changes with clear, descriptive commit messages
- Push your branch to your fork
- Open a Pull Request against the
mainbranch
- Use clear and descriptive commit messages
- Start with a verb in imperative mood (e.g., "Add", "Fix", "Update", "Remove")
- Keep the first line under 72 characters
Examples:
Add TurtleBot3 navigation demo
Fix launch file path in turtlebot3_integration
Update README with new prerequisites
When adding a new demo, follow this structure:
demos/your_demo_name/
├── README.md # Setup instructions and demo description
├── launch/ # ROS 2 launch files
├── config/ # Configuration files
└── src/ # Any custom nodes or scripts (if needed)
Before submitting your PR, ensure:
- Demo works with the latest ros2_medkit
- README clearly explains prerequisites and how to run
- All dependencies are documented
- Code follows ROS 2 conventions
- PR description explains what the demo shows
By contributing to selfpatch_demos, you agree to abide by our Code of Conduct.
By contributing to selfpatch_demos, you agree that your contributions will be licensed under the Apache License 2.0.
Thank you for helping grow the selfpatch_demos collection! 🤖