SITL: reformat SITL code with astyle
This commit is contained in:
parent
c81ad1d622
commit
42c6801d61
@ -34,7 +34,9 @@ public:
|
||||
void update(const struct sitl_input &input);
|
||||
|
||||
/* static object creator */
|
||||
static Aircraft *create(const char *home_str, const char *frame_str) { return new Helicopter(home_str, frame_str); }
|
||||
static Aircraft *create(const char *home_str, const char *frame_str) {
|
||||
return new Helicopter(home_str, frame_str);
|
||||
}
|
||||
|
||||
private:
|
||||
float terminal_rotation_rate;
|
||||
|
@ -67,7 +67,9 @@ public:
|
||||
void update(const struct sitl_input &input);
|
||||
|
||||
/* static object creator */
|
||||
static Aircraft *create(const char *home_str, const char *frame_str) { return new MultiCopter(home_str, frame_str); }
|
||||
static Aircraft *create(const char *home_str, const char *frame_str) {
|
||||
return new MultiCopter(home_str, frame_str);
|
||||
}
|
||||
|
||||
private:
|
||||
const Frame *frame;
|
||||
|
@ -34,7 +34,9 @@ public:
|
||||
void update(const struct sitl_input &input);
|
||||
|
||||
/* static object creator */
|
||||
static Aircraft *create(const char *home_str, const char *frame_str) { return new Rover(home_str, frame_str); }
|
||||
static Aircraft *create(const char *home_str, const char *frame_str) {
|
||||
return new Rover(home_str, frame_str);
|
||||
}
|
||||
|
||||
private:
|
||||
float max_speed;
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
/*
|
||||
SITL.cpp - software in the loop state
|
||||
|
||||
*/
|
||||
|
||||
#include <AP_Common.h>
|
||||
|
Loading…
Reference in New Issue
Block a user