Remove SIM_jet_call, SIM_jet_event, and SIM_jet_read directories.

This commit is contained in:
John M. Penn 2015-09-04 11:13:44 -05:00
parent 6492e2509a
commit d160d70990
16 changed files with 0 additions and 383 deletions

View File

@ -1,13 +0,0 @@
drg = []
drg.append(trick.DRAscii("cannon_aero"))
#drg[0] = trick.DRAscii("cannon_aero")
drg[0].set_freq(trick.DR_Always)
drg[0].set_cycle(0.01)
drg[0].add_variable("dyn.baseball.pos[0]")
drg[0].add_variable("dyn.baseball.pos[1]")
#drg[0].add_variable("dyn.baseball.pos[2]")
trick.add_data_record_group( drg[0], trick.DR_Buffer )
drg[0].enable()

View File

@ -1,31 +0,0 @@
#execfile("Modified_data/realtime.py")
execfile("Modified_data/cannon_aero.dr")
dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1
dyn.baseball.pos[2] = 2.0
dyn.baseball.vel[0] = -30.0
dyn.baseball.vel[1] = -0.1
dyn.baseball.vel[2] = 1.0
dyn.baseball.theta = trick.attach_units("d",-90.0)
dyn.baseball.phi = trick.attach_units("d",1.0)
dyn.baseball.omega0 = trick.attach_units("rev/s",30.0)
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)
my_event = trick.new_event("my_event")
my_event.set_cycle(0.01)
my_event.condition(0,"""dyn.baseball.pos[0] <= 9.0 """)
my_event.action(0,"""
dyn.baseball.jet_on = 1
trick.cannon_force_jet(dyn.baseball)
""")
trick.add_event(my_event)
my_event.activate()
trick.exec_set_terminate_time(1.0)

View File

@ -1,28 +0,0 @@
dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1
dyn.baseball.pos[2] = 2.0
dyn.baseball.vel[0] = -30.0
dyn.baseball.vel[1] = -0.1
dyn.baseball.vel[2] = 1.0
dyn.baseball.theta = trick.attach_units("d",-90.0)
dyn.baseball.phi = trick.attach_units("d",1.0)
dyn.baseball.omega0 = trick.attach_units("rev/s",30.0)
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)
my_event = trick.new_event("my_event")
my_event.set_cycle(0.01)
my_event.condition(0,"""dyn.baseball.pos[0] <= 9.0 """)
my_event.action(0,"""
dyn.baseball.jet_on = 1
trick.cannon_force_jet(dyn.baseball)
""")
trick.add_event(my_event)
my_event.activate()
trick.exec_set_terminate_time(1.0)

View File

@ -1,57 +0,0 @@
/************************TRICK HEADER*************************
PURPOSE:
(This S_define works with the jet simulation (RUN_jet_event, Run_jet_call, RUN_jet_read, & RUN_jet_nofire input files))
LIBRARY DEPENDENCIES:
(
(cannon/aero/src/cannon_init_aero.c)
(cannon/aero/src/cannon_force_gravity.c)
(cannon/aero/src/cannon_force_drag.c)
(cannon/aero/src/cannon_force_lift.c)
(cannon/aero/src/cannon_force_cross.c)
(cannon/aero/src/cannon_collect_forces.c)
(cannon/aero/src/cannon_integ_aero.c)
(cannon/aero/src/cannon_impact_aero.c)
(cannon/aero/src/cannon_force_jet.c)
(cannon/aero/src/cannon_aero_default_data.c)
)
*************************************************************/
#include "sim_objects/default_trick_sys.sm"
##include "cannon/aero/include/cannon_aero.h"
##include "cannon/aero/include/cannon_jet_proto.h"
class CannonSimObject : public Trick::SimObject {
public:
CANNON_AERO baseball;
CannonSimObject() {
("default_data") cannon_aero_default_data( &baseball ) ;
("initialization") cannon_init_aero( &baseball ) ;
("derivative") cannon_force_gravity( &baseball ) ;
("derivative") cannon_force_drag( &baseball ) ;
("derivative") cannon_force_lift( &baseball ) ;
("derivative") cannon_force_cross( &baseball ) ;
("derivative") cannon_collect_forces( &baseball ) ;
("integration") trick_ret = cannon_integ_aero( &baseball ) ;
(0.1, "effector") cannon_force_jet( &baseball ) ;
("dynamic_event") cannon_impact_aero( &baseball ) ;
}
} ;
CannonSimObject dyn ;
IntegLoop dyn_integloop (0.01) dyn ;
collect dyn.baseball.force_collect = {
dyn.baseball.force_gravity[0],
dyn.baseball.force_drag[0],
dyn.baseball.force_magnus[0],
dyn.baseball.force_cross[0],
dyn.baseball.force_jet[0]} ;

