Browse Source

Replay: fixed build

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
2291a8994e
  1. 2
      Tools/Replay/DataFlashFileReader.cpp
  2. 4
      Tools/Replay/LR_MsgHandler.cpp
  3. 2
      Tools/Replay/LR_MsgHandler.h
  4. 6
      Tools/Replay/LogReader.h
  5. 2
      Tools/Replay/MsgHandler.cpp
  6. 2
      Tools/Replay/MsgHandler.h
  7. 7
      Tools/Replay/Replay.cpp

2
Tools/Replay/DataFlashFileReader.cpp

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#include <DataFlashFileReader.h>
#include "DataFlashFileReader.h"
#include <fcntl.h>
#include <string.h>

4
Tools/Replay/LR_MsgHandler.cpp

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#include <LR_MsgHandler.h>
#include "LR_MsgHandler.h"
extern const AP_HAL::HAL& hal;
@ -292,7 +292,7 @@ void LR_MsgHandler_MAG::process_message(uint8_t *msg) @@ -292,7 +292,7 @@ void LR_MsgHandler_MAG::process_message(uint8_t *msg)
}
#include <AP_AHRS.h>
#include <VehicleType.h>
#include "VehicleType.h"
void LR_MsgHandler_MSG::process_message(uint8_t *msg)
{

2
Tools/Replay/LR_MsgHandler.h

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#ifndef AP_LR_MSGHANDLER_H
#define AP_LR_MSGHANDLER_H
#include <MsgHandler.h>
#include "MsgHandler.h"
class LR_MsgHandler : public MsgHandler {
public:

6
Tools/Replay/LogReader.h

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#include <VehicleType.h>
#include <DataFlashFileReader.h>
#include <LR_MsgHandler.h>
#include "VehicleType.h"
#include "DataFlashFileReader.h"
#include "LR_MsgHandler.h"
class LogReader : public DataFlashFileReader
{

2
Tools/Replay/MsgHandler.cpp

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#include <MsgHandler.h>
#include "MsgHandler.h"
void fatal(const char *msg) {
::printf("%s",msg);

2
Tools/Replay/MsgHandler.h

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#define AP_MSGHANDLER_H
#include <DataFlash.h>
#include <VehicleType.h>
#include "VehicleType.h"
#include <stdio.h>

7
Tools/Replay/Replay.cpp

@ -48,16 +48,17 @@ @@ -48,16 +48,17 @@
#include <AP_BattMonitor.h>
#include <AP_Terrain.h>
#include <AP_OpticalFlow.h>
#include <Parameters.h>
#include <AP_SerialManager.h>
#include <RC_Channel.h>
#include <AP_RangeFinder.h>
#include <stdio.h>
#include <errno.h>
#include <VehicleType.h>
#include <getopt.h> // for optind only
#include <utility/getopt_cpp.h>
#include <MsgHandler.h>
#include "Parameters.h"
#include "VehicleType.h"
#include "MsgHandler.h"
#ifndef INT16_MIN
#define INT16_MIN -32768

Loading…
Cancel
Save