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

44 lines
1.4 KiB
C
Raw Normal View History

2015-02-26 15:02:31 +00:00
/********************************* 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
2015-02-26 15:02:31 +00:00
#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