mirror of
https://github.com/nasa/trick.git
synced 2025-01-05 04:44:16 +00:00
14a75508a3
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.
45 lines
1.5 KiB
C
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
|
|
|