[video_thread] simulation

This commit is contained in:
Christophe De Wagter
2015-09-03 14:37:23 +02:00
parent acffa6769d
commit b1caeea8a9
4 changed files with 10 additions and 5 deletions
+1
View File
@@ -7,6 +7,7 @@
<target name="nps" board="pc">
<subsystem name="fdm" type="jsbsim"/>
<subsystem name="udp"/>
</target>
<!--define name="USE_SONAR" value="TRUE"/-->
+2
View File
@@ -12,3 +12,5 @@ BOARD_CFG = \"boards/pc_sim.h\"
$(TARGET).ARCHDIR = $(ARCH)
MODEM_HOST ?= 127.0.0.1
+3 -5
View File
@@ -27,7 +27,7 @@
</header>
<init fun="viewvideo_init()"/>
<makefile target="ap">
<makefile target="ap|nps">
<file name="viewvideo.c"/>
@@ -44,13 +44,11 @@
VIEWVID_CFLAGS = -DVIEWVIDEO_HOST=$(VIEWVIDEO_HOST) -DVIEWVIDEO_PORT_OUT=$(VIEWVIDEO_PORT_OUT)
ifeq ($(VIEWVIDEO_USE_NC),)
ap.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_BROADCAST=$(VIEWVIDEO_BROADCAST)
nps.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_BROADCAST=FALSE
else
ap.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_USE_NC
$(TARGET).CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_USE_NC
endif
</raw>
</makefile>
<makefile target="nps">
<file name="viewvideo_nps.c"/>
</makefile>
</module>
+4
View File
@@ -48,5 +48,9 @@
</makefile>
<makefile target="nps">
<file name="video_thread_nps.c"/>
<file name="cv.c"/>
<file name="image.c" dir="modules/computer_vision/lib/vision"/>
<file name="jpeg.c" dir="modules/computer_vision/lib/encoding"/>
<flag name="LDFLAGS" value="lpthread"/>
</makefile>
</module>