|
From: | alonso acuña |
Subject: | Re: [Paparazzi-devel] some problems about "openlog.c" |
Date: | Thu, 1 May 2014 00:30:36 -0600 |
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, ×tamp);
}
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
[Prev in Thread] | Current Thread | [Next in Thread] |