1,13 → 1,12 |
#ifndef COPTER_H |
#define COPTER_H |
#include <string> |
|
using namespace std; |
|
/** |
* This file contains informations and configurations from the Mikrokopter |
*/ |
|
#define MAX_DATA_SIZE 150 |
|
// version information for the serial connection |
#define VERSION_SERIAL_MAJOR 10 |
#define VERSION_SERIAL_MINOR 0 |
24,7 → 23,7 |
// settings ID |
#define SETTINGS_ID 2 |
|
static const string HardwareType[] = {"Default", "FlightCtrl", "NaviCtrl", "MK3Mag"}; |
static const char * HardwareType[] = {"Default", "FlightCtrl", "NaviCtrl", "MK3Mag"}; |
|
static const int MaxTickerEvents = 5; |
|
40,7 → 39,7 |
int mixer_roll[MAX_MOTORS]; |
int mixer_yaw[MAX_MOTORS]; |
int desired_speed[MAX_MOTORS]; |
string mixer_name; |
char * mixer_name; |
int mixer_version; |
}; |
|
52,8 → 51,8 |
int version_patch; |
int version_serial_major; |
int version_serial_minor; |
string hardware; |
string version; |
char * hardware; |
char * version; |
}; |
|
struct sGPS_Pos |