Subversion Repositories NaviCtrl

Rev

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

Rev 500 Rev 503
Line 395... Line 395...
395
                                ToFlightCtrl.Param.Byte[3] = SpeakHoTT;
395
                                ToFlightCtrl.Param.Byte[3] = SpeakHoTT;
396
                                ToFlightCtrl.Param.Byte[4] = NaviData.WaypointIndex; // index of current waypoints running from 0 to WaypointNumber-1
396
                                ToFlightCtrl.Param.Byte[4] = NaviData.WaypointIndex; // index of current waypoints running from 0 to WaypointNumber-1
397
                                ToFlightCtrl.Param.Byte[5] = NaviData.WaypointNumber; // number of stored waypoints
397
                                ToFlightCtrl.Param.Byte[5] = NaviData.WaypointNumber; // number of stored waypoints
398
                                ToFlightCtrl.Param.Int[3] =  NaviData.TargetPositionDeviation.Distance / 10;
398
                                ToFlightCtrl.Param.Int[3] =  NaviData.TargetPositionDeviation.Distance / 10;
399
                                ToFlightCtrl.Param.Byte[8] = NaviData.TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached
399
                                ToFlightCtrl.Param.Byte[8] = NaviData.TargetHoldTime; // time in s to stay at the given target, counts down to 0 if target has been reached
400
                                ToFlightCtrl.Param.Byte[9] = 0;
400
                                ToFlightCtrl.Param.Byte[9] = ToFC_MaxWpListIndex;
401
                                ToFlightCtrl.Param.Byte[10] = 0;
401
                                ToFlightCtrl.Param.Byte[10] = 0;
402
                                ToFlightCtrl.Param.Byte[11] = 0;
402
                                ToFlightCtrl.Param.Byte[11] = 0;
403
                                SpeakHoTT = 0;
403
                                SpeakHoTT = 0;
404
                                break;
404
                                break;