trick/trick_models/ball/L2/include/ball_jet.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

44 lines
1.4 KiB
C

/********************************* TRICK HEADER *******************************
PURPOSE:
(Ball model reaction control jet 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:
((2 jets)
(jet 0 fires down)
(jet 1 fires up))
PROGRAMMERS:
(((Your Name) (Company Name) (Date) (Trick tutorial)))
*******************************************************************************/
#ifndef BALL_JET_H
#define BALL_JET_H
#include "sim_services/include/Flag.h"
typedef struct { /* BJET_IN --------------------------------------------------*/
Flag jet_fail[2] ; /* -- Yes = jet will not fire */
double force[2] ; /* N Resulting force magnitude from each jet */
} BJET_IN ; /*----------------------------------------------------------------*/
typedef struct { /* BJET_OUT -------------------------------------------------*/
double force[2] ; /* N Resulting X,Y force on ball */
} BJET_OUT ; /*---------------------------------------------------------------*/
typedef struct { /* BJET -----------------------------------------------------*/
BJET_IN input ; /* -- User inputs */
BJET_OUT output ; /* -- User outputs */
} BJET ; /*-------------------------------------------------------------------*/
#endif