PX4-Autopilot: [Bug] HITL simulation motors not spinning PX4 v1.14.0
Describe the bug
The first problem with hitl was observed in the Airsim simulator when upgraded to the 1.14 version of PX4. Until that with 1.13.3 version Airsim worked just fine ( had a problem with mission uploading, but unrelated to this issue). Then we thought the problem was in the Airsim side, so tried to run the Gazebo hitl simulation, but problem was also present there. As everything connects to each-other without problem, commands also reach and even we can see signal to the motor commands in the logs. But the motors is not spinning. I suspect that the cause might be the dynamic mixer allocation related somehow.
To Reproduce
- Upload 1.14.0 version to the flight controller from QGC
git clone --branch release/1.14 https://github.com/PX4/PX4-Autopilot.git --recursive
- Follow the HITL Simulation guide.
Expected behavior
The uav, quadcopter in this case to spin its motors and fly according to the rc input or mission.
Screenshot / Media
Flight Log
From gazebo: https://logs.px4.io/plot_app?log=0fc1709f-9ab5-4cbc-bb72-fb596af114f8
From Airsim: https://logs.px4.io/plot_app?log=11c84cd4-e76a-4c20-81fe-5afaaeee8ce7
Software Version
v1.14.0
Flight controller
Cube Orange with ADSB carieer board
Vehicle type
Multicopter
How are the different components wired up (including port information)
Cube Orange plugged into the pc using Serial and other connections are default UDP ports.
Additional context
No response
About this issue
- Original URL
- State: open
- Created 6 months ago
- Reactions: 3
- Comments: 15
I’m using cubeorangeplus.And next thing solved this issue: In file boards/cubepilot/cubeorangeplus/default.px4board add line: CONFIG_MODULES_SIMULATION_PWM_OUT_SIM=y Now I’m running HIL Standard VTOL with Gazebo Classic and everything runs as expected (according to https://docs.px4.io/v1.14/en/simulation/hitl.html).
May I ask if your motors will move if you move the sliders under Actuators in QGC? Good question.I have never checked it. No,it’s not moving under Actuators but after created some flight and start mission it’s moving.
MAVLink Console nsh>help ===> Check if pwm_out_sim module exists. Check QGroundControl MAVLink Inspector window HIL_ACTUATOR_CONTROLS message existing And first of all I have checked in Wireshark if any udp messages sent to the port 14550 (listen port of Gazebo Classic). And one important thing:I’m using Gazebo Classic,not new Gazebo.
Hi, unfortunately no, still waiting response from maintainers.