Browse Source

SITL: fixed namespace of SITL classes

master
Andrew Tridgell 9 years ago
parent
commit
9c90709872
  1. 3
      libraries/SITL/SIM_Frame.h
  2. 3
      libraries/SITL/SIM_Motor.h
  3. 3
      libraries/SITL/SIM_Multicopter.h

3
libraries/SITL/SIM_Frame.h

@ -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;
}; };
}

3
libraries/SITL/SIM_Motor.h

@ -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
}; };
}

3
libraries/SITL/SIM_Multicopter.h

@ -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…
Cancel
Save