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

Don't torque off motor if opmode is already set #16

Merged
merged 3 commits into from
Jul 11, 2024

Conversation

lukeschmitt-tr
Copy link
Member

@lukeschmitt-tr lukeschmitt-tr commented Jul 9, 2024

This PR allows the set_operating_mode callback to be called without torquing the motors off/on. To do this, we skip over setting the desired operating modes or drive if the desired value are already set.

Other minor fixes.

@lukeschmitt-tr lukeschmitt-tr merged commit 39b92f4 into ros2 Jul 11, 2024
3 checks passed
@lukeschmitt-tr lukeschmitt-tr deleted the fix_opmode_torque_off branch July 11, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant