mirror of
https://github.com/nasa/trick.git
synced 2024-12-21 06:03:10 +00:00
Update SIM_cannon_numeric
This commit is contained in:
parent
8b89bac5ad
commit
37a75bc34e
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
#execfile("Modified_data/realtime.py")
|
execfile("Modified_data/realtime.py")
|
||||||
execfile("Modified_data/cannon.dr")
|
execfile("Modified_data/cannon.dr")
|
||||||
|
|
||||||
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
|
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 5)
|
||||||
trick.exec_set_terminate_time(5.2)
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 4)
|
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 5)
|
||||||
trick.exec_set_terminate_time(5.2)
|
trick.exec_set_terminate_time(5.2)
|
||||||
|
@ -5,7 +5,7 @@ LIBRARY DEPENDENCIES:
|
|||||||
(
|
(
|
||||||
(cannon/gravity/src/cannon_default_data.c)
|
(cannon/gravity/src/cannon_default_data.c)
|
||||||
(cannon/gravity/src/cannon_init.c)
|
(cannon/gravity/src/cannon_init.c)
|
||||||
(cannon/gravity/src/cannon_deriv_impact.c)
|
(cannon/gravity/src/cannon_deriv.c)
|
||||||
(cannon/gravity/src/cannon_integ.c)
|
(cannon/gravity/src/cannon_integ.c)
|
||||||
(cannon/gravity/src/cannon_impact.c)
|
(cannon/gravity/src/cannon_impact.c)
|
||||||
)
|
)
|
||||||
@ -26,7 +26,7 @@ class CannonSimObject : public Trick::SimObject {
|
|||||||
|
|
||||||
("initialization") cannon_init( &cannon ) ;
|
("initialization") cannon_init( &cannon ) ;
|
||||||
|
|
||||||
("derivative") cannon_deriv_impact( &cannon ) ;
|
("derivative") cannon_deriv( &cannon ) ;
|
||||||
("integration") trick_ret = cannon_integ( &cannon ) ;
|
("integration") trick_ret = cannon_integ( &cannon ) ;
|
||||||
|
|
||||||
("dynamic_event") cannon_impact( &cannon) ;
|
("dynamic_event") cannon_impact( &cannon) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user