Fixes DCMotor clipping for negative power and adds actuator tests (#2300)
# Description This PR adds tests for actuator initialization, configuration, and computation for Implicit, IdealPD, and DC motor actuators. This PR also updates the DCMotor model to clip based on a four quadrant DC motor model. This will fix improper clipping in the negative power regions (i.e. positive torque and negative velocity or negative torque and positive velocity). NOTE: This PR is dependant on the pytest migration in: [2034](https://github.com/isaac-sim/IsaacLab/pull/2034) This PR includes changes made in [2291](https://github.com/isaac-sim/IsaacLab/pull/2291) and would be an alternate candidate. Fixes [#2139](https://github.com/isaac-sim/IsaacLab/issues/2139) <!-- As a practice, it is recommended to open an issue to have discussions on the proposed pull request. This makes it easier for the community to keep track of what is being developed or added, and if a given feature is demanded by more than one party. --> ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) ## Screenshots  ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> --------- Signed-off-by:Kelly Guo <kellyg@nvidia.com> Signed-off-by:
James Tigue <166445701+jtigue-bdai@users.noreply.github.com> Signed-off-by:
Kelly Guo <kellyguo123@hotmail.com> Co-authored-by:
Kelly Guo <kellyg@nvidia.com> Co-authored-by:
Kelly Guo <kellyguo123@hotmail.com>
Showing
61.8 KB