Split test sims and fun sims into separate directories.

I created an ODE directory and moved the ODE sims into it.  I moved
the Ball++ models into SIM_Ball++_L1 and flattened the directory
structure.

refs #191
This commit is contained in:
Alex Lin 2016-02-25 16:04:27 -06:00
parent bf80dcc03f
commit 5a7cd1839b
30 changed files with 42 additions and 42 deletions

View File

@ -10,8 +10,8 @@ LIBRARY DEPENDENCIES:
#include "sim_objects/default_trick_sys.sm"
##include "ODE/Ball/Ball.hh"
##include "ODE/DrawStuff/DrawStuff.hh"
##include "Ball/Ball.hh"
##include "DrawStuff/DrawStuff.hh"
%{
const double OdeBallSimObject::time_step = 0.01 ;

View File

@ -5,7 +5,7 @@ TRICK_ICG_EXCLUDE = ${ODE_HOME}
TRICK_ICG_NOCOMMENT = ${ODE_HOME}
TRICK_SWIG_EXCLUDE = ${ODE_HOME}
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -I${ODE_HOME}/include -I${ODE_HOME}
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models -I${ODE_HOME}/include -I${ODE_HOME}
TRICK_CFLAGS += -I./models -I../models -I${ODE_HOME}/include -I${ODE_HOME}
TRICK_CXXFLAGS += -I./models -I../models -I${ODE_HOME}/include -I${ODE_HOME}
TRICK_EXEC_LINK_LIBS += -L${ODE_HOME}/drawstuff/src/.libs -ldrawstuff -L${ODE_HOME}/ode/src/.libs -lode -lGLU -lGL -L/usr/X11R6/lib -lXext -lX11

View File

@ -11,7 +11,7 @@ LIBRARY DEPENDENCY:
#include <ode/common.h>
#include <ode/src/objects.h>
#include "ODE/DrawStuff/DrawStuffObject.hh"
#include "DrawStuff/DrawStuffObject.hh"
class Ball : public DrawStuffObject {
public:

View File

@ -10,8 +10,8 @@ LIBRARY DEPENDENCIES:
#include "sim_objects/default_trick_sys.sm"
##include "ODE/Buggy/Buggy.hh"
##include "ODE/DrawStuff/DrawStuff.hh"
##include "Buggy/Buggy.hh"
##include "DrawStuff/DrawStuff.hh"
%{
const double BuggySimObject::time_step = 0.05 ;

View File

@ -5,7 +5,7 @@ TRICK_ICG_EXCLUDE = ${ODE_HOME}
TRICK_ICG_NOCOMMENT = ${ODE_HOME}
TRICK_SWIG_EXCLUDE = ${ODE_HOME}
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -I${ODE_HOME}/include -I${ODE_HOME}
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models -I${ODE_HOME}/include -I${ODE_HOME}
TRICK_CFLAGS += -I./models -I../models -I${ODE_HOME}/include -I${ODE_HOME}
TRICK_CXXFLAGS += -I./models -I../models -I${ODE_HOME}/include -I${ODE_HOME}
TRICK_EXEC_LINK_LIBS += -L${ODE_HOME}/drawstuff/src/.libs -ldrawstuff -L${ODE_HOME}/ode/src/.libs -lode -lGLU -lGL -L/usr/X11R6/lib -lXext -lX11

View File

@ -11,7 +11,7 @@ LIBRARY DEPENDENCY:
#include <ode/common.h>
#include <ode/src/objects.h>
#include "ODE/DrawStuff/DrawStuffObject.hh"
#include "DrawStuff/DrawStuffObject.hh"
#if SWIG
%apply float { dReal }

View File

@ -9,7 +9,7 @@ LIBRARY DEPENDENCIES:
#define TRICK_JSON_VARIABLE_SERVER
#include "sim_objects/default_trick_sys.sm"
##include "Ball++/L1/include/Ball.hh"
##include "Ball.hh"
/**
This class is the base ball class

View File

@ -2,6 +2,6 @@
# Uncomment this to compile the simulation without a python input processor.
#TRICK_CPFLAGS = --no_python
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models
TRICK_CFLAGS += -I./models
TRICK_CXXFLAGS += -I./models

View File

@ -24,7 +24,7 @@ PROGRAMMERS:
#include <iostream>
/* Model include files. */
#include "../include/Ball.hh"
#include "Ball.hh"
// Default consructor.
Ball::Ball() /* RETURN: -- None. */

View File

@ -15,13 +15,13 @@ ASSUMPTIONS AND LIMITATIONS:
((2 dimensional space)
(Translational EOM only))
LIBRARY DEPENDENCY:
((../src/Ball.cpp)
(../src/BallStateDeriv.cpp)
(../src/BallStateInit.cpp)
(../src/BallStateInteg.cpp)
(../src/BallStatePrint.cpp)
(../src/BallForceField.cpp)
(../src/BallShutdown.cpp))
((Ball.cpp)
(BallStateDeriv.cpp)
(BallStateInit.cpp)
(BallStateInteg.cpp)
(BallStatePrint.cpp)
(BallForceField.cpp)
(BallShutdown.cpp))
PROGRAMMERS:
(((Robert W. Bailey) (Sweet Systems Inc) (March 1997) (Tutorial Lesson 1))
((Edwin Z. Crues)(Titan Systems Corp.)(Jan 2002)(Crude C++ translation)))
@ -43,7 +43,7 @@ PROGRAMMERS:
@brief ball in C++
*/
#include "sim_services/include/mm_macros.hh"
#include "trick/mm_macros.hh"
class Ball {

View File

@ -1,5 +1,5 @@
#include "Ball++/L1/include/BallForce.hh"
#include "BallForce.hh"
BallForceInput::BallForceInput() {

View File

@ -27,7 +27,7 @@ PROGRAMMERS:
#include <math.h>
/* Model include files. */
#include "../include/Ball.hh"
#include "Ball.hh"
/* ENTRY POINT */
int Ball::force_field() /* RETURN: -- Always return zero. */

View File

@ -28,7 +28,7 @@ PROGRAMMERS:
#include <math.h>
/* Model include files. */
#include "../include/BallForce.hh"
#include "BallForce.hh"
/* ENTRY POINT */
int BallForce::default_data() {

View File

@ -22,10 +22,10 @@ PROGRAMMERS:
((Edwin Z. Crues)(Titan Systems Corp.)(Jan 2002)(Crude C++ translation)))
*******************************************************************************/
#include "sim_services/UnitTest/include/trick_tests.h"
#include "trick/trick_tests.h"
/* Model include files. */
#include "../include/Ball.hh"
#include "Ball.hh"
/* ENTRY POINT */
int Ball::shutdown() {

View File

@ -1,9 +1,9 @@
#include <stdio.h>
#include "Ball++/L1/include/BallState.hh"
#include "trick_utils/units/include/constant.h"
#include "sim_services/MemoryManager/include/memorymanager_c_intf.h"
#include "BallState.hh"
#include "trick/constant.h"
#include "trick/memorymanager_c_intf.h"
BallStateInput::BallStateInput() {

View File

@ -28,10 +28,10 @@ PROGRAMMERS:
#include <iostream>
/* Trick include files. */
#include "sim_services/include/collect_macros.h"
#include "trick/collect_macros.h"
/* Model include files. */
#include "../include/Ball.hh"
#include "Ball.hh"
/* ENTRY POINT */
int Ball::state_deriv() /* RETURN: -- Always return zero. */

View File

@ -26,7 +26,7 @@ PROGRAMMERS:
#include <math.h>
/* Model include files. */
#include "../include/Ball.hh"
#include "Ball.hh"
/* ENTRY POINT */
int Ball::state_init() /* RETURN: -- Always return zero. */

View File

@ -27,8 +27,8 @@ PROGRAMMERS:
/* Model include files. */
#include <stdio.h>
#include "sim_services/Integrator/include/integrator_c_intf.h"
#include "../include/Ball.hh"
#include "trick/integrator_c_intf.h"
#include "Ball.hh"
#include <iostream>
/* ENTRY POINT */

View File

@ -28,10 +28,10 @@ PROGRAMMERS:
#include <unistd.h>
/* Model include files. */
#include "../include/Ball.hh"
#include "sim_services/Executive/include/exec_proto.hh"
#include "sim_services/Executive/include/exec_proto.h"
#include "sim_services/Message/include/message_proto.h"
#include "Ball.hh"
#include "trick/exec_proto.hh"
#include "trick/exec_proto.h"
#include "trick/message_proto.h"
/* ENTRY POINT */
int Ball::state_print() {

View File

@ -27,9 +27,9 @@ PROGRAMMERS:
#include <stdlib.h>
/* Model include files. */
#include "trick_utils/units/include/constant.h"
#include "../include/BallState.hh"
#include "sim_services/MemoryManager/include/memorymanager_c_intf.h"
#include "BallState.hh"
#include "trick/constant.h"
#include "trick/memorymanager_c_intf.h"
/* ENTRY POINT */
int BallState::default_data() {