How to log barometric sensor data

Hallo,

is there a way to modify log.pde code to log not only gps/barometric alt value but also clear barometric data? I checked the code a little bit and there should be modified at least two functions:

Log_Write_GPS() and according to this also Log_Read_GPS() to display correct data in mission planer.

But i'm afraid the mission planner then won't display the data correctly if at all reads the log without exception ;o(. I guess there should be some descriptor (perhaps in xml file) which describes structure of log file.

I ask it because i would like to add also another data for logging - temperature sensor and next maybe humidity sensor.

Can somebody navigate me?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer
    Hi Palo,

    The data logging function has nothing to do with the mission planner. The mission is stored in EEPROM and the data log is stored in Flash memory.

    There is no problem with modifying some logging messages to log other data of interest to you.
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…