paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] some problems about "openlog.c"


From: alonso acuña
Subject: Re: [Paparazzi-devel] some problems about "openlog.c"
Date: Thu, 1 May 2014 00:30:36 -0600

Hi. If you just want the openlog module to work you need to add  <load name="openlog.xml"/>   in the <modules> section of airframe file. That will generate the needed timestamp code.


On Wed, Apr 30, 2014 at 11:32 PM, Mike <address@hidden> wrote:
Hi all,
       recently, I learned something about how to save some specific data to
openlog; So I see this code of it, here is the code of openlog.c:
       /**
 * This module provides a timestamp-message, allowing
 * sw/logalizer/openlog2tlm to convert a recorded dumpfile,
 * created by openlog into the pprz-tlm format, to be converted into
 * .data and .log files by sw/logalizer/sd2log
 */

#include "openlog.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
#include "mcu_periph/uart.h"


uint32_t timestamp = 0; ///< Timestamp to be incremented during operation

void init_openlog(void) {
}

void periodic_2Hz_openlog(void)         {
  timestamp=timestamp+500;
  DOWNLINK_SEND_TIMESTAMP(DefaultChannel, DefaultDevice, &timestamp);
}

      what the problem is that: First I can not find the
function"DOWNLINK_SEND_TIMESTAMP()",
Second I can not find the "messages.h", where are the location?

Mike
Thanks



--
View this message in context: http://lists.paparazziuav.org/some-problems-about-openlog-c-tp15265.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
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]