Board index FlightGear Support Interfacing

Non-linear aircraft model in matlab

Connecting two computers, using generic protocol, connecting with Matlab?

Non-linear aircraft model in matlab

Postby Sunny » Sat Jul 23, 2016 6:19 pm

I have linear state space model and non-linear aircraft model as well. how can i interface my non-linear model in matlab with flightgear??
i have designed an autopilot and i want to simulate it with aircraft in flightgear.
anybody have any idea how to do it????
Sunny
 
Posts: 1
Joined: Sat Jul 23, 2016 6:11 pm

Re: Non-linear aircraft model in matlab

Postby JM_Olmos » Thu Sep 22, 2016 9:10 am

Hi,

In the matlab webpage you can find the example for the HL20 http://fr.mathworks.com/help/aeroblks/examples/nasa-hl-20-with-optional-flightgear-interface.html. If you follow the instructions by modifying what you want should be easy...
JM_Olmos
 
Posts: 9
Joined: Tue Jul 12, 2016 9:14 am

Re: Non-linear aircraft model in matlab

Postby chump2000 » Tue Jun 23, 2020 5:29 pm

Apologies if this in not the correct forum page, but I actually have a problem running the HL20. Matlab looks fine but then flight gear will start but no aircraft will be present.
chump2000
 
Posts: 1
Joined: Tue Jun 23, 2020 5:24 pm

Re: Non-linear aircraft model in matlab

Postby wkitty42 » Tue Jun 23, 2020 6:15 pm

did you follow the instructions to copy the HL20 folder to an aircraft folder that FG knows about??
https://fr.mathworks.com/help/aeroblks/working-with-the-flight-simulator-interface.html#f3-19773
new URL because the one linked higher in this topic is no longer valid...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9161
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04


Return to Interfacing

Who is online

Users browsing this forum: No registered users and 3 guests