Skip to content

v0.20.0

Choose a tag to compare

@mickmis mickmis released this 13 Oct 11:31
· 49 commits to main since this release
4a99fb4

Release Notes for v0.20.0

Mandatory migration tasks

Update PlanningAreaResource

Resources of type resources.PlanningAreaResource now have their volume specified via a separate resource.VolumeResource resource, which needs to be passed as a dependency.

Previously, a planning area would be specified as:

planning_area:
  $content_schema: monitoring/uss_qualifier/resources/definitions/ResourceDeclaration.json
  resource_type: resources.PlanningAreaResource
  specification:
    base_url: https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/f3548_self_contained/planning_area
    volume:
      outline_polygon:
        vertices:
          - lat: 37.1853
            lng: -80.6140
          - lat: 37.2148
            lng: -80.6140
          - lat: 37.2148
            lng: -80.5440
          - lat: 37.1853
            lng: -80.5440
      altitude_lower:
        value: 0
        reference: W84
        units: M
      altitude_upper:
        value: 3048
        reference: W84
        units: M

The volume needs to ve moved to a separate VolumeResource, and references in the dependencies of the existing PlanningAreaResource:

# Add a new resource:
planning_area_volume:
  $content_schema: monitoring/uss_qualifier/resources/definitions/ResourceDeclaration.json
  resource_type: resources.VolumeResource
  specification:
    template:
      outline_polygon:
        vertices:
          - lat: 37.1853
            lng: -80.6140
          - lat: 37.2148
            lng: -80.6140
          - lat: 37.2148
            lng: -80.5440
          - lat: 37.1853
            lng: -80.5440
      altitude_lower:
          value: 0
          reference: W84
          units: M
      altitude_upper:
          value: 3048
          reference: W84
          units: M

# Add a dependencies section with a 'volume' to the existing resource.
planning_area:
  $content_schema: monitoring/uss_qualifier/resources/definitions/ResourceDeclaration.json
  resource_type: resources.PlanningAreaResource
  dependencies:
    volume: planning_area_volume
  specification:
    base_url: https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/f3548_self_contained/planning_area

Update ServiceAreaResource

Resources of type resources.ServiceAreaResource now have their volume specified via a separate resource.VolumeResource resource, which needs to be passed as a dependency.

Previously, a service area would be specified as:

kentland_service_area:
  $content_schema: monitoring/uss_qualifier/resources/definitions/ResourceDeclaration.json
  resource_type: resources.netrid.ServiceAreaResource
  specification:
    base_url: https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/kentland_service_area
    footprint:
      - lat: 37.1853
        lng: -80.6140
      - lat: 37.2148
        lng: -80.6140
      - lat: 37.2148
        lng: -80.5440
      - lat: 37.1853
        lng: -80.5440
    altitude_min: 0
    altitude_max: 3048
    reference_time: '2023-01-10T00:00:00.123456+00:00'
    time_start: '2023-01-10T00:00:01.123456+00:00'
    time_end: '2023-01-10T01:00:01.123456+00:00'

The volume needs to ve moved to a separate VolumeResource, and references in the dependencies of the existing PlanningAreaResource:

kentland_service_area_volume:
  $content_schema: monitoring/uss_qualifier/resources/definitions/ResourceDeclaration.json
  resource_type: resources.VolumeResource
  specification:
    template:
      outline_polygon:
        vertices:
          - lat: 37.1853
            lng: -80.6140
          - lat: 37.2148
            lng: -80.6140
          - lat: 37.2148
            lng: -80.5440
          - lat: 37.1853
            lng: -80.5440
      altitude_lower:
        value: 0
        reference: W84
        units: M
      altitude_upper:
        value: 3048
        reference: W84
        units: M
      start_time:
        offset_from:
          starting_from:
            time_during_test: TimeOfEvaluation
          offset: 1s
      end_time:
        offset_from:
          starting_from:
            time_during_test: TimeOfEvaluation
          offset: 1h0m1s

kentland_service_area:
  $content_schema: monitoring/uss_qualifier/resources/definitions/ResourceDeclaration.json
  resource_type: resources.netrid.ServiceAreaResource
  dependencies:
    volume: kentland_service_area_volume
  specification:
    base_url: https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/kentland_service_area

Do note that the altitude and time bound fields (altitude_lower, altitude_upper, start_time, end_time) require some adaptations beyond simple copy-pasting.

Optional migration tasks

N/A

Important information

What's Changed

Full Changelog: interuss/monitoring/v0.19.0...interuss/monitoring/v0.20.0