Tools: change namespace of MultiCopter and FixedWing params

this stops the libraries knowing anything about AP_Vehicle
This commit is contained in:
Peter Barker 2022-09-30 10:26:48 +10:00 committed by Andrew Tridgell
parent 752c6c7dc5
commit 9c726b8f68

View File

@ -14,6 +14,7 @@
*/
#include <AP_Vehicle/AP_Vehicle.h>
#include <AP_Vehicle/AP_FixedWing.h>
#include "LogReader.h"
@ -45,7 +46,7 @@ public:
virtual bool set_mode(const uint8_t new_mode, const ModeReason reason) override { return true; }
virtual uint8_t get_mode() const override { return 0; }
AP_Vehicle::FixedWing aparm;
AP_FixedWing aparm;
AP_Int32 unused; // logging is magic for Replay; this is unused
struct LogStructure log_structure[256] = {