I’m new to Px4, was using Ardupilot till now. So I am using setpoint_raw/attitude topic to publish thrusts to move my drone from one coordinate to another. It was working on Ardupilot SITL, but as I faced some issues with Ardupilot and Gazebo, I have shifter to Px4.
So the problem now is if I give any value for the thrust, the drone just oscillates and crashes. A thrust of 0.5 worked previously, but not here. So here are all my questions.
- Why does the drone crash for all values of thrust.
- Why am I able to set OFFBOARD mode only after I publish to the topic (else it gives a Time Out error)
- Is setpoint_raw/attitude supported and working for px4.