13.07.2015 Views

An Integrated, Modular Simulation System for Education ... - Cal Poly

An Integrated, Modular Simulation System for Education ... - Cal Poly

An Integrated, Modular Simulation System for Education ... - Cal Poly

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Abbreviated Stick Help filefunction [pitch,roll,yaw,r_throttle, l_throttle]=ph_stick()%ph_stick.c Simulink/RTW s-function Pheagle Flight sim cab input.%% [pitch,roll,yaw,r_throttle, l_throttle]=ph_stick()% This is a basic input block that reads stick, pedal and throttle% positions from the Pheagle sim cab. The <strong>for</strong>ces are done with% the instrument/output block so that all the input and all the% output are done in the same blocks.%% The limits <strong>for</strong> the stick output are set at +-1 so% any other limits can be set using a gain block to alter the% control signal comming out.%%outputs:% pitch command angle +- 1% roll command angle +- 1% yaw command angle +- 1% right throttle - 0 to 1% left throttle - 0 to 1%% NOTE: this is a help block only there is no function% attached to this m-file%% Doug Hiranaka 9-27-98% Copyright (c) 1998 by Penguin Aeronautics.140

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!