doodle labs and joystick setup
-
@Eric-Katzfey Also, there is a parameter called VOXL_ESC_T_ON. How is that set? It determines which button will be used for turtle mode. The code is here: https://github.com/modalai/px4-firmware/blob/ea098200d3c09b7af548bf7be29fda245fad8f17/src/modules/mavlink/mavlink_receiver.cpp#L2083
-
@Eric-Katzfey
This is the output i am getting while runninglistener manual_control_setpoint
NuttShell (NSH) NuttX-11.0.0 nsh> listener manual_control_setpoint TOPIC: manual_control_setpoint manual_control_setpoint timestamp: 438754659 (0.033455 seconds ago) timestamp_sample: 438754653 (6 us before timestamp) roll: 0.00000 pitch: 0.00000 yaw: 0.00000 throttle: 0.00000 flaps: 0.00000 aux1: 0.00000 aux2: 0.00000 aux3: 0.00000 aux4: 0.00000 aux5: 0.00000 aux6: 0.00000 buttons: 0 valid: True data_source: 2 sticks_moving: False nsh> listener manual_control_setpoint TOPIC: manual_control_setpoint manual_control_setpoint timestamp: 446282690 (0.039850 seconds ago) timestamp_sample: 446282683 (7 us before timestamp) roll: 0.00000 pitch: 0.00000 yaw: 0.00000 throttle: 0.00000 flaps: 0.00000 aux1: 0.00000 aux2: 0.00000 aux3: 0.00000 aux4: 0.00000 aux5: 0.00000 aux6: 0.00000 buttons: 0 valid: True data_source: 2 sticks_moving: False
-
@Eric-Katzfey I am not able to see the option you have mentioned
VOXL_ESC_T_ON
-
@Jetson-Nano said in doodle labs and joystick setup:
I am not able to see the option you have mentioned VOXL_ESC_T_ON
In the Mavlink console what do you see with "param show VOXL_ESC_*"?
And what about "ver all"?
-
@Jetson-Nano said in doodle labs and joystick setup:
This is the output i am getting while running listener manual_control_setpoint
What is the parameter COM_RC_IN_MODE set to?
-
@Eric-Katzfey COM_RC_IN_MODE is set to joystick only
-
@Eric-Katzfey Hey hope you are doing fine, I checked the code and various branches of PX4, I noticed I was able to see the parameter
VOXL_ESC_T_ON
but the option only showcased button 1 for assignment . what to do if I want to assign another button. -
@Jetson-Nano You set that parameter to match the button you want to use.
-
@Eric-Katzfey Thank you for reverting back, The options only show one option button 1. I tested with button one but the drone was not taking in the command for enabling the turtle mode.
I want to know whether the code was tested out, so that I can be sure about not missing out on any parameter or setup -
@Jetson-Nano It's a parameter that you can set to any number you want. In QGC you can look at the joysticks tab and see as you press each button which number it is. Then set the parameter to that number.