I am attempting to create a HIL simulation with arducopter, but the X-plane arducopter model is not recognized by X-plane. I am using the QRO_X model to simulate arducopter, but when I try to open the aircraft in X-plane I receive the error:

I tried to open the following plane, but could not. This smacks of a corrupted airplane file, or a file that is not really an airplane file, or a missing airplane file altogether.

I followed the instructions here: http://code.google.com/p/ardupilot-mega/wiki/Xplane, except for I tried to use the arducopter model instead of the plane model. I was also planning on using the parameter file for x-plane arducopter instead of the plane parameter file on the wiki.

What could be causing this error? The arducopter model is supposed to open, right?

Views: 822

Reply to This

Replies to This Discussion

Alas, one of the things that HiL is *not* good at, at least with the current technologies, is PID-related tuning. Because there is a lot of variability in the latency of sensor data, and of output effect on the simulation, in HiL, where as the timing is more or less fixed in the real life by the distance of the sensor bus, and the laws of physics and servo response times, these two things do not match. In fact, your HiL experience can not only vary from one computer to another, but also between sessions on the same computer (if, for example, you have an AV scan kick off in the background, or are using more or less CPU and/or memory than during a previous flight.)

You'll have a better experience (but still not exactly like the actual aircraft) using SiL rather than HiL if PIDs (stabilize, navigation, alt hold, etc) simulation is your objective, or better, using Jason's flash-based simulator. HiL, however, is useful for testing out the logic of mission scripts, testing specialized flight features like landing flare, geofencing, and testing payload control before putting the gear to a flight test. 

By the way, I was just switching back to HiL ArduPlane, now that I don't need HiL Quad again, and I got the same failure to download error you saw before. I just waited a few seconds and told it to load again, and it was able to connect, pull the hil image, and push the image. You should expect to be able to load the firmware from within MP. If you cannot, consistently, check your Internet connection or let some people here know, as there might be a problem with the code.google.com Website or the files at the site. 

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service