Hello, the question is as follows:
[Environments]
Mission Planner 1.3.80
2 * WSL Ubuntu for SITL (Installed from Microsoft Web Store)
(One for boat simulation and one for plane simulation)
(Reason for using this : I’m using Ubuntu on WSL to run SITL because Mission Planner’s embedded SITL does not support simulation of multiple types of vehicles simultaneously.)
[What I want to do]
I want to code and test mission planner plugins for the interaction between planes and boats. during testing, I need to be able to control the plane by joystick.
[The Problem]
The joystick cannot be dynamically assigned to the plane while multiple vehicle is connected to mission planner.
Even if the plane is selected in the mission planner’s multiple connection list (in the data tab, in the top right corner), enabling the joystick in the setup tab does not allow me to control the plane.
When I move the joystick, the boat moves instead!! even if the plane is selected in the multiple connection list. I was very embarassed.
It seems that only the connection order is important. If I connect the plane first, it can be controlled by the joystick. However, if I connect the boat first, the joystick controls the boat.
[Reason for asking this]
I want to make ardupilot’s use to all people’s good at sea.
Since I will be operating a very expensive VTOL on ships, I am concerned about the interaction and unwanted behavior between the boat and the plane.
because I have already observed unwanted behavior in multi-connection situation, I am very concerned.(Actually, I have seen another bug that flight mode in action tab is messed up when multiple vehicle is connected.)
Will there be any unwanted behavior like this on mission planner when I connect both the boat and the plane?
Additionally, how can I control the plane using the joystick when I connect the boat first to the mission planner and then the plane?