Feature request
I am currently working on a multi-drone formation algorithm. I will convert the algorithm results into coordinates to make the drone perform formation transformation, which includes three-dimensional formation. During the simulation process, in order to be closer to the real world, I want to use a real flight control board. I searched and found out Currently, Ardupilot does not support HITL. Currently, I am using "Simulation on Hardware", so I followed the instructions on the Ardupilot website and successfully completed "Simulation on Hardware" and generated a virtual drone. But it's like I mentioned earlier that my performance method includes three-dimensional formations, and I am not sure whether the Ardupilot SITL environment is reliable enough, so I want to connect the virtual drone generated through "Simulation on Hardware" to Gazebo.
Describe the solution you'd like
One method I am currently thinking of is to add a hardware interface to the ArduPilotPlugin, such as /dev/ttyACM, baud:115200, so that the drone generated through 'Simulation on Hardware' can be connected to Gazebo
Describe alternatives you've considered
I did a little research on the program code, and I found that Gazebo seems to use address:127.0.0.1 port:9002 to transmit information when connecting to SITL. So I tried using mavproxy's command mavproxy.py --master=/dev/ttyACM0 --baudrate 115200 --out udp:127.0.0.1:9002 --console However, it seems useless. The model in Gazebo will not act according to the commands I input.
Platform
[ ] All
[ ] AntennaTracker
[ v ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
Additional context
You can see in the console of mavproxy that I can use command to control the drone, but the model in Gazebo has no movement.

Feature request
I am currently working on a multi-drone formation algorithm. I will convert the algorithm results into coordinates to make the drone perform formation transformation, which includes three-dimensional formation. During the simulation process, in order to be closer to the real world, I want to use a real flight control board. I searched and found out Currently, Ardupilot does not support HITL. Currently, I am using "Simulation on Hardware", so I followed the instructions on the Ardupilot website and successfully completed "Simulation on Hardware" and generated a virtual drone. But it's like I mentioned earlier that my performance method includes three-dimensional formations, and I am not sure whether the Ardupilot SITL environment is reliable enough, so I want to connect the virtual drone generated through "Simulation on Hardware" to Gazebo.
Describe the solution you'd like
One method I am currently thinking of is to add a hardware interface to the ArduPilotPlugin, such as /dev/ttyACM, baud:115200, so that the drone generated through 'Simulation on Hardware' can be connected to Gazebo
Describe alternatives you've considered
I did a little research on the program code, and I found that Gazebo seems to use address:127.0.0.1 port:9002 to transmit information when connecting to SITL. So I tried using mavproxy's command
mavproxy.py --master=/dev/ttyACM0 --baudrate 115200 --out udp:127.0.0.1:9002 --consoleHowever, it seems useless. The model in Gazebo will not act according to the commands I input.Platform
[ ] All
[ ] AntennaTracker
[ v ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
Additional context
You can see in the console of mavproxy that I can use command to control the drone, but the model in Gazebo has no movement.