mirror of
https://github.com/nasa/trick.git
synced 2024-12-30 18:07:00 +00:00
33 lines
861 B
Plaintext
33 lines
861 B
Plaintext
|
/************************TRICK HEADER*************************
|
||
|
PURPOSE:
|
||
|
(This S_define works with the RUN_analytic input file)
|
||
|
LIBRARY DEPENDENCIES:
|
||
|
(
|
||
|
(cannon/gravity/src/cannon_init.c)
|
||
|
(cannon/gravity/src/cannon_analytic.c)
|
||
|
(cannon/gravity/src/cannon_default_data.c)
|
||
|
)
|
||
|
*************************************************************/
|
||
|
|
||
|
#include "sim_objects/default_trick_sys.sm"
|
||
|
|
||
|
##include "cannon/gravity/include/cannon.h"
|
||
|
##include "cannon/gravity/include/cannon_analytic_proto.h"
|
||
|
|
||
|
class CannonSimObject : public Trick::SimObject {
|
||
|
|
||
|
public:
|
||
|
CANNON cannon;
|
||
|
|
||
|
CannonSimObject() {
|
||
|
|
||
|
("default_data") cannon_default_data( &cannon ) ;
|
||
|
|
||
|
("initialization") cannon_init( &cannon ) ;
|
||
|
|
||
|
(0.01, "scheduled") cannon_analytic( &cannon ) ;
|
||
|
}
|
||
|
} ;
|
||
|
|
||
|
CannonSimObject dyn ;
|