When calibrating my joystick in mission planner it refuses to save it to the files, so I had to edit my XML files manually. It was easy to set up the channel 1-4, but I’m stuck at setting the buttons up to change flight mode.
This is how it looks in the XML file:
< JoyButton >
< buttonno >4< /buttonno >
< function >ChangeMode< /function >
< p1 >0< /p1 >
< p2 >0< /p2 >
< p3 >0< /p3 >
< p4 >0< /p4 >
< state >false< /state >
< /JoyButton >
Mission planner does react to the button, but in order to set up a specific flight mode to this button, I need some sort of values in those p1, p2 etc. lines. I’ve tried setting a number, but it doesnt work. I’ve tried just typing in “auto” for example, doesnt work either.
If anyone here has configured their joystick buttons to change flight mode, can you please check your joystickbuttonsArduCopter2 XML file located in your mission planner installation folder, eventually in your My Documents/mission planner folder, and tell me what it says?