ros-teleop / teleop_tools

A set of generic teleoperation tools for any robot.
183 stars 140 forks source link

Add the ability to have deadman axes. #46

Closed clalancette closed 4 years ago

clalancette commented 4 years ago

Some controllers don't have a convenient shoulder trigger button, but do have shoulder "axes". Allow the axes to be used for a deadman trigger, assuming they are pressed all the way. Note that I used a dict for the list of axes, as this provides the most convenient way to deal with controllers that use 1.0, -1.0, or 0.0 as the "far" end of the axis.

Signed-off-by: Chris Lalancette clalancette@openrobotics.org

clalancette commented 4 years ago

Friendly ping on this one; any thoughts?

bmagyar commented 4 years ago

Looks good to me at first but currently I have no means to test this.

@artivis please chime in

artivis commented 4 years ago

Looks good, I'll try to test this over the weekend.

clalancette commented 4 years ago

Another friendly ping. I've been using this on the robot I'm working on, and seems to work in my testing. Any chance we can get this merged? Thanks!

clalancette commented 4 years ago

Another ping here; would someone mind merging this? Thanks.