Skip to content

Commit

Permalink
Add multiplier for GPS_STATUS.satellite_azimuth
Browse files Browse the repository at this point in the history
The description specifies that 255 represents 360 deg, therefore multiplier is 360/255
  • Loading branch information
shancock884 authored and peterbarker committed May 27, 2024
1 parent 8cd0669 commit 9606dbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/mavschema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
<xs:simpleType name="factor">
<xs:restriction base="xs:string">
<xs:enumeration value="1E-2"/> <!-- actual value = stated value / 100 -->
<xs:enumeration value="360/255"/> <!-- actual value = stated value * 360/255, as used for GPS_STATUS.satellite_azimuth -->
</xs:restriction>
</xs:simpleType>

Expand Down

0 comments on commit 9606dbc

Please sign in to comment.