• Christopher Hrabia's avatar
    Revert last change on new logfile structure and added nulling of buffer. · 50c36bb5
    Christopher Hrabia authored
    The reason for this is, because the last change in the file structure is buggy, it was only written the message length of the buffer to the file and missed to add the length for the timestamp.
    For fixing this problem it would be possible to insert something like
    
    len += sizeof(quint64);
    
    after:
    
    int len = mavlink_msg_to_send_buffer(buf+sizeof(quint64), &message);
    
    But I think a consistent file structure has more adavatages for a logfile over a more compressed structure.
    E.g. it would be necessary to go through all packages to proceed a jump during a replay.
    Additional the LogPlayer was not updated during the last 7 month since the logfile structure was changed (even it was buggy)...
    
    If filesize is really a problem I would recommend to change the logfile handling in a way of writting a temporary consistend
    logfile and compress it afterwards (QCompress) like done by many programs
    50c36bb5
Name
Last commit
Last update
..
CallConv.h Loading commit data...
HexSpinBox.cpp Loading commit data...
HexSpinBox.h Loading commit data...
LinkInterface.cpp Loading commit data...
LinkInterface.h Loading commit data...
LinkManager.cc Loading commit data...
LinkManager.h Loading commit data...
MAVLinkProtocol.cc Loading commit data...
MAVLinkProtocol.h Loading commit data...
MAVLinkSimulationLink.cc Loading commit data...
MAVLinkSimulationLink.h Loading commit data...
MAVLinkSimulationMAV.cc Loading commit data...
MAVLinkSimulationMAV.h Loading commit data...
MAVLinkSimulationWaypointPlanner.cc Loading commit data...
MAVLinkSimulationWaypointPlanner.h Loading commit data...
MAVLinkSwarmSimulationLink.cc Loading commit data...
MAVLinkSwarmSimulationLink.h Loading commit data...
OpalLink.cc Loading commit data...
OpalLink.h Loading commit data...
OpalRT.cc Loading commit data...
OpalRT.h Loading commit data...
Parameter.cc Loading commit data...
Parameter.h Loading commit data...
ParameterList.cc Loading commit data...
ParameterList.h Loading commit data...
ProtocolInterface.h Loading commit data...
QGCFlightGearLink.cc Loading commit data...
QGCFlightGearLink.h Loading commit data...
QGCHilLink.h Loading commit data...
QGCJSBSimLink.cc Loading commit data...
QGCJSBSimLink.h Loading commit data...
QGCMAVLink.h Loading commit data...
QGCParamID.cc Loading commit data...
QGCParamID.h Loading commit data...
QGCXPlaneLink.cc Loading commit data...
QGCXPlaneLink.h Loading commit data...
SerialInterface.h Loading commit data...
SerialLink.cc Loading commit data...
SerialLink.h Loading commit data...
SerialLinkInterface.h Loading commit data...
UDPLink.cc Loading commit data...
UDPLink.h Loading commit data...
XbeeLink.cpp Loading commit data...
XbeeLink.h Loading commit data...
XbeeLinkInterface.h Loading commit data...