I tried running the Ardupilot MATLAB SITL demo code, the video of which is located in this link
I use the same setup that is used in the video. I started the SIM_multicopter.m code without getting any error but when i run SITL code with this command
sim_vehicle.py -v ArduCopter -f json:192.168.68.108 --map --console
I got an error AP: PreArm: Check firmware or FRAME_CLASS. And because of this error simulation did not run properly. How can i solve this problem?
Thanks for your response