Matlab and Simulink Flight Simulator Attitude Indicators!
Matlab and Simulink Flight Simulator Attitude Indicators!
(OP)
Hey everyone
I'm working on a flight simulator at the moment within Matlab. I've hooked it up to a joystick and i have great control of yaw, roll, pitch, VTOL, thrust reversers and more! One nice little feature I have made in an m-file is an altitude and speed indicator. These indicators are basically two plots of an outer circle and inner circle and then a dial inside pointing to a value.
The idea is as the aircraft flies, the dial changes indicating speed.
However, I can't quite figure out how to implement this in real time within simulink. I can't use X-Y plots as I require more than one plot on the figure. The needle needs to move simultaneously (or at least with as little delay as possible) with the simulation.
Any help would be greatly appreciated!!!
I'm working on a flight simulator at the moment within Matlab. I've hooked it up to a joystick and i have great control of yaw, roll, pitch, VTOL, thrust reversers and more! One nice little feature I have made in an m-file is an altitude and speed indicator. These indicators are basically two plots of an outer circle and inner circle and then a dial inside pointing to a value.
The idea is as the aircraft flies, the dial changes indicating speed.
However, I can't quite figure out how to implement this in real time within simulink. I can't use X-Y plots as I require more than one plot on the figure. The needle needs to move simultaneously (or at least with as little delay as possible) with the simulation.
Any help would be greatly appreciated!!!





RE: Matlab and Simulink Flight Simulator Attitude Indicators!
Once you have determined the airspeed your modeled aircraft is traveling, and relative wind, you will be able to claculate ground speed.
In theory, there is no difference between theory and practice; experience suggests that in practice, there is.
RE: Matlab and Simulink Flight Simulator Attitude Indicators!
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: Matlab and Simulink Flight Simulator Attitude Indicators!
TTFN

FAQ731-376: Eng-Tips.com Forum Policies