SITL: fixed namespace of SITL classes

This commit is contained in:
Andrew Tridgell 2016-05-02 07:56:56 +10:00
parent 91abc636f4
commit 9c90709872
3 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,7 @@
#include "SIM_Aircraft.h"
#include "SIM_Motor.h"
using namespace SITL;
namespace SITL {
/*
class to describe a multicopter frame type
@ -58,3 +58,4 @@ public:
float mass;
uint8_t motor_offset;
};
}

View File

@ -21,7 +21,7 @@
#include "SIM_Aircraft.h"
using namespace SITL;
namespace SITL {
/*
class to describe a motor position
@ -70,3 +70,4 @@ public:
Vector3f &rot_accel, // rad/sec
Vector3f &body_thrust) const; // Z is down
};
}

View File

@ -23,7 +23,7 @@
#include "SIM_Motor.h"
#include "SIM_Frame.h"
using namespace SITL;
namespace SITL {
/*
a multicopter simulator
@ -46,3 +46,4 @@ protected:
Frame *frame;
};
}