View File

@ -1,4 +0,0 @@
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models

View File

@ -1,13 +0,0 @@
drg = []
drg.append(trick.DRAscii("cannon_aero"))
#drg[0] = trick.DRAscii("cannon_aero")
drg[0].set_freq(trick.DR_Always)
drg[0].set_cycle(0.01)
drg[0].add_variable("dyn.baseball.pos[0]")
drg[0].add_variable("dyn.baseball.pos[1]")
#drg[0].add_variable("dyn.baseball.pos[2]")
trick.add_data_record_group( drg[0], trick.DR_Buffer )
drg[0].enable()

View File

@ -1,29 +0,0 @@
#execfile("Modified_data/realtime.py")
execfile("Modified_data/cannon_aero.dr")
dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1
dyn.baseball.pos[2] = 2.0
dyn.baseball.vel[0] = -30.0
dyn.baseball.vel[1] = -0.1
dyn.baseball.vel[2] = 1.0
dyn.baseball.theta = trick.attach_units("d",-90.0)
dyn.baseball.phi = trick.attach_units("d",1.0)
dyn.baseball.omega0 = trick.attach_units("rev/s",30.0)
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)
my_event = trick.new_event("my_event")
my_event.set_cycle(0.01)
my_event.condition(0,"""dyn.baseball.pos[0] <= 9.0 """)
my_event.action(0,"""
dyn.baseball.jet_on = 1
""")
trick.add_event(my_event)
my_event.activate()
trick.exec_set_terminate_time(1.0)

View File

@ -1,26 +0,0 @@
dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1
dyn.baseball.pos[2] = 2.0
dyn.baseball.vel[0] = -30.0
dyn.baseball.vel[1] = -0.1
dyn.baseball.vel[2] = 1.0
dyn.baseball.theta = trick.attach_units("d",-90.0)
dyn.baseball.phi = trick.attach_units("d",1.0)
dyn.baseball.omega0 = trick.attach_units("rev/s",30.0)
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)
my_event = trick.new_event("my_event")
my_event.set_cycle(0.01)
my_event.condition(0,"""dyn.baseball.pos[0] <= 9.0 """)
my_event.action(0,"""
dyn.baseball.jet_on = 1
""")
trick.add_event(my_event)
my_event.activate()
trick.exec_set_terminate_time(1.0)

View File

@ -1,57 +0,0 @@
/************************TRICK HEADER*************************
PURPOSE:
(This S_define works with the jet simulation (RUN_jet_event, Run_jet_call, RUN_jet_read, & RUN_jet_nofire input files))
LIBRARY DEPENDENCIES:
(
(cannon/aero/src/cannon_init_aero.c)
(cannon/aero/src/cannon_force_gravity.c)
(cannon/aero/src/cannon_force_drag.c)
(cannon/aero/src/cannon_force_lift.c)
(cannon/aero/src/cannon_force_cross.c)
(cannon/aero/src/cannon_collect_forces.c)
(cannon/aero/src/cannon_integ_aero.c)
(cannon/aero/src/cannon_impact_aero.c)
(cannon/aero/src/cannon_force_jet.c)
(cannon/aero/src/cannon_aero_default_data.c)
)
*************************************************************/
#include "sim_objects/default_trick_sys.sm"
##include "cannon/aero/include/cannon_aero.h"
##include "cannon/aero/include/cannon_jet_proto.h"
class CannonSimObject : public Trick::SimObject {
public:
CANNON_AERO baseball;
CannonSimObject() {
("default_data") cannon_aero_default_data( &baseball ) ;
("initialization") cannon_init_aero( &baseball ) ;
("derivative") cannon_force_gravity( &baseball ) ;
("derivative") cannon_force_drag( &baseball ) ;
("derivative") cannon_force_lift( &baseball ) ;
("derivative") cannon_force_cross( &baseball ) ;
("derivative") cannon_collect_forces( &baseball ) ;
("integration") trick_ret = cannon_integ_aero( &baseball ) ;
(0.1, "effector") cannon_force_jet( &baseball ) ;
("dynamic_event") cannon_impact_aero( &baseball ) ;
}
} ;
CannonSimObject dyn ;
IntegLoop dyn_integloop (0.01) dyn ;
collect dyn.baseball.force_collect = {
dyn.baseball.force_gravity[0],
dyn.baseball.force_drag[0],
dyn.baseball.force_magnus[0],
dyn.baseball.force_cross[0],
dyn.baseball.force_jet[0]} ;

View File

@ -1,4 +0,0 @@
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models

View File

