doodle labs and joystick setup
-
Hey @Alex-Kushleyev @Eric-Katzfey @Chad-Sweet
I had a query about setting up joystick with doodle labs. I am not able to setup the joystick properly, not every buttons and toggle is working. AUX channels for Turtle mode or toggle for changing modes.my setup is
- voxl 2 to Fc v2 to ESC
- doodle labs nano to voxl 2
-
@Jetson-Nano Are you using QGC to map joystick buttons to functions? What version of PX4 are you running on your FC v2?
-
@Eric-Katzfey For turtle mode with a joystick you need to set VOXL_ESC_MODE to 1 and, while not armed, press a button and keep it pressed while arming. For flight modes that should all be handled through QGC.
-
@Eric-Katzfey yes , I am using the QGC to map joystick buttons. I am using the voxl-fpv-dev version from the modalai px4 repo. I am using the FPV 4-in-1 ESC. I am not able to get more than 2 toggle switches and also not able to assign them two way.
-
@Jetson-Nano
voxl-fpv-dev
is the name of the branch. The version will be a number, such as1.14.0-8.104.3
. Most of the joystick button mapping is handled by QGC directly. It maps them to commands that are sent over Mavlink. But the turtle mode is something specific built into the ESC driver. For the joystick buttons to work for turtle mode you need to set VOXL_ESC_MODE to 1. For newer versions of thevoxl-fpv-dev
branch you can also set VOXL_ESC_MODE to 2. The verify that the button mapping is working you can look at the manual_control_setpoint topic in px4 and see if the aux1 / aux2 fields are changing between 0.0 and 1.0. (e.g.px4-listener manual_control_setpoint
) -
@Eric-Katzfey Thank you for the support. I will test it out and get back to you encase of any further queries.