mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +00:00
4f5ce7e4a1
closes #938 closes #941 closes #943
35 lines
949 B
Plaintext
35 lines
949 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 ; |