From dcf57ca462b3e3c2180ed68f43fa165b20b3d397 Mon Sep 17 00:00:00 2001 From: Yijiang Huang Date: Tue, 8 Mar 2022 14:19:58 -0500 Subject: [PATCH] fix changelog --- CHANGELOG.rst | 48 ++++++++++++++++++++++++------------------------ tasks.py | 20 ++++++++++---------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c4f4c52..2de0305 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -23,46 +23,46 @@ Unreleased Known Unresolved Issues ----------------------- -- `get_body_collision_vertices` does not support cloned body now. We don't have a good way to do catch-throw for this now. -- Cloning body from an already cloned body introduces unexpected result (visual or collision data erased etc). +* `get_body_collision_vertices` does not support cloned body now. We don't have a good way to do catch-throw for this now. +* Cloning body from an already cloned body introduces unexpected result (visual or collision data erased etc). 0.6.0 ---------- **Added** -- Added `distance_threshold` to `pairwise_link_collision_info` and `pairwise_link_collision` to allow collision checking given a penetration threshold -- Added `sweep_collision_fn` to `birrt` to allow sweep collision check in edge expansion -- Added `coarse_waypoints` to the `smooth_path` function to give options for use refined shortcut to ensure collision-free results. -- `LOGGER` introduced to replace `print` -- Added `get_data_filename_and_height` to include cached mesh filename and scale from `get_model_info` -- Added `CreateVisualArray` and `CreateCollisionArray` for `visual_shape_from_data` and `visual_shape_from_data`. We use the new `get_data_filename_and_height` when file_name is `UNKNOWN_FILE`. -- Added `load_pybullet` support for `stl` files by `create_obj`. -- Added `get_body_collision_vertices` for getting body collision vertices in its current configuration. +* Added `distance_threshold` to `pairwise_link_collision_info` and `pairwise_link_collision` to allow collision checking given a penetration threshold +* Added `sweep_collision_fn` to `birrt` to allow sweep collision check in edge expansion +* Added `coarse_waypoints` to the `smooth_path` function to give options for use refined shortcut to ensure collision-free results. +* `LOGGER` introduced to replace `print` +* Added `get_data_filename_and_height` to include cached mesh filename and scale from `get_model_info` +* Added `CreateVisualArray` and `CreateCollisionArray` for `visual_shape_from_data` and `visual_shape_from_data`. We use the new `get_data_filename_and_height` when file_name is `UNKNOWN_FILE`. +* Added `load_pybullet` support for `stl` files by `create_obj`. +* Added `get_body_collision_vertices` for getting body collision vertices in its current configuration. **Changed** -- Apply `HideOutput` to pybullet IK error printouts in `inverse_kinematics_helper` -- ``motion_planners`` module up-to-date with commit `e6f23053e `_. -- Changed the mesh reading procedure in `vertices_from_data` from `pp.read_obj` to `meshio.read`. This fixes #9. -- `smooth_path`'s `max_iterations` argument changed to `max_smooth_iterations` -- 'set_color' defaulted to set the color of all the links of body. -- `vertices_from_data` get filename and **scale** from cached `INFO_FROM_BODY` (through `get_data_filename_and_height`) if the data's filename does not end with `.urdf` +* Apply `HideOutput` to pybullet IK error printouts in `inverse_kinematics_helper` +* ``motion_planners`` module up-to-date with commit `e6f23053e `_. +* Changed the mesh reading procedure in `vertices_from_data` from `pp.read_obj` to `meshio.read`. This fixes #9. +* `smooth_path`'s `max_iterations` argument changed to `max_smooth_iterations` +* 'set_color' defaulted to set the color of all the links of body. +* `vertices_from_data` get filename and **scale** from cached `INFO_FROM_BODY` (through `get_data_filename_and_height`) if the data's filename does not end with `.urdf` **Fixed** -- Fixed `read_obj` returns empty dict if obj file does not start with objects (``o object_name``) -- Fixed `get_extend_fn(q1,q2)` to include `q1` in its output path. This bug was causing incorrect planning result in birrt, because the two trees will have a gap in the middle that is unchecked. -- Fixed a minor mesh vertex scaling bug in `vertices_from_data` -- catch `get_num_joints(body) == 0` when a rigid body without joint and link are passed to `clone_body` -- clear `INFO_FROM_DATA` when `disconnect` or `reset_simulation` +* Fixed `read_obj` returns empty dict if obj file does not start with objects (``o object_name``) +* Fixed `get_extend_fn(q1,q2)` to include `q1` in its output path. This bug was causing incorrect planning result in birrt, because the two trees will have a gap in the middle that is unchecked. +* Fixed a minor mesh vertex scaling bug in `vertices_from_data` +* catch `get_num_joints(body) == 0` when a rigid body without joint and link are passed to `clone_body` +* clear `INFO_FROM_DATA` when `disconnect` or `reset_simulation` 0.5.1 ---------- **Added** -- Added `current_conf` to as the single-node ladder in the ladder graph Cartesian planning `plan_cartesian_motion_lg` +* Added `current_conf` to as the single-node ladder in the ladder graph Cartesian planning `plan_cartesian_motion_lg` **Changed** -- Changed `Attachment.from_data` to construct parent and child bodies from body name data -- Changed `EdgeBuilder` from using `upper_tm` and `joint_vel_limits` to directly using `jump_threshold` +* Changed `Attachment.from_data` to construct parent and child bodies from body name data +* Changed `EdgeBuilder` from using `upper_tm` and `joint_vel_limits` to directly using `jump_threshold` 0.5.0 ---------- diff --git a/tasks.py b/tasks.py index f7ee8f5..5175dcb 100644 --- a/tasks.py +++ b/tasks.py @@ -230,16 +230,16 @@ def release(ctx, release_type, bump_version=False): else: raise Exit('You need to manually revert the tag/commits created.') - # if confirm('You are about to upload the release to pypi.org. Are you sure? [y/N]'): - # files = ['dist/*.whl', 'dist/*.gz', 'dist/*.zip'] - # dist_files = ' '.join([pattern for f in files for pattern in glob.glob(f)]) - - # if len(dist_files): - # ctx.run('twine upload --skip-existing %s' % dist_files) - # else: - # raise Exit('No files found to release') - # else: - # raise Exit('Aborted release') + if confirm('You are about to upload the release to pypi.org. Are you sure? [y/N]'): + files = ['dist/*.whl', 'dist/*.gz', 'dist/*.zip'] + dist_files = ' '.join([pattern for f in files for pattern in glob.glob(f)]) + + if len(dist_files): + ctx.run('twine upload --skip-existing %s' % dist_files) + else: + raise Exit('No files found to release') + else: + raise Exit('Aborted release') @contextlib.contextmanager