DevGuide/BoozDesign

From PaparazziUAV
Jump to: navigation, search

Here we want to collect our thoughts on the re-design of the booz airborne code.

brain storm

Aims:

  • Interface on Navigation, Guidance, Stabilization and Supervision level
  • Priority system
  • Overlay of different inputs
  • Events

Use Cases

  • priority of RC to switch to manual mode
  • RC overlay of guidance
  • FMS overlay of RC (e.g. test signal)
  • Limit max. throttle with RC

Events:

  • Mode change from RC
  • Mode change from GCS
    • give priority of mode from RC over mode set in GCS?
  • RC lost
    • if in Nav mode goto Home mode
    • if in Nav mode do nothing
    • if in Manual/Auto1 mode goto Failsafe mode
  • datalink lost
    • if in Manual do nothing
    • if in Nav do nothing
    • if in Nav goto Home mode
  • GPS lost
    • if in Nav do Safety landing
    • in Manual do nothing
  • outside zone
    • kill motors
    • in Manual do nothing
    • if in Nav mode goto Home mode
  • battery critical

Autopilot

Describe modules (nav, guidance, stabilization, etc.) as xml with in and outputs. A mode is a specific connection of modules. Events can change the mode.


possible priority systems:

  1. Every mode belongs to a certain priority level. If an event requests a new mode with a higher priority than the current mode it is switched to the new mode.
    Better suited for a lot of different modes which can be grouped into priority levels.
  2. Every event has a condition (current mode) and associated requested mode (or multiple conditions). If the condition matches the current mode the autopilot will switch to the new mode.
    e.g. Event: GPS lost Condition: Nav mode ReqMode: Failsafe
    This will get tedious with a lot of modes....

Interfaces

navigation

  • interface here needed at all?

guidance

  • pos setpoint in LTP
  • speed setpoint in LTP ?

stabilization

  • quaternion fixed point
  • quaternion float

supervision

  • roll, pitch, yaw and thrust command. unit? limit?

Current Status

The ImageMap extension is not installed.

ReDesign

Example of input and control loops. For normal navigation mode the the setpoints follow the black path only. But via the green path the RC command can be overlaid on guidance (the two input quaternions to stabilization are multiplied). For manual attitude mode only the green input is considered for stabilization.

The ImageMap extension is not installed.