Rev 504 | Rev 509 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 504 | Rev 507 | ||
---|---|---|---|
Line 396... | Line 396... | ||
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] = ToFC_MaxWpListIndex; |
400 | ToFlightCtrl.Param.Byte[9] = ToFC_MaxWpListIndex; |
401 | ToFlightCtrl.Param.Byte[10] = 0; |
401 | ToFlightCtrl.Param.sInt[5] = GyroCompassCorrected / 10; // Bytes 10 & 11 |
402 | ToFlightCtrl.Param.Byte[11] = 0; |
- | |
403 | SpeakHoTT = 0; |
402 | SpeakHoTT = 0; |
404 | break; |
403 | break; |
Line 405... | Line 404... | ||
405 | 404 | ||
406 | case SPI_NCCMD_GPSINFO: |
405 | case SPI_NCCMD_GPSINFO: |