trick/trick_models/ball/L2/include/ball_altimeter.h

45 lines
1.5 KiB
C
Raw Normal View History

2015-02-26 09:02:31 -06:00
/********************************* TRICK HEADER *******************************
PURPOSE:
(Ball model altitude sensing parameter definition.)
REFERENCE:
(((Bailey, R.W, and Paddock, E.J.)
(Trick Simulation Environment) (NASA:JSC #37943)
(JSC/Engineering Directorate/Automation, Robotics and Simulation Division)
(March 1997)))
ASSUMPTIONS AND LIMITATIONS:
((Gaussian psuedo-random noise)
(Constant bias))
PROGRAMMERS:
(((Your Name) (Company Name) (Date) (Trick tutorial)))
*******************************************************************************/
#ifndef BALL_ALTITUDE_H
#define BALL_ALTITUDE_H
2015-02-26 09:02:31 -06:00
#include "sim_services/include/Flag.h"
typedef struct { /* BALT_IN --------------------------------------------------*/
Flag add_noise ; /* -- Yes = Add noise to sensed altitude */
Flag add_bias ; /* -- Yes = Add bias to sensed altitude */
double noise ; /* M 1 sigma noise */
double bias ; /* M Measurement bias */
} BALT_IN ; /*----------------------------------------------------------------*/
typedef struct { /* BALT_OUT -------------------------------------------------*/
double altitude ; /* M Sensed altitude */
} BALT_OUT ; /*---------------------------------------------------------------*/
typedef struct { /* BALT -----------------------------------------------------*/
BALT_IN input ; /* -- User inputs */
BALT_OUT output ; /* -- User outputs */
} BALT ; /*-------------------------------------------------------------------*/
#endif