Rev 272 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 272 | Rev 299 | ||
---|---|---|---|
Line 652... | Line 652... | ||
652 | // DebugOut.Analog[0] = MesswertNick; |
652 | // DebugOut.Analog[0] = MesswertNick; |
653 | // DebugOut.Analog[1] = MesswertRoll; |
653 | // DebugOut.Analog[1] = MesswertRoll; |
654 | // DebugOut.Analog[2] = MesswertGier; |
654 | // DebugOut.Analog[2] = MesswertGier; |
655 | // DebugOut.Analog[0] = IntegralNick / EE_Parameter.GyroAccFaktor; |
655 | // DebugOut.Analog[0] = IntegralNick / EE_Parameter.GyroAccFaktor; |
656 | // DebugOut.Analog[1] = IntegralRoll / EE_Parameter.GyroAccFaktor; |
656 | // DebugOut.Analog[1] = IntegralRoll / EE_Parameter.GyroAccFaktor; |
- | 657 | /* |
|
- | 658 | static signed int x_min,x_max,y_min,y_max,z_min,z_max; |
|
Line -... | Line 659... | ||
- | 659 | ||
- | 660 | if (MM3.x_axis > x_max) x_max = MM3.x_axis; |
|
- | 661 | else if (MM3.x_axis < x_min) x_min = MM3.x_axis; |
|
- | 662 | ||
- | 663 | if (MM3.y_axis > y_max) y_max = MM3.y_axis; |
|
- | 664 | else if (MM3.y_axis < y_min) y_min = MM3.y_axis; |
|
- | 665 | ||
- | 666 | if (MM3.z_axis > z_max) z_max = MM3.z_axis; |
|
- | 667 | else if (MM3.z_axis < z_min) z_min = MM3.z_axis; |
|
- | 668 | ||
- | 669 | DebugOut.Analog[0] = x_max; |
|
- | 670 | DebugOut.Analog[1] = x_min; |
|
- | 671 | DebugOut.Analog[2] = y_max; |
|
- | 672 | DebugOut.Analog[3] = y_min; |
|
- | 673 | DebugOut.Analog[4] = z_max; |
|
- | 674 | DebugOut.Analog[5] = z_min; |
|
657 | 675 | */ |
|
658 | DebugOut.Analog[0] = MM3.NickGrad; |
676 | DebugOut.Analog[0] = MM3.NickGrad; |
659 | DebugOut.Analog[1] = MM3.RollGrad; |
677 | DebugOut.Analog[1] = MM3.RollGrad; |
660 | DebugOut.Analog[2] = Mittelwert_AccNick; |
678 | DebugOut.Analog[2] = Mittelwert_AccNick; |
661 | DebugOut.Analog[3] = Mittelwert_AccRoll; |
679 | DebugOut.Analog[3] = Mittelwert_AccRoll; |