-
Notifications
You must be signed in to change notification settings - Fork 143
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
joy_teleop: Do not require deadman input for axis mapping #71
base: foxy-devel
Are you sure you want to change the base?
Conversation
@bmagyar could this get a review please? |
@@ -152,36 +152,6 @@ def test_teleop_axis_mappings_missing_axis_or_button(self): | |||
self.assertEqual(joy_teleop_process.exit_code, 1) | |||
self.assertTrue('must have an axis, button, or value' in joy_teleop_process.output) | |||
|
|||
def test_teleop_axis_mappings_missing_offset(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these tests still hold value in showing that things are handled despite some things missing. Is it ok to leave them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests are expecting an error when there isn't one after the changes in this PR.
Do you mean you also want the checks for empty offset and scale put back into the code?
Please specify what your target distro is with this |
I use galactic, personally. I don't see why this wouldn't work on foxy as well. |
Hi @bmagyar - poke. |
Any updates on this PR? |
Seems to fail all CI tests now. I will fix this when I get a moment and hopefully it can be merged. |
I am still interested in this change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Appears to be resolving #74 |
Yeah I would have liked to have had these changes merged years ago. |
Hello,
While attempting to use this teleop package for my purposes, I found I couldn't simply map an axis without specifying a "deadman switch" which in this case is more accurately a trigger. These changes improve the behaviour of the mapping.
This code should work on foxy, but has been tested on galactic only.
Russ