mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
[video_thread] simulation
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
<target name="nps" board="pc">
|
<target name="nps" board="pc">
|
||||||
<subsystem name="fdm" type="jsbsim"/>
|
<subsystem name="fdm" type="jsbsim"/>
|
||||||
|
<subsystem name="udp"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!--define name="USE_SONAR" value="TRUE"/-->
|
<!--define name="USE_SONAR" value="TRUE"/-->
|
||||||
|
|||||||
@@ -12,3 +12,5 @@ BOARD_CFG = \"boards/pc_sim.h\"
|
|||||||
|
|
||||||
$(TARGET).ARCHDIR = $(ARCH)
|
$(TARGET).ARCHDIR = $(ARCH)
|
||||||
|
|
||||||
|
MODEM_HOST ?= 127.0.0.1
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<init fun="viewvideo_init()"/>
|
<init fun="viewvideo_init()"/>
|
||||||
<makefile target="ap">
|
<makefile target="ap|nps">
|
||||||
|
|
||||||
<file name="viewvideo.c"/>
|
<file name="viewvideo.c"/>
|
||||||
|
|
||||||
@@ -44,13 +44,11 @@
|
|||||||
VIEWVID_CFLAGS = -DVIEWVIDEO_HOST=$(VIEWVIDEO_HOST) -DVIEWVIDEO_PORT_OUT=$(VIEWVIDEO_PORT_OUT)
|
VIEWVID_CFLAGS = -DVIEWVIDEO_HOST=$(VIEWVIDEO_HOST) -DVIEWVIDEO_PORT_OUT=$(VIEWVIDEO_PORT_OUT)
|
||||||
ifeq ($(VIEWVIDEO_USE_NC),)
|
ifeq ($(VIEWVIDEO_USE_NC),)
|
||||||
ap.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_BROADCAST=$(VIEWVIDEO_BROADCAST)
|
ap.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_BROADCAST=$(VIEWVIDEO_BROADCAST)
|
||||||
|
nps.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_BROADCAST=FALSE
|
||||||
else
|
else
|
||||||
ap.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_USE_NC
|
$(TARGET).CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_USE_NC
|
||||||
endif
|
endif
|
||||||
</raw>
|
</raw>
|
||||||
|
|
||||||
</makefile>
|
</makefile>
|
||||||
<makefile target="nps">
|
|
||||||
<file name="viewvideo_nps.c"/>
|
|
||||||
</makefile>
|
|
||||||
</module>
|
</module>
|
||||||
|
|||||||
@@ -48,5 +48,9 @@
|
|||||||
</makefile>
|
</makefile>
|
||||||
<makefile target="nps">
|
<makefile target="nps">
|
||||||
<file name="video_thread_nps.c"/>
|
<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>
|
</makefile>
|
||||||
</module>
|
</module>
|
||||||
|
|||||||
Reference in New Issue
Block a user