Stinger control via mavlink joystick
-
Hi.
We have the stinger drone and would like to fly it using the UXV SRoC controller (joystick). We have done the following modifications:
- removed the VTX and plugged in a doodlelabs radio in its place.
- removed the ELRS receiver and plugged in the VOXL IO expander board (to get PWM for the IR/visual lights).
- Connected the Lights signal wire to the IO expander.
- In software, we:
a. stopped the vtx service, and configured the doodlelabs radio
b. configured the voxl-streamer to stream the fpv camera
b. in px4 config file, set RC = EXTERNAL (to support joystick)
c. in px4 start, set "qshell voxl2_io start -p 7 #(use QUP7)" to start voxl io on that port - We get telemetry and video on QGC. In the "Actuators" tab, we are able to control the motors and the lights.
- We get mode switch and arming to work by mapping actions to buttons for joystick.
Where we got stuck is using joystick to control the Lights, turtle mode, and camera switching. Can you pls suggest how we can control these functionality with joystick? I see that the voxl-px4 service is using an older px4 firmware that publishes a basic manual_control_setpoint message when "manual_control" messages are received from the gcs.
-
@qubotics-admin The joystick button to use for turtle mode is set via the VOXL_ESC_T_ON parameter.
-
@Eric-Katzfey I tried that parameter, but I did was not able to get the motors to spin in turtle mode.
I tried searching the voxl-px4 repo and could not find how that parameter is used. Do you mind sharing some insight on how the joystick button will trigger turtle mode?
Just to highlight that I am not using a VTX but doodlelabs radio to connect to a handheld gcs/joystick.