Jiminy-py

Latest version: v1.8.9

Safety actively analyzes 688634 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 19

1.4.25

This release adds support of discrete action spaces. It also fixes several non-critical issues related to core, gym, unit tests, and docs.

Improvements:
* [gym] Check if the action/observation are out-of-bounds in debug mode.
* [gym] Forward debug argument for classic control envs.
* [gym] Add back unit test for acrobot and test both continuous and discrete action space.
* [gym] Fix convergence issues of classic control learning unit tests.

Bug fixes:
* [core] Fix velocity bounds not taken into account for unbounded joints.
* [core] Fix successful iteration failure counter not properly reset.
* [gym] Fix support of Discrete space.
* [gym] Fix invalid debug write log format.
* [gym] Fix classic control envs observation space and discrete action space handling.

Miscellaneous:
* [misc] Silent external projects warning for compatibility with Cmake < 2.8.12.
* [misc] Fix Python bindings docstring substitution.
* [core] Display error messages in red instead of green.
* [core] Display warning messages if position/velocity bounds are enabled but not implemented.
* [core/python] Remove useless include.

1.4.24

This release fix several bugs that has been introduced in the previous ones. It also makes it easier to use the newly added color names, legend and watermark options for simulation replay.

Improvements:
* [python/viewer] Add support of 'jpeg', 'svg' formats and url path for watermark.
* [python/viewer] Set max width/height of watermark instead of exact ones to preserve aspect ratio.

Bug fixes:
* [core/python] Engine flag 'getIsSimulationRunning' is now returned by reference, fixing a bug with copy proxy.
* [python/simulator] Fix low-level reset/simulate methods wrongly called.
* [python/simulator] Fix generic time-series 'plot' method if data is missing.
* [python/viewer] Fix tuple urdf_rgba support.
* [python/viewer] Fix legend not showing up in some cases.
* [python/viewer] Fix legend font on Windows.

Miscellaneous:
* [core/python] Split bindings in multiple files to reduce compilation time.
* [python/viewer] Rename logo in watermark for clarity.

1.4.23

This release introduces a new dedicated widgets manager for `Meshcat` that enables to display information on top of `three.js` rendering. Those are captured when taking screenshot or recording videos. In addition, the default format when capturing frames is now `.png`, which is about 30% faster.

New features:
* [python/viewer] Add new dedicated widgets manager. Only legend and watermark are available for now.
* [python/viewer] Enable to capture widgets on top of three.js rendering.

Bug fixes:
* [python/viewer] Force disabling legend if not all robots have colors when replaying trajectories.
* [python/viewer] Fix replay when at least one of the trajectories is empty.

Miscellaneous:
* [python/viewer] Always capture frames in '.png' format.

1.4.22

This release introduces new options for the viewer to display a customizable matplotlib-like legend (draggable!) and a log/watermark on top of Meshcat web-based visualizer.

New features:
* [python/viewer] Add 'legend' and 'logo_fullpath' optional argument to 'play_trajectories'.

Improvements:
* [core/python] Do not use Eigenpy to convert systemState.q/v/a to improve efficiency and preserve constness.
* [gym] Define shared memories/proxies at init when possible.
* [gym/envs] Improve performance of classic control environments (acrobot, cartpole).

Miscellaneous:
* [python|gym] Add Python native 'is_simulation_running' attribute to Simulator for fast access.
* [gym] Replace 'engine' proxy by 'simulator' for greater flexibility.

1.4.21

Gym Jiminy, and especially the pipeline design tools, have been heavily refactored to improves performance. The keystone was to share references to avoid copies and memory allocations as such as possible. It also removes automatic clamping of actions/observations. It is up to the user to re-enable it, e.g. using gym wrappers. In addition, the efficiency of computationally demanding gym space helpers and provided PID controller block have been greatly enhanced. 3 times speed-up is to be expected.

Improvements:
* [core/python] Add extra parameter to convertToPython to return either reference or copy.
* [python|gym] Add unsafe set handle for controller to avoid of the cost of handling initialization separately.
* [gym] Refactor observation block chaining to use references for efficiency.
* [gym] Refactor GoalEnv to make it easier to use.

Bug fixes:
* [core] Fix segfault in some cases when 'start' method fails.

Miscellaneous:
* [core] Print error and warning messages on stderr instead of stdout.
* [core] Always remove robot lock when calling Engine.Stop.
* [core/python] Preserve constness of systemState Python bindings.
* [gym] Use np.core.umath.* directly in helper methods for efficiency.
* [gym] Reorder branches in helper methods to find most frequent case first.
* [gym] Add engine/stepper_state/system_state/sensors_state proxies to speed-up attribute lookup.
* [gym] Use 'dict/{}' instead of OrderedDict in 'step' method and calles for efficiency.
* [gym] Observe state as a dict instead of array to avoid memory allocation.
* [gym] Do not clip observation/action by default for efficiency.
* [gym] Pre-compiled PID law for efficiency.
* [gym] Rename _clamp in clip for consistency with numpy.
* [gym] No longer use 'encoder.fieldnames' to define state and pid target fields.

1.4.20

This release improves the general stability of jiminy_py, and especially the viewer. Additionally, it adds support of color names (e.g. 'orange') instead of RGBA color code for convenience.

Improvements:
* [python/viewer] Do not refresh camera pose automatically if no camera motion nor travelling.
* [python/viewer] Add support of string color to 'play_trajectories'.

Bug fixes:
* [core/python] Fix segfault when reading log without data.
* [python/simulation] Fix exception handling at reset.
* [python/viewer] Fix color handling for robot with reference material.
* [python/viewer] Fix exception if viewer arg is None for play_trajectories.
* [gym/examples] Fix tianshou rendering update period.

Miscellaneous:
* [misc] Fix telemetry format doc.
* [python/simulator] Throw error and replaying simulation without data.
* [python/simulator] Remove useless check for '__getattr__'.
* [python/viewer] Ensure unique robot names during replay.
* [gym] More explicit error message for 'set_value' helper.

Page 13 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.