mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
[modules] cv_opticflow: minor cleanup
This commit is contained in:
@@ -82,23 +82,6 @@
|
|||||||
<!-- Main vision calculations -->
|
<!-- Main vision calculations -->
|
||||||
<file name="fast_rosten.c" dir="modules/computer_vision/lib/vision"/>
|
<file name="fast_rosten.c" dir="modules/computer_vision/lib/vision"/>
|
||||||
<file name="lucas_kanade.c" dir="modules/computer_vision/lib/vision"/>
|
<file name="lucas_kanade.c" dir="modules/computer_vision/lib/vision"/>
|
||||||
|
|
||||||
<raw>
|
|
||||||
VIEWVIDEO_HOST ?= $(MODEM_HOST)
|
|
||||||
VIEWVIDEO_PORT_OUT ?= 5000
|
|
||||||
VIEWVIDEO_BROADCAST ?= $(MODEM_BROADCAST)
|
|
||||||
|
|
||||||
VIEWVID_CFLAGS = -DVIEWVIDEO_HOST=$(VIEWVIDEO_HOST) -DVIEWVIDEO_PORT_OUT=$(VIEWVIDEO_PORT_OUT)
|
|
||||||
ifeq ($(VIEWVIDEO_USE_NC),)
|
|
||||||
ap.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_BROADCAST=$(VIEWVIDEO_BROADCAST)
|
|
||||||
else
|
|
||||||
ap.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_USE_NC
|
|
||||||
endif
|
|
||||||
</raw>
|
|
||||||
</makefile>
|
|
||||||
|
|
||||||
<makefile target="nps">
|
|
||||||
<file name="viewvideo_nps.c"/>
|
|
||||||
</makefile>
|
</makefile>
|
||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ PRINT_CONFIG_MSG("OPTICFLOW_DEVICE_SIZE = " _SIZE_HELPER(OPTICFLOW_DEVICE_SIZE))
|
|||||||
#ifndef OPTICFLOW_DEVICE_BUFFERS
|
#ifndef OPTICFLOW_DEVICE_BUFFERS
|
||||||
#define OPTICFLOW_DEVICE_BUFFERS 15 ///< The video device buffers (the amount of V4L2 buffers)
|
#define OPTICFLOW_DEVICE_BUFFERS 15 ///< The video device buffers (the amount of V4L2 buffers)
|
||||||
#endif
|
#endif
|
||||||
PRINT_CONFIG_VAR(VIEWVIDEO_DEVICE_BUFFERS)
|
PRINT_CONFIG_VAR(OPTICFLOW_DEVICE_BUFFERS)
|
||||||
|
|
||||||
/* The main opticflow variables */
|
/* The main opticflow variables */
|
||||||
struct opticflow_t opticflow; ///< Opticflow calculations
|
struct opticflow_t opticflow; ///< Opticflow calculations
|
||||||
|
|||||||
Reference in New Issue
Block a user