Subversion Repositories Projects

Rev

Rev 2075 | Rev 2217 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2075 Rev 2099
Line 1... Line 1...
1
/****************************************************************************
1
/****************************************************************************
2
 *   Copyright (C) 2009-2014 by Claas Anders "CaScAdE" Rathje               *
2
 *   Copyright (C) 2009-2015 by Claas Anders "CaScAdE" Rathje               *
3
 *   admiralcascade@gmail.com                                               *
3
 *   admiralcascade@gmail.com                                               *
4
 *   Project-URL: http://www.mylifesucks.de/oss/c-osd/                      *
4
 *   Project-URL: http://www.mylifesucks.de/oss/c-osd/                      *
5
 *                                                                          *
5
 *                                                                          *
6
 *   This program is free software; you can redistribute it and/or modify   *
6
 *   This program is free software; you can redistribute it and/or modify   *
7
 *   it under the terms of the GNU General Public License as published by   *
7
 *   it under the terms of the GNU General Public License as published by   *
Line 166... Line 166...
166
#define DEFEKT_MIXER_ERR    0x10
166
#define DEFEKT_MIXER_ERR    0x10
167
 
167
 
168
/*
168
/*
169
 * MikroKopter config struct
169
 * MikroKopter config struct
170
 * portions taken and adapted from
170
 * portions taken and adapted from
171
 * http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V2.08a/eeprom.h
171
 * http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V2.10a/eeprom.h
172
 */
172
 */
173
 
173
 
174
#define EEPARAM_REVISION        103 // is count up, if paramater stucture has changed (compatibility)
174
#define EEPARAM_REVISION        105 // is count up, if paramater stucture has changed (compatibility)
175
 
175
 
176
 
176
 
177
typedef struct
177
typedef struct
178
{
178
{
179
        unsigned char Revision;
179
        unsigned char Revision;
Line 283... Line 283...
283
        unsigned char ServoFilterRoll;  
283
        unsigned char ServoFilterRoll;  
284
    unsigned char Servo3OnValue;
284
    unsigned char Servo3OnValue;
285
    unsigned char Servo3OffValue;
285
    unsigned char Servo3OffValue;
286
    unsigned char Servo4OnValue;
286
    unsigned char Servo4OnValue;
287
    unsigned char Servo4OffValue;
287
    unsigned char Servo4OffValue;
-
 
288
        unsigned char ServoFS_Pos[5];
288
        unsigned char StartLandChannel;  
289
        unsigned char StartLandChannel;  
289
        unsigned char LandingSpeed;  
290
        unsigned char LandingSpeed;  
290
        unsigned char CompassOffset;        
291
        unsigned char CompassOffset;        
291
        unsigned char AutoLandingVoltage;    // in 0,1V  0 -> disabled
292
        unsigned char AutoLandingVoltage;    // in 0,1V  0 -> disabled
292
        unsigned char ComingHomeVoltage;    // in 0,1V  0 -> disabled
293
        unsigned char ComingHomeVoltage;    // in 0,1V  0 -> disabled
293
        unsigned char AutoPhotoAtitudes;
294
        unsigned char AutoPhotoAtitudes;
294
        unsigned char SingleWpSpeed;
295
        unsigned char SingleWpSpeed;
-
 
296
        unsigned char LandingPulse;
295
        //------------------------------------------------
297
        //------------------------------------------------
296
        unsigned char BitConfig;          // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
298
        unsigned char BitConfig;          // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
297
        unsigned char ServoCompInvert;    // //  0x01 = Nick, 0x02 = Roll, 0x04 = relative moving // WICHTIG!!! am Ende lassen
299
        unsigned char ServoCompInvert;    // //  0x01 = Nick, 0x02 = Roll, 0x04 = relative moving // WICHTIG!!! am Ende lassen
298
        unsigned char ExtraConfig;        // bitcodiert
300
        unsigned char ExtraConfig;        // bitcodiert
299
        unsigned char GlobalConfig3;      // bitcodiert
301
        unsigned char GlobalConfig3;      // bitcodiert