I have tried to implement the exemple of attitude control of a quarotor using simulink and pixhawk, the code is well generated and implemeted on the board
Ones I armed the motors I observed that some turns alone, and when I try to fly, the quadcopter seems unstable
You can use the estimated state of Pixhawk from uORB message instead of using the raw sensor data. Besides, our demo is very simple, you should add logic to initialize the controller according to the Pixhawk state.
I have tried to implement the exemple of attitude control of a quarotor using simulink and pixhawk, the code is well generated and implemeted on the board
Ones I armed the motors I observed that some turns alone, and when I try to fly, the quadcopter seems unstable
please if you have any suggestions