Replies: 2 comments
-
This is something that I don't have a good answer to. Right now, the solution depends on your desired control approach. If you decide to use the To abort the thruster-level control interface, you first need to stop all commands to that thruster, then send a neutral PWM value to bring the thruster to a stop. In practice, this worked fine. However, I am not fond of the extra step (i.e., sending the neutral PWM value), particularly if there is any unexpected latency in delivering the message. Resources: |
Beta Was this translation helpful? Give feedback.
-
Our desired use case: Connect a joystick button to an "e-stop" functionality which stops all thrusters.
I am sufficiently muddled on the lower-levels of the stack (ROS Control -> Mavros -> Ardupilot) that I don't know where the most "reliable and bulletproof" e-stop mechanism should be placed.
Just to clarify my thinking: On the BlueROV, does Ardupilot respect "armed/disarmed" even when sending to
/mavros/rc/override
? In Gazebo it does not appear to respect this switch.If "armed/disarmed" is functional (e.g. "disarm"ing through Mavros, QGC, etc will instantly stop the thrusters), then that's the preferred mechanism. Would be nice if it worked in sim, tho.
If not (if
override
sends commands to the RC motors regardless of ardupilot armed/disarmed) is there an alternative?Beta Was this translation helpful? Give feedback.
All reactions