|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] Digital_cam module / DC_SHOT overflow |
Date: | Tue, 23 Apr 2013 23:21:00 +0200 |
You are right
I increased the IMAGE_BUFFER to high value and the problem not occur anymore.
Change the value in yout airframe file:
<modules>
<load name="openlog.xml"/>
<load name="nav_catapult.xml"/>
<load name="digital_cam.xml">
<define name="DC_SHUTTER_LED" value="CAM_SWITCH_LED"/> <!--CAM_SWITCH_LED-->
<define name="DC_PUSH" value="LED_OFF" />
<define name="DC_RELEASE" value="LED_ON" />
<define name="DC_IMAGE_BUFFER" value="16535"/>
</load>
...
...
...
D
ate: Tue, 23 Apr 2013 16:13:28 +0200
From: address@hidden
To: address@hidden
Subject: [Paparazzi-devel] Digital_cam module / DC_SHOT overflow_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Dear all,I noticed an issue with the DC_SHOT photo number increment: photo number is okay until 255 photos have been taken, then it sticks to 255 in the DC_SHOT message.I think we should increase the default value of DC_IMAGE_BUFFER (which is 255) in dc.h (Digital_cam module).dc.c:if (dc_buffer < DC_IMAGE_BUFFER) {dc_buffer++;dc_photo_nr++;photo_nr = dc_photo_nr;}
Do you agree with that ?Regards,Mitchell
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |