paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Log plotter allowable messages?


From: Pascal Brisset
Subject: Re: [Paparazzi-devel] Log plotter allowable messages?
Date: Wed, 25 Mar 2009 17:58:58 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Hi Nicholas,

Messages (conf/messages.xml) are organized into "classes", one for the downlink ("telemetry"), one for the uplink ("datalink").

The log plotter handles only the messages from the "telemetry" class and reports errors when it encouters messages from the "datalink" class. We can use the following trick to fix the problem: duplicate the desired "datalink" message description in the "telemetry" class. The plotter uses the messages description saved in the .log file. So, edit this file, and copy the SETTING entry:
 <message LINK="forwarded" NAME="SETTING" ID="4">
       <field NAME="index" TYPE="uint8"/>
       <field NAME="ac_id" TYPE="uint8"/>
       <field NAME="value" TYPE="float"/>
     </message>
into the the <class NAME="telemetry"> element. You also have to change the id because the parser won't accept duplicated ids. For example ID="666" Load this patched file in the log plotter and you will be able to plot the SETTING attributes. To be able to export these values in CSV format, please update from the CVS (since I've just fixed small bug there)
For future logs, you can also patch the conf/messages.xml in the same way

This splitting in classes today appears as a bad idea but ... we have to think about it before merging the two classes.

Let me know if it works ...

--Pascal


Nicholas Wagner wrote:
Hello all -

I asked this question on a forum and it was suggested that I ask the question here. In the quest for longer flight duration, I am making a few flights and changing the IR_PITCH_NEUTRAL as a fake angle of attack. In the log, I can see a message that says /timestamp 5 SETTING 5 slider value/ for any change in the settings. When loading a log file in the log plotter I receive a lot of errors saying pprz_unknown_message("SETTING","telemetry"). The unfortunate thing is, part of the data I would like to export in CSV is in the SETTING messages. How do I add SETTING to the list of allowed and parsed messages in the log plotter?

Thanks in advance.
Nick

--
Nick Wagner
Mechanical Engineering
Colorado State University
C: 970.631.2989
E: address@hidden <mailto:address@hidden>
------------------------------------------------------------------------

_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

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