mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 02:40:08 +00:00
move Satellite models to SIM_satellite and fix graphics makefile
This commit is contained in:
parent
0a40189388
commit
950e319c1b
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user