I know this might sound stupid to ask here but has anyone be able to customized any button on their controller to be able to drive the rover in preset offset degree( 30 ,45) to utilized the camera if you do not have a tilt gimbal setup . so basically the rover will operate at the offset until you push a button to bring it back to level (O)
in which case you would trim the vehicle pitch manually to the desired angle
Build a custom version of ArduSub that provides your desired functionality
it would likely be easiest to implement this via one of the existing custom* button function options, instead of defining an entirely new button function name
it may also be possible to achieve this via a Lua script instead of a custom firmware, but we don’t have much experience using them for ArduSub, and don’t yet have any documentation on doing so
Write some proxy software that intercepts the joystick button presses, and passes on most of them but takes your specific button of interest sends a MAVLink set attitude target message if/when the button is pressed