mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Disable unneeded SimObjects from default_trick_sys.sm in Trick exampl… (#1719)
* Disable unneeded SimObjects from default_trick_sys.sm in Trick example sims. * Take out unit test disable. Add some S_defines I forgot.
This commit is contained in:
parent
fdb2bb20b9
commit
ee2f824550
@ -7,7 +7,13 @@ LIBRARY DEPENDENCIES:
|
||||
(Aircraft/src/Waypoint.cpp)
|
||||
)
|
||||
**************************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "Aircraft/include/Aircraft.hh"
|
||||
##include "Aircraft/include/Waypoint.hh"
|
||||
|
||||
|
@ -5,7 +5,13 @@ LIBRARY DEPENDENCIES:
|
||||
((balloon/src/Balloon.cpp)
|
||||
(atmosphere/src/atmosphere.c))
|
||||
*************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "balloon/include/Balloon.hh"
|
||||
|
||||
class BalloonSimObject : public Trick::SimObject {
|
||||
|
@ -4,7 +4,13 @@ PURPOSE:
|
||||
LIBRARY DEPENDENCIES:
|
||||
((pool_table/src/pool_table.cpp))
|
||||
*************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "pool_table/include/pool_table.hh"
|
||||
|
||||
class PoolTableSimObject : public Trick::SimObject {
|
||||
|
@ -4,7 +4,13 @@ PURPOSE:
|
||||
LIBRARY DEPENDENCIES:
|
||||
((contact/src/Contact.cpp))
|
||||
*************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "contact/include/Contact.hh"
|
||||
class ContactSimObject : public Trick::SimObject {
|
||||
public:
|
||||
|
@ -5,7 +5,13 @@ LIBRARY DEPENDENCIES:
|
||||
((lander/src/Lander.cpp)
|
||||
(PIDController/src/PIDController.cpp))
|
||||
*************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "lander/include/Lander.hh"
|
||||
class LanderSimObject : public Trick::SimObject {
|
||||
public:
|
||||
|
@ -11,8 +11,13 @@ LIBRARY DEPENDENCIES:
|
||||
(msd/src/msd_shutdown.cpp)
|
||||
)
|
||||
*************************************************************/
|
||||
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
// #include "sim_objects/WebServer.sm"
|
||||
##include "msd/include/msd.hh"
|
||||
|
||||
@ -32,4 +37,5 @@ class MSDSimObject : public Trick::SimObject {
|
||||
} ;
|
||||
|
||||
MSDSimObject dyn ;
|
||||
IntegLoop dyn_integloop (0.01) dyn ;
|
||||
IntegLoop dyn_integloop (0.01) dyn ;
|
||||
|
||||
|
@ -4,7 +4,11 @@ PURPOSE:
|
||||
LIBRARY DEPENDENCIES:
|
||||
((parachute/src/Parachutist.cpp))
|
||||
*************************************************************/
|
||||
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "parachute/include/Parachutist.hh"
|
||||
|
@ -6,8 +6,13 @@ LIBRARY DEPENDENCIES:
|
||||
(manipulator/manipulator.cc)
|
||||
)
|
||||
*************************************************************/
|
||||
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "include/trick/exec_proto.h"
|
||||
##include "manipulator/manipulator.hh"
|
||||
|
||||
|
@ -4,7 +4,13 @@ PURPOSE:
|
||||
LIBRARY DEPENDENCIES:
|
||||
((rocket/src/Rocket.cpp))
|
||||
*************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "rocket/include/Rocket.hh"
|
||||
class ModelRocketSimObject : public Trick::SimObject {
|
||||
public:
|
||||
|
@ -4,7 +4,13 @@ PURPOSE:
|
||||
LIBRARY DEPENDENCIES:
|
||||
((satellite/src/Satellite.cpp))
|
||||
*************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "satellite/include/Satellite.hh"
|
||||
class SatelliteSimObject : public Trick::SimObject {
|
||||
public:
|
||||
|
@ -5,8 +5,13 @@ LIBRARY DEPENDENCIES:
|
||||
(
|
||||
)
|
||||
*************************************************************/
|
||||
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "Satellite/include/Satellite.hh"
|
||||
##include "Satellite/include/SatGraphicsComm.hh"
|
||||
|
||||
|
@ -5,7 +5,13 @@ LIBRARY DEPENDENCIES:
|
||||
((CrewModule/src/CrewModuleDynamics.o)
|
||||
(CrewModule/src/CrewModuleShape.o))
|
||||
**************************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "CrewModule/include/CrewModuleDynamics.hh"
|
||||
|
||||
class CrewModuleSimObject : public Trick::SimObject {
|
||||
|
@ -4,7 +4,13 @@ PURPOSE:
|
||||
LIBRARY DEPENDENCIES:
|
||||
((submarine/src/Submarine.cpp))
|
||||
*************************************************************/
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "submarine/include/Submarine.hh"
|
||||
|
||||
class SubmarineSimObject : public Trick::SimObject {
|
||||
|
@ -15,10 +15,13 @@ LIBRARY DEPENDENCIES:
|
||||
(Sun/src/sun_pred_slow_display.c)
|
||||
)
|
||||
*************************************************************/
|
||||
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
|
||||
##include "Sun/include/sun_pred.h"
|
||||
##include "sim_services/MemoryManager/include/wcs_ext.h"
|
||||
|
||||
|
@ -8,8 +8,13 @@ LIBRARY DEPENDENCIES:
|
||||
(waterclock/src/waterclock_shutdown.c)
|
||||
)
|
||||
*************************************************************/
|
||||
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "waterclock/include/waterclock_numeric.h"
|
||||
|
||||
class WaterClockSimObject : public Trick::SimObject {
|
||||
|
@ -5,7 +5,11 @@ LIBRARY DEPENDENCIES:
|
||||
((Vehicle/src/vehicleOne.cpp)
|
||||
(Control/src/PIDController.cpp))
|
||||
*************************************************************/
|
||||
|
||||
#define TRICK_NO_MONTE_CARLO
|
||||
#define TRICK_NO_MASTERSLAVE
|
||||
#define TRICK_NO_INSTRUMENTATION
|
||||
#define TRICK_NO_REALTIMEINJECTOR
|
||||
#define TRICK_NO_ZEROCONF
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "Vehicle/include/vehicleOne.hh"
|
||||
|
Loading…
Reference in New Issue
Block a user