move Satellite models to SIM_satellite and fix graphics makefile

This commit is contained in:
John M. Penn 2016-02-22 17:48:06 -06:00
parent 0a40189388
commit 950e319c1b
24 changed files with 11 additions and 11 deletions

View File

@ -5,7 +5,7 @@ execfile("Modified_data/realtime.py")
dyn_integloop.getIntegrator(trick.Runge_Kutta_4, 18)
scene_app_path = os.environ['TRICK_HOME'] + '/trick_models/Satellite/graphics/Scene'
scene_app_path = 'models/Satellite/graphics/Scene'
if os.path.exists(scene_app_path):
dyn.sat_graph_comm.syscmd = scene_app_path + ' &'
else:

View File

@ -1,3 +1,3 @@
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models
TRICK_CFLAGS += -I${TRICK_HOME}/trick_models -Imodels
TRICK_CXXFLAGS += -I${TRICK_HOME}/trick_models -Imodels

View File

@ -6,8 +6,8 @@
#include "Scene.hh"
#include <iostream>
#include <vector>
#include "trick_utils/comm/include/tc_proto.h"
#include "trick_utils/math/include/vector_macros.h"
#include "trick/tc_proto.h"
#include "trick/vector_macros.h"
#include <stdio.h>
#ifndef PI

View File

@ -1,18 +1,17 @@
include ${TRICK_HOME}/makefiles/Makefile.common
CPP = g++
CC = gcc
ifeq ($(TRICK_HOST_TYPE), Darwin)
ifeq ($(shell uname), Darwin)
GL_LIBS = -framework GLUT -framework OpenGL
TC_LIBS = -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} -ltrick_comm
LDFLAGS =
TC_LIBS = -L${TRICK_HOME}/lib -ltrick_comm
LDFLAGS =
else
GL_LIBS = -lGL -lGLU -lglut
TC_LIBS = -L${TRICK_HOME}/lib_${TRICK_HOST_CPU} -ltrick_comm -lrt
TC_LIBS = -L${TRICK_HOME}/lib -ltrick_comm -lrt
LDFLAGS = -Wl,--export-dynamic
endif
CFLAGS = -I${TRICK_HOME}/trick_source
CFLAGS = -I${TRICK_HOME}/include
MAIN = Scene
@ -23,6 +22,7 @@ OBJECTS = Camera.o Scene.o SceneElement.o SatelliteModel.o Ball.o
.cpp.o:
${CPP} ${CFLAGS} ${INCDIRS} -c $<
echo $(NARF)
all: Scene