Skip to content

v3.0.0: Refactoring Release

Compare
Choose a tag to compare
@bhk11 bhk11 released this 18 Nov 08:36
· 1 commit to master since this release

The changes in this version are mainly for easier development and maintenance of gym-electric-motor. However, it should be noted that some code breaking changes have been made to the transfer of elements in the gem.make() command, so that the objects must be transferred directly here and the input of text strings is no longer possible. For more information, please have a look at the cookbook or the other updated examples.

Added

  • Support for Python 3.11, 3.12, 3.13
  • Ruff: Python linter & formatter (see DEVELOPMENT.md)
  • StateObserver: An easy way to get state values with error checking example
  • Integrated gem_controls repository into gem. classic_controllers will be removed in further version
  • Using pyproject.toml, dropping deprecated setup.py
  • Enabled Gymnasium env checker see here

Changed

  • Dropped support for Python 3.8
  • Linted and formatted all files
  • Changed max. steps in some test files to improve test speed by 30%
  • Changed the syntax from gem_controller.py to be compatible with the gymnasium interface

Fixed

  • #244 Sphinx docu build
  • #233 EESM ODE update
  • #224 DqToAbcActionProcessor uses now the correct angle to apply the dq to abc transformation
  • #223 CosSinProcessor uses now the denormalized angel for calculating the sin and cos
  • #253 #256 all examples to the current syntax