mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
SITL: fixed namespace of SITL classes
This commit is contained in:
parent
91abc636f4
commit
9c90709872
@ -22,7 +22,7 @@
|
|||||||
#include "SIM_Aircraft.h"
|
#include "SIM_Aircraft.h"
|
||||||
#include "SIM_Motor.h"
|
#include "SIM_Motor.h"
|
||||||
|
|
||||||
using namespace SITL;
|
namespace SITL {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
class to describe a multicopter frame type
|
class to describe a multicopter frame type
|
||||||
@ -58,3 +58,4 @@ public:
|
|||||||
float mass;
|
float mass;
|
||||||
uint8_t motor_offset;
|
uint8_t motor_offset;
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SIM_Aircraft.h"
|
#include "SIM_Aircraft.h"
|
||||||
|
|
||||||
using namespace SITL;
|
namespace SITL {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
class to describe a motor position
|
class to describe a motor position
|
||||||
@ -70,3 +70,4 @@ public:
|
|||||||
Vector3f &rot_accel, // rad/sec
|
Vector3f &rot_accel, // rad/sec
|
||||||
Vector3f &body_thrust) const; // Z is down
|
Vector3f &body_thrust) const; // Z is down
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "SIM_Motor.h"
|
#include "SIM_Motor.h"
|
||||||
#include "SIM_Frame.h"
|
#include "SIM_Frame.h"
|
||||||
|
|
||||||
using namespace SITL;
|
namespace SITL {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
a multicopter simulator
|
a multicopter simulator
|
||||||
@ -46,3 +46,4 @@ protected:
|
|||||||
Frame *frame;
|
Frame *frame;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user