Hi all, I'm trying to run tiltrotor VTOL HITL simulation in Gazebo Classic 11. I have connected to QGC and made the necessary modifications to the sdf file (setting serialEnabled to 1 and hilenabled to 1, as well as setting SYS_HITL to 1). QGC was able to connect as well. However, when commanded to take off (autonomous mission) from QGC, the rotors on the model simply rotate slowly and the model doesnt move at all. I have previously done this with standard vtol with no problems.
I compared the flight logs of the previous successful Standard VTOL HITL mission VS the current Tiltrotor VTOL HITL mission and discovered that the motor outputs in the Tiltrotor is only 0.1 VS 0.5 in the Standard VTOL. I think this is the cause as to why the rotors turn very slowly in the tiltrotor simulation, but I can't figure out why this is happening since I did not change airframe parameters except for VT_TYPE and MAV_TYPE.
Can someone please point to where the problem could lie? Thank you very much!
To Reproduce
Edit tiltrotor sdf file in models folder: in the mavlink plugin set serialenabled to 1, serialDevice to (usb port), hilenabled to 1
Open QGroundControl, in application settings listen only to UDP, in vehicle settings set safety setting to HIL mode, then close QGroundControl again
Create new world file in worlds folder, include tiltrotor model
In terminal, run:
cd PX4-Autopilot
DONT_RUN=1 make px4_sitl_default gazebo-classic
source Tools/simulation/gazebo/setup_gazebo.bash $(pwd)
gazebo Tools/simulation/gazebo/sitlgazebo/worlds/hitl
Launch QGroundControl, plan mission and takeoff
Expected behavior
Rotors spin up fast and model takes off
Screenshot / Media
Tiltrotor VTOL Motor Outputs on the Left vs Standard VTOL Motor Outputs on the Right
Flight Log
Tiltrotor VTOL Flight Log:
https://review.px4.io/plot_app?log=d5ead83a-4169-41b1-9c76-c22ff2fd567a
Standard VTOL Flight Log:
https://review.px4.io/plot_app?log=1fac9d43-6548-47c3-b75a-d94e8a098f52
Describe the bug
Hi all, I'm trying to run tiltrotor VTOL HITL simulation in Gazebo Classic 11. I have connected to QGC and made the necessary modifications to the sdf file (setting serialEnabled to 1 and hilenabled to 1, as well as setting SYS_HITL to 1). QGC was able to connect as well. However, when commanded to take off (autonomous mission) from QGC, the rotors on the model simply rotate slowly and the model doesnt move at all. I have previously done this with standard vtol with no problems.
I compared the flight logs of the previous successful Standard VTOL HITL mission VS the current Tiltrotor VTOL HITL mission and discovered that the motor outputs in the Tiltrotor is only 0.1 VS 0.5 in the Standard VTOL. I think this is the cause as to why the rotors turn very slowly in the tiltrotor simulation, but I can't figure out why this is happening since I did not change airframe parameters except for VT_TYPE and MAV_TYPE.
Can someone please point to where the problem could lie? Thank you very much!
To Reproduce
Edit tiltrotor sdf file in models folder: in the mavlink plugin set serialenabled to 1, serialDevice to (usb port), hilenabled to 1
Open QGroundControl, in application settings listen only to UDP, in vehicle settings set safety setting to HIL mode, then close QGroundControl again
Create new world file in worlds folder, include tiltrotor model
In terminal, run:
Launch QGroundControl, plan mission and takeoff
Expected behavior
Rotors spin up fast and model takes off
Screenshot / Media
Tiltrotor VTOL Motor Outputs on the Left vs Standard VTOL Motor Outputs on the Right
Flight Log
Software Version
Flight controller
Pixhawk 4 Mini
Vehicle type
Hybrid VTOL
How are the different components wired up (including port information)
No response
Additional context
No response