id | title | sidebar_label |
---|---|---|
contributing |
Contributing to PyRobot |
Contributing to PyRobot |
Thank you for your interest in contributing to PyRobot! Your contributions will probably fall into two categories:
- You want to implement a feature or bug-fix for an outstanding issue.
- You can search for existing issues here: https://github.com/facebookresearch/pyrobot/issues
- Pick an issue and comment on the task that you want to work on this feature.
- If you need more context on a particular issue, please ask and we shall provide.
- You would like to propose a new feature and implement it.
- Post about your intended feature as a Github issue, and we shall discuss the design and implementation. Once we agree that the plan looks good, go ahead and implement it. Note that any core changes such as to the core PyRobot code or LoCoBot driver code will take a longer review process.
Once you finish implementing a feature or bug-fix, please send a Pull Request to https://github.com/facebookresearch/pyrobot
For more best practices on how to contribute, please see Contributing Guide from the PyTorch repo. The following document covers some of the more technical aspects of contributing to PyRobot.
We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.
Facebook has a bounty program for the safe disclosure of security bugs. In those cases, please go through the process outlined on that page and do not file a public issue.
- docs This folder is for tutorial documentation
- website/docs Contains the tutorial markdown files for each tutorial in pyrobot.org.
- examples
- robots
- LoCoBot Drivers and ROS packages for the real LoCoBot and Gazebo simulator
- install bash scripts for easy installation
- locobot_calibration ROS package for hand-eye camera calibration for LoCoBot
- locobot_control ROS package for LoCoBot drivers, teleoperation, inverse kinematics, etc.
- locobot_description ROS package with LoCoBot urdf, mesh files, etc.
- locobot_gazebo ROS package for LoCoBot gazebo interface
- locobot_lite_moveit_config MoveIt package specific to full LoCoBot hardware setup (arm+base+camera mount)
- locobot_moveit_config MoveIt package specific to full LoCoBot-lite hardware setup
- locobot_navigation
- orb_slam2_ros ROS package for ORB-SLAM2
- base_navigation MoveBase package specific to LoCoBot
- thirdparty Folder for LoCoBot specific external submodules
- LoCoBot Drivers and ROS packages for the real LoCoBot and Gazebo simulator
- tests Tests for the core PyRobot API
Contributions will be managed through pull requests. This article is good resource for the pull request workflow.
- Fork the repo and create your branch from
master
. - If you've changed APIs, update the documentation.
- Follow the steps in the section below section on Testing
- Make sure your code lints.
- Please consider adding tutorials to better explain your feature. See section on Tutorials
- If you haven't already, complete the Contributor License Agreement ("CLA").
If you've added code that should be tested, please add tests. You can either add to existing test files or create new ones in the tests folder. The tests/run_tests.py script will launch and run the tests on a gazebo instance of the LoCoBot robot. Please also run existing tests and add new ones for the real robot (you can pass in test_real flag to the script). If you do not have any tests, please explain the reason.
Please also consider adding tutorials if you are planning to submit a major feature, application or algorithm. Almost all the scripts in the examples folder have their associated tutorials synced with pyrobot.org. To add a new tutorial, first create a markdown file in docs/website/docs or add a symlink to wherever you have added it in the repo (we suggest having a single location for this markdown file for better management). If you want to add a tutorial, you also need to declare the markdown file id in docs/website/website/sidebars.json so that it shows up on the website.
In order to accept your pull request, we need you to submit a CLA. You only need to do this once to work on any of Facebook's open source projects.
Complete your CLA here: https://code.facebook.com/cla
Please consider joining our forum (start a google group?)
The python code uses Flake8 style. autopep8 will come in handy.
By contributing to PyRobot, you agree that your contributions will be licensed under the LICENSE file in the root directory of this source tree.