taiwancros.blogg.se

Simulink and flightgear
Simulink and flightgear






I found this later altitude to match perfectly with what FlightGear is also using for it's ground terrain mesh. too low) the altitude above Mean Sea level, which I understand is based on the WGS84 Earth model. For the area of the world where I was flying (around Clarenville, Newfoundland) I found that this was approximately -8m off (i.e. Here's the scoop:The thing called "altitude" in AeroSIM is the altitude based on the EGS96 "ellipsoid earth model". I too noticed the descrepancy in FlightGear versus the altitude I saw in AeroSIM/Matlab. The short answer is YES - I am using a Simulink model (using AeroSIM) to simulate a landing of an aircraft, and using FlightGear to visualize. I've switched over to using MSL in my AeroSIM model to match up with FG, so at least my aircraft "looks" like it's actually sitting on the ground!BTW - you can monitor the internal FG variable called /position/ground-elev-m which you'll see matches the MSL variable in AeroSIM (or any other WGS84-based aeorsim) very well.I'm currently inverstigating if there is a way to send FG variable information BACK to MATLAB.








Simulink and flightgear