@ -1,13 +0,0 @@
drg = []
drg.append(trick.DRAscii("cannon_aero"))
#drg[0] = trick.DRAscii("cannon_aero")
drg[0].set_freq(trick.DR_Always)
drg[0].set_cycle(0.01)
drg[0].add_variable("dyn.baseball.pos[0]")
drg[0].add_variable("dyn.baseball.pos[1]")
#drg[0].add_variable("dyn.baseball.pos[2]")
trick.add_data_record_group( drg[0], trick.DR_Buffer )
drg[0].enable()

View File

@ -1,22 +0,0 @@
#execfile("Modified_data/realtime.py")
execfile("Modified_data/cannon_aero.dr")
dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1
dyn.baseball.pos[2] = 2.0
dyn.baseball.vel[0] = -30.0
dyn.baseball.vel[1] = -0.1
dyn.baseball.vel[2] = 1.0
dyn.baseball.theta = trick.attach_units("d",-90.0)
dyn.baseball.phi = trick.attach_units("d",1.0)
dyn.baseball.omega0 = trick.attach_units("rev/s",30.0)
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)
trick.add_read(0.4 , """
dyn.baseball.jet_on = 1 """)
trick.exec_set_terminate_time(1.0)

View File

@ -1,19 +0,0 @@
dyn.baseball.pos[0] = 16.0
dyn.baseball.pos[1] = 0.1
dyn.baseball.pos[2] = 2.0
dyn.baseball.vel[0] = -30.0
dyn.baseball.vel[1] = -0.1
dyn.baseball.vel[2] = 1.0
dyn.baseball.theta = trick.attach_units("d",-90.0)
dyn.baseball.phi = trick.attach_units("d",1.0)
dyn.baseball.omega0 = trick.attach_units("rev/s",30.0)
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 6)
trick.add_read(0.4 , """
dyn.baseball.jet_on = 1 """)
trick.exec_set_terminate_time(1.0)

View File

@ -1,57 +0,0 @@
/************************TRICK HEADER*************************
PURPOSE:
(This S_define works with the jet simulation (RUN_jet_event, Run_jet_call, RUN_jet_read, & RUN_jet_nofire input files))
LIBRARY DEPENDENCIES:
(
(cannon/aero/src/cannon_init_aero.c)
(cannon/aero/src/cannon_force_gravity.c)
(cannon/aero/src/cannon_force_drag.c)
(cannon/aero/src/cannon_force_lift.c)
(cannon/aero/src/cannon_force_cross.c)
(cannon/aero/src/cannon_collect_forces.c)
(cannon/aero/src/cannon_integ_aero.c)
(cannon/aero/src/cannon_impact_aero.c)
(cannon/aero/src/cannon_force_jet.c)
(cannon/aero/src/cannon_aero_default_data.c)
)
*************************************************************/
#include "sim_objects/default_trick_sys.sm"
##include "cannon/aero/include/cannon_aero.h"
##include "cannon/aero/include/cannon_jet_proto.h"
class CannonSimObject : public Trick::SimObject {
public:
CANNON_AERO baseball;
CannonSimObject() {
("default_data") cannon_aero_default_data( &baseball ) ;
("initialization") cannon_init_aero( &baseball ) ;
("derivative") cannon_force_gravity( &baseball ) ;
("derivative") cannon_force_drag( &baseball ) ;
("derivative") cannon_force_lift( &baseball ) ;
("derivative") cannon_force_cross( &baseball ) ;
("derivative") cannon_collect_forces( &baseball ) ;
("integration") trick_ret = cannon_integ_aero( &baseball ) ;
(0.1, "effector") cannon_force_jet( &baseball ) ;
("dynamic_event") cannon_impact_aero( &baseball ) ;
}
} ;
CannonSimObject dyn ;
IntegLoop dyn_integloop (0.01) dyn ;
collect dyn.baseball.force_collect = {
dyn.baseball.force_gravity[0],
dyn.baseball.force_drag[0],
dyn.baseball.force_magnus[0],
dyn.baseball.force_cross[0],
dyn.baseball.force_jet[0]} ;

View File

@ -1,4 +0,0 @@
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models

View File

@ -17,9 +17,6 @@ COMPILE_DIRS = SIM_Ball++_L1 \
SIM_demo_inputfile \
SIM_demo_sdefine \
SIM_events \
SIM_jet_call \
SIM_jet_event \
SIM_jet_read \
SIM_monte \
SIM_rti \
SIM_satellite \
@ -59,9 +56,6 @@ TEST_DIRS = SIM_Ball++_L1 \
SIM_cannon_integ \
SIM_demo_sdefine \
SIM_events \
SIM_jet_call \
SIM_jet_event \
SIM_jet_read \
SIM_monte \
SIM_rti \
SIM_stls \