Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add satellites definition to GNSS object in navigation group (non-breaking) #572

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 48 additions & 27 deletions schemas/groups/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,13 +305,13 @@
"layline": {
"type": "object",
"description": "The layline crossing the current course",
"properties":{
"distance":{
"properties": {
"distance": {
"description": "The current distance to the layline",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "m"
},
"time":{
"time": {
"description": "The time to the layline at current speed and heading",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "s"
Expand All @@ -321,13 +321,13 @@
"oppositeLayline": {
"type": "object",
"description": "The layline parallell to current course",
"properties":{
"distance":{
"properties": {
"distance": {
"description": "The current distance to the layline",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "m"
},
"time":{
"time": {
"description": "The time to the layline at current speed and heading",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "s"
Expand Down Expand Up @@ -433,19 +433,53 @@
"properties": {
"value": {
"type": "string",
"enum": [
"no Integrity checking",
"Safe",
"Caution",
"Unsafe"
]
"enum": ["no Integrity checking", "Safe", "Caution", "Unsafe"]
}
}
},
"satellites": {
"$ref": "../definitions.json#/definitions/numberValue",
"description": "Number of satellites"
},
"satellite": {
"description": "The list of satellites in view of the GPS receiver, identified by their PRN code",
"patternProperties": {
"(^[A-Za-z0-9]+$)": {
"type": "object",
"title": "A satellite in view of the GPS receiver",
"description": "Satellites, zero or many, in view by the GPS receiver",
"properties": {
"elevation": {
"type": "object",
"title": "Satellite elevation angle",
"description": "Satellite elevation angle in radians",
"allOf": [{ "$ref": "../definitions.json#/definitions/numberValue" }],
"unit": "rad"
},
"pseudoRandonNoiseCode": {
"type": "object",
"title": "Satellite pseudo random noise (PRN) code",
"description": "Satellite pseudo random noise (PRN) code, unique to each satellite",
"allOf": [{ "$ref": "../definitions.json#/definitions/numberValue" }]
},
"azimuth": {
"type": "object",
"title": "Satellite azimuth",
"description": "Satellite azimuth; angle from true north in radians",
"allOf": [{ "$ref": "../definitions.json#/definitions/numberValue" }],
"unit": "rad"
},
"signalToNoiseRatio": {
"type": "object",
"title": "Satellite signal-to-noise ratio",
"description": "Satellite signal-to-noise ratio in dB",
"allOf": [{ "$ref": "../definitions.json#/definitions/numberValue" }],
"unit": "dB"
}
}
}
}
},
"antennaAltitude": {
"$ref": "../definitions.json#/definitions/numberValue",
"description": "Altitude of antenna",
Expand Down Expand Up @@ -583,11 +617,7 @@
"properties": {
"value": {
"type": "string",
"enum": [
"Not available",
"No special maneuver",
"Special maneuver"
]
"enum": ["Not available", "No special maneuver", "Special maneuver"]
}
}
},
Expand Down Expand Up @@ -737,16 +767,7 @@
},
"gnssTimeSource": {
"description": "Source of GNSS Date and Time",
"enum": [
"GPS",
"GLONASS",
"Galileo",
"Beidou",
"IRNSS",
"Radio Signal",
"Internet",
"Local clock"
]
"enum": ["GPS", "GLONASS", "Galileo", "Beidou", "IRNSS", "Radio Signal", "Internet", "Local clock"]
}
}
}
Expand Down