paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Digital_cam module / DC_SHOT overflow


From: Eduardo lavratti
Subject: Re: [Paparazzi-devel] Digital_cam module / DC_SHOT overflow
Date: Tue, 23 Apr 2013 11:33:08 -0300

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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]