mirror of
https://github.com/nasa/trick.git
synced 2024-12-27 08:32:30 +00:00
35 lines
946 B
Plaintext
35 lines
946 B
Plaintext
/************************TRICK HEADER*************************
|
|
PURPOSE:
|
|
(This S_define works with the RUN_numeric input file)
|
|
LIBRARY DEPENDENCIES:
|
|
(
|
|
(msd/src/msd.cpp)
|
|
(msd/src/msd_default_data.cpp)
|
|
(msd/src/msd_deriv.cpp)
|
|
(msd/src/msd_init.cpp)
|
|
(msd/src/msd_integ.cpp)
|
|
(msd/src/msd_shutdown.cpp)
|
|
)
|
|
*************************************************************/
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
#include "sim_objects/WebServer.sm"
|
|
##include "msd/include/msd.hh"
|
|
|
|
|
|
class MSDSimObject : public Trick::SimObject {
|
|
|
|
public:
|
|
MSD msd ;
|
|
|
|
MSDSimObject() {
|
|
("default_data") MSD::default_data( msd ) ;
|
|
("initialization") msd.init() ;
|
|
("derivative") msd.state_deriv() ;
|
|
("integration") trick_ret= msd.state_integ() ;
|
|
("shutdown") msd.shutdown() ;
|
|
}
|
|
} ;
|
|
|
|
MSDSimObject dyn ;
|
|
IntegLoop dyn_integloop (0.01) dyn ; |