Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yijiangh committed May 5, 2021
1 parent 39393c8 commit 2542820
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 32 deletions.
20 changes: 20 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,26 @@ command line to ease recurring operations:
* ``invoke test``: Run all tests and checks in one swift command.
* ``invoke``: Show available tasks.

Releasing this project
----------------------

Ready to release a new version of **pybullet_planning**? Here's how to do it:

* We use `semver <https://semver.org/>`_, i.e. we bump versions as follows:

* ``patch``: bugfixes.
* ``minor``: backwards-compatible features added.
* ``major``: backwards-incompatible changes.

* Update the ``CHANGELOG.rst`` with all novelty!
* Ready? Release everything in one command:

::

invoke release [patch|minor|major]
# with -b to bump version

* Celebrate! 💃

Documentation improvements
--------------------------
Expand Down
46 changes: 16 additions & 30 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ pybullet_planning
.. Write project description
**pybullet_planning** is a suite of utility functions to facilitate robotic planning related research on the `pybullet <https://github.com/bulletphysics/bullet3>`_ physics simulation engine. Planning research made easy.
**pybullet_planning** is a suite of utility functions to facilitate robotic planning related research on
the `pybullet <https://github.com/bulletphysics/bullet3>`_ physics simulation engine.
Planning research made easy.


Main features
Expand All @@ -50,15 +52,16 @@ Getting Started
.. note::

On Windows, you may need to install
`Microsoft Visual C++ 14.0 <https://www.scivision.co/python-windows-visual-c++-14-required/>`_.
`Microsoft Visual C++ 14.0 <https://www.scivision.co/python-windows-visual-c++-14-required/>`_,
if pybullet installation fails.


Once the installation is completed, you can verify your setup.
Start Python from the command prompt and run the following:

::

>>> import pybullet_planning
>>> import pybullet_planning as pp


First Steps
Expand All @@ -69,31 +72,7 @@ First Steps
Contributing
------------

We love contributions!

Check the `Contributor's Guide <./CONTRIBUTING.rst>`_
for more details.

Releasing this project
----------------------

Ready to release a new version of **pybullet_planning**? Here's how to do it:

* We use `semver <https://semver.org/>`_, i.e. we bump versions as follows:

* ``patch``: bugfixes.
* ``minor``: backwards-compatible features added.
* ``major``: backwards-incompatible changes.

* Update the ``CHANGELOG.rst`` with all novelty!
* Ready? Release everything in one command:

::

invoke release [patch|minor|major]
# with -b to bump version

* Celebrate! 💃
Check the `Contributor's Guide <./CONTRIBUTING.rst>`_ for more details.

PyBullet Resources
-------------------
Expand All @@ -104,6 +83,7 @@ PyBullet Resources
* Wordpress - https://pybullet.org/wordpress/
* Examples - https://github.com/bulletphysics/bullet3/tree/master/examples/pybullet/examples
* Bindings - https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/pybullet.c
* Predecessors - `pybullet-planning`_, `motion-planners`_.

Credits
-------------
Expand All @@ -113,6 +93,12 @@ Credits
This package was initiated and maintained by Caelan Garrett `@caelan <https://github.com/caelan>`_
and other `contributors <https://github.com/yijiangh/pybullet_planning/blob/dev/AUTHORS.rst>`_.

This repo is a stable and documented fork of Caelan's `pybullet-planning <https://github.com/caelan/pybullet-planning>`_
(previously called `ss-pybullet`) and `motion-planners <https://github.com/caelan/motion-planners>`_.
History
-------------

This repo is a stable and documented fork of Caelan's `pybullet-planning`_
(previously called `ss-pybullet`) and `motion-planners`_.
New features will continue to be introduced first through these separate repos, and integrated into the current package later.

.. _pybullet-planning: https://github.com/caelan/pybullet-planning
.. _motion-planners: https://github.com/caelan/motion-planners
7 changes: 5 additions & 2 deletions tests/planner_2D_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file attemps to port Caelan's tkinker example for motion-planners to pybullet:
# https://github.com/caelan/motion-planners/tree/master/motion_planners/tkinter
import numpy as np
import math

Expand Down Expand Up @@ -163,8 +165,9 @@ def add_roadmap(roadmap, **kwargs):
pp.add_line(np.hstack([line[0], [DRAW_Z]]), np.hstack([line[1], [DRAW_Z]]), **kwargs)

def draw_roadmap(roadmap, obstacles, regions):
draw_environment(obstacles, regions)
add_roadmap(roadmap)
with pp.LockRenderer():
draw_environment(obstacles, regions)
add_roadmap(roadmap)

def add_points(points, **kwargs):
for sample in points:
Expand Down

0 comments on commit 2542820

Please sign in to comment.