mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-20 19:36:19 +08:00
9ce18f8146
- video RTP stream - image download for ARDrone2
48 lines
1.9 KiB
XML
48 lines
1.9 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="video_rtp_stream" dir="computer_vision">
|
|
<doc>
|
|
<description>
|
|
Video stream of ARDone 2 front camera.
|
|
|
|
- sends a RTP/UDP stream of the from camera
|
|
- possibility to save an image on the internal memory (JPEG, full size, best quality, 100 pictures max if nothing else)
|
|
</description>
|
|
<define name="VIDEO_SOCK_IP" value="192.168.1.255" description="IP broadcast address"/>
|
|
<define name="VIDEO_DOWNSIZE_FACTOR" value="4" description="Reduction factor of the video stream"/>
|
|
<define name="VIDEO_QUALITY_FACTOR" value="50" description="JPEG encoding compression factor [0-99]"/>
|
|
<define name="VIDEO_FPS" value="4." description="Video stream frame rate"/>
|
|
</doc>
|
|
<settings>
|
|
<dl_settings>
|
|
<dl_settings name="video">
|
|
<dl_setting var="viewvideo_shot" min="0" step="1" max="1" shortname="save_shot" module="computer_vision/viewvideo" handler="SaveShot"/>
|
|
</dl_settings>
|
|
</dl_settings>
|
|
</settings>
|
|
|
|
<header>
|
|
<file name="viewvideo.h"/>
|
|
</header>
|
|
|
|
<periodic fun="viewvideo_run()" freq="1" start="viewvideo_start()" stop="viewvideo_stop()" autorun="TRUE"/>
|
|
<makefile target="ap">
|
|
<file name="viewvideo.c"/>
|
|
<file name="jpeg.c" dir="modules/computer_vision/cv/encoding"/>
|
|
<file name="rtp.c" dir="modules/computer_vision/cv/encoding"/>
|
|
<file name="socket.c" dir="modules/computer_vision/lib/udp"/>
|
|
<file name="video.c" dir="modules/computer_vision/lib/v4l"/>
|
|
<define name="modules/computer_vision/cv" type="include"/>
|
|
<define name="modules/computer_vision/lib" type="include"/>
|
|
<define name="pthread" type="raw"/>
|
|
<define name="__USE_GNU"/>
|
|
<flag name="LDFLAGS" value="pthread"/>
|
|
<flag name="LDFLAGS" value="lrt"/>
|
|
<flag name="LDFLAGS" value="static"/>
|
|
</makefile>
|
|
<makefile target="nps">
|
|
<file name="viewvideo_nps.c"/>
|
|
</makefile>
|
|
</module>
|
|
|