mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
37 lines
1.0 KiB
C++
37 lines
1.0 KiB
C++
/*************************************************************************
|
|
PURPOSE: (Parachutist Structure)
|
|
LIBRARY DEPENDENCIES:
|
|
(
|
|
(parachutist/src/Parachutist.o)
|
|
)
|
|
|
|
**************************************************************************/
|
|
|
|
#ifndef _parachutist_hh_
|
|
#define _parachutist_hh_
|
|
#include "sim_services/Integrator/include/regula_falsi.h"
|
|
|
|
class Parachutist {
|
|
|
|
public:
|
|
double altitude ; /* m xyz-position */
|
|
double velocity ; /* m/s xyz-velocity */
|
|
double acceleration ; /* m/s2 xyz-acceleration */
|
|
|
|
double area; /* m2 */
|
|
double Cd; /* -- */
|
|
double mass; /* kg */
|
|
|
|
bool touchDown; /* -- */
|
|
|
|
REGULA_FALSI rf ;
|
|
|
|
int default_data();
|
|
int state_init();
|
|
int state_deriv();
|
|
int state_integ();
|
|
double touch_down(double groundAltitude);
|
|
};
|
|
|
|
#endif
|