[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] some problems about "openlog.c"
From: |
Mike |
Subject: |
[Paparazzi-devel] some problems about "openlog.c" |
Date: |
Wed, 30 Apr 2014 22:32:15 -0700 (PDT) |
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] some problems about "openlog.c",
Mike <=