RflySim / RflyExpCode

Multicopter Design and Control Experiments based on MATLAB and PixHawk
https://rflysim.com
176 stars 92 forks source link

I want to reset #71

Closed mych907 closed 2 years ago

mych907 commented 3 years ago

I'd like to know how to reset the pixhawk (firmware-related).

I was performing the example that you kindly posted. (https://rflysim.com/en/3_Using/Examples.html)

I modified and uploaded the controller because I was curious while uploading the controller of "e03.DesignExpsExp4_AttitudeSystemCodeGen.slx" to Pixhawk.

As a result, simulation using Coptersim does not work, and a message as shown in the picture below comes out.

I tried as the instructions in the figure below, but seeing that it didn't work out, I think there was a problem during the other upload process, so can I know how to solve i answer t?

RflySim commented 3 years ago

You can use QGroundControl to install a PX4 official firmware to reset. Has your driver been installed correctly? it seems like the COM port is wrong or failed.