v0.5.0
This release contains:
- Development:
- create
Current
andAngle
units - add units format method and possibility to calculate the opposite of a unit
- add
electric_current
andpwm
properties and time variables toDCMotor
- update
Transmission
andSolver
to manageelectric_current
andpwm
properties - edit
Transmission.snapshot
to select variables to be printed - add multiple simulation concatenation feature
- add simulation result reset through
Transmission.reset
- create DC motor animation function
- create
PWMControl
to controlDCMotor
'spwm
- edit
Solver
to integrate motor control - create
AbsoluteRotaryEncoder
andTachometer
sensors - create basic rules to control
DCMotor
'spwm
- create
- Tests:
- update
external_torque
tests - update tests according to
eletric_current
andpwm
modifications - update tests according to
Transmission
andSolver
last modifications - add
DCMotor
animation tests - add
Angle
andCurrent
tests - add
AbsoluteRotaryEncoder
andTachometer
tests - add motor control basic rules tests
- improve composite strategies tests
- update
- Maintenance:
- fix some typo in documentation and tests
- Enhancement:
- improved
external_torque
input checks - add check in
Transmission.snapshot
ontarget_time
parameter value outside simulation limits - complete type hinting
- simplify
DCMotor.compute_torque
's formula DCMotor.compute_torque
assigns computed value todriving_torque
and returnsNone
- move simulation parameter from
Solver
instantiation toSolver.run
method - improve error messages
- improved
- Bug:
- fix bug on simulation final time step
- fix bug on
Solver
operation order - remove
Transmission.snapshot
NaN
s
- Documentation:
- add documentation for new units
- add documentation for new
DCMotor
properties - update
Transmission
andSolver
documentation - add
DCMotor
animation documentation - add sensors documentation
- add rules documentation
- add PWM control documentation
- add more usage examples for new features