ros-teleop / teleop_tools

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

Simultaneous deadman button #75

Open ejalaa12 opened 2 years ago

ejalaa12 commented 2 years ago

Hi,

The current behavior of the deadman button is that if any one of the defined deadman_buttons is press, the teleop command is considered active.

In this PR, introduce another behavior through the deadman_behavior config. By default, deadman_behavior is any which corresponds to the behavior described above.

The other allowed behavior is all which makes a teleop command active, if and only if ALL deadman_buttons are press simultaneously.

Btw, any better naming for this param is welcomed (maybe simultaneous: true instead ?)