gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
685 stars 262 forks source link

ForceTorque system: improve readability #2403

Closed scpeters closed 4 months ago

scpeters commented 4 months ago

🦟 Bug fix

Improves readability

Summary

This adds some comments and uses structured bindings in range-based for loops to improve readability. It also adds const to unmodified variables in a loop.

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.