trick/trick_models/ball/L2/include/ball_altimeter.h
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
Changed all header file once include variables to follow the same naming
convention and not start with any underscores.  Also deleted old
incorrect copyright notices.  Also removed $Id: tags from all files.

Fixes #14.  Fixes #22.
2015-03-23 16:03:14 -05:00

45 lines
1.5 KiB
C

/********************************* 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
#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