This document describes how to contribute this project.
This is a step by step manual to add a new algorithm example.
Before choosing an algorithm, please check the :ref:`getting started` doc to understand this project's philosophy and setup your development environment.
If an algorithm is widely used and successful, let's create an issue to propose it for our community.
If some people agree by thumbs up or posting positive comments, let go to next step.
It is OK to just create an issue to propose adding an algorithm, someone might implement it.
In that case, please share any papers or documentations to implement it.
When you implement an algorithm, please keep the following items in mind.
If you add a new algorithm sample code, please add a unit test file under tests dir.
This sample test code might help you : test_a_star.py.
At the least, try to run the example code without animation in the unit test.
If you want to run the test suites locally, you can use the runtests.sh script by just executing it.
The test_codestyle.py check code style for your PR's codes.
Please add a document to describe the algorithm details, mathematical backgrounds and show graphs and animation gif.
This project is using Sphinx as a document builder, all documentations are written by reStructuredText.
You can add a new rst file under the subdirectory in doc modules dir and the top rst file can include it.
Please check other documents for details.
You can build the doc locally based on doc README.
Note that the reStructuredText based doc should only focus on the mathematics and the algorithm of the example.
Documentations related codes should be in the python script as the header comments of the script or docstrings of each function.
Let's submit a pull request when your code, test, and doc are ready.
At first, please fix all CI errors before code review.
You can check your PR doc from the CI panel.
After the "ci/circleci: build_doc" CI is succeeded, you can access you PR doc with clicking the [Details] of the "ci/circleci: build_doc artifact" CI.
After that, I will start the review.
Note that this is my hobby project; I appreciate your patience during the review process.
Reporting and fixing a defect is also great contribution.
When you report an issue, please provide these information:
If you want to fix any bug, you can find reported issues in bug labeled issues.
If you fix a bug of existing codes, please add a test function in the test code to show the issue was solved.
This doc submit a pull request can be helpful to submit a pull request.
Adding the missed documentations for existing examples is also great contribution.
If you check the Python Robotics Docs, you can notice that some of the examples only have a simulation gif or short overview descriptions, but no detailed algorithm or mathematical description.
This doc how to write doc can be helpful to write documents.
Supporting this project financially is also a great contribution!!.
If you or your company would like to support this project, please consider:
If you would like to support us in some other way, please contact with creating an issue.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。