Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor common sensor setup interactions #1471

Closed
wants to merge 3 commits into from
Closed

Conversation

mjcarroll
Copy link
Contributor

This addresses a bug uncovered when using the Reset implementation with the ForceTorqueSensor.

Not all sensor system implementations were updated as part of #1281, one of which being the ForceTorqueSensor. This makes the reset behavior incorrect and the sensor won't be respawned.

As part of this, I'm also experimenting with refactoring out the common functionality that is boilerplate in any GzSensors system implementation. To view the diff for a single system that was already updated, see 20b15b6

Once complete, this should close out: #797 as all sensors will be updated.

@mjcarroll mjcarroll changed the title Sensor impl Refactor common sensor setup interactions May 3, 2022
@chapulina chapulina added sensors Sensors and sensor data 🌱 garden Ignition Garden labels May 3, 2022
Base automatically changed from reset_physics to main May 17, 2022 17:59
@mjcarroll mjcarroll changed the base branch from main to reset_sensors May 17, 2022 20:15
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Base automatically changed from reset_sensors to main June 30, 2022 04:32
mjcarroll added a commit that referenced this pull request Jul 21, 2022
Split from #1471 to address force-torque sensor incrementally.
Partially addresses #797
Not all sensor system implementations were updated as part of #1281, one of which being the ForceTorqueSensor. This makes the reset behavior incorrect and the sensor won't be respawned.

Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Co-authored-by: Louise Poubel <louise@openrobotics.org>
@chapulina chapulina added the bug Something isn't working label Jul 28, 2022
@chapulina chapulina changed the base branch from main to gz-sim7 August 10, 2022 18:20
@mjcarroll
Copy link
Contributor Author

@mjcarroll mjcarroll closed this Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🌱 garden Ignition Garden sensors Sensors and sensor data
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants