Subversion Repositories FlightCtrl

Rev

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

Rev 690 Rev 701
Line 44... Line 44...
44
int Debug_Timer;
44
int Debug_Timer;
Line 45... Line 45...
45
 
45
 
46
const unsigned char ANALOG_TEXT[32][16] =
46
const unsigned char ANALOG_TEXT[32][16] =
47
{
47
{
48
   //1234567890123456
48
   //1234567890123456
49
    "IntegralNick    ", //0
49
    "IntegralPitch   ", //0
50
    "IntegralRoll    ",
50
    "IntegralRoll    ",
51
    "AccNick         ",
51
    "AccPitch        ",
52
    "AccRoll         ",
52
    "AccRoll         ",
53
    "GyroGier        ",
53
    "GyroYaw         ",
54
    "HoehenWert      ", //5
54
    "ReadingHight    ", //5
55
    "AccZ            ",
55
    "AccZ            ",
56
    "Gas             ",
56
    "Gas             ",
57
    "KompassValue    ",
57
    "CompassHeading  ",
58
    "Spannung        ",
58
    "Voltage         ",
59
    "Empfang         ", //10
59
    "Receiver Level  ", //10
60
    "Analog11        ",
60
    "Analog11        ",
61
    "Motor_Vorne     ",
61
    "Motor_Front     ",
62
    "Motor_Hinten    ",
62
    "Motor_Rear      ",
63
    "Motor_Links     ",
63
    "Motor_Left      ",
64
    "Motor_Rechts    ", //15
64
    "Motor_Right     ", //15
65
    "Acc_Z           ",
65
    "Acc_Z           ",
66
    "MittelAccNick   ",
66
    "MeanAccPitch    ",
67
    "MittelAccRoll   ",
67
    "MeanAccRoll     ",
68
    "IntegralErrNick ",
68
    "IntegralErrPitch",
69
    "IntegralErrRoll ", //20
69
    "IntegralErrRoll ", //20
70
    "MittelIntNick   ",
70
    "MeanIntPitch    ",
71
    "MittelIntRoll       ",
71
    "MMeanIntRoll        ",
72
    "NeutralNick     ",
72
    "NeutralPitch    ",
73
    "RollOffset      ",
73
    "RollOffset      ",
74
    "IntRoll*Faktor  ", //25
74
    "IntRoll*Factor  ", //25
75
    "Analog26        ",
75
    "Analog26        ",
76
    "DirektAusglRoll ",
76
    "DirectCorrRoll  ",
77
    "MesswertRoll    ",
77
    "ReadingRoll     ",
78
    "AusgleichRoll   ",
78
    "CorrectionRoll  ",
79
    "I-LageRoll      ", //30
79
    "I-AttRoll       ", //30
80
    "StickRoll       "
80
    "StickRoll       "
Line 355... Line 355...
355
   case 'o':
355
   case 'o':
356
   case 'p': // Parametersatz speichern
356
   case 'p': // Parametersatz speichern
357
            Decode64((uint8_t *) &ParamSet.ChannelAssignment[0],PARAMSET_STRUCT_LEN,3,AnzahlEmpfangsBytes);
357
            Decode64((uint8_t *) &ParamSet.ChannelAssignment[0],PARAMSET_STRUCT_LEN,3,AnzahlEmpfangsBytes);
358
                        ParamSet_WriteToEEProm(rxd_buffer[2] - 'l' + 1);
358
                        ParamSet_WriteToEEProm(rxd_buffer[2] - 'l' + 1);
359
            //SetActiveParamSet(rxd_buffer[2] - 'l' + 1);  // is alredy done in ParamSet_WriteToEEProm()
359
            //SetActiveParamSet(rxd_buffer[2] - 'l' + 1);  // is alredy done in ParamSet_WriteToEEProm()
360
            Umschlag180Nick = (int32_t) ParamSet.WinkelUmschlagNick * 2500L;
360
            TurnOver180Pitch = (int32_t) ParamSet.AngleTurnOverPitch * 2500L;
361
            Umschlag180Roll = (int32_t) ParamSet.WinkelUmschlagRoll * 2500L;
361
            TurnOver180Roll = (int32_t) ParamSet.AngleTurnOverRoll * 2500L;
362
            Piep(GetActiveParamSet());
362
            Piep(GetActiveParamSet());
363
         break;
363
         break;
Line 364... Line 364...
364
 
364