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

Feature: add paths shaft/revolutions and remoteControl/throttlePosition #594

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
36 changes: 29 additions & 7 deletions schemas/groups/propulsion.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"transmission": {
"type": "object",
"description": "The transmission (gear box) of the named engine",
"properties": {
"properties": {
"gear": {
"type": "object",
"description": "Currently selected gear the engine is in i.e. Forward, Reverse, etc.",
Expand All @@ -105,7 +105,7 @@
"$ref": "../definitions.json#/definitions/commonValueFields"
},
{
"properties": {
"properties": {
"value": {
"enum": [
"Forward",
Expand Down Expand Up @@ -138,10 +138,10 @@
"drive": {
"type": "object",
"description": "Data about the engine's drive.",
"properties": {
"properties": {
"type": {
"description": "The type of drive the boat has i.e Outboard, shaft, jet, etc.",
"enum": [
"enum": [
"saildrive",
"shaft",
"outboard",
Expand All @@ -162,7 +162,7 @@
},
"propeller": {
"description": "Data about the drive's propeller (pitch and slip)",
"pitch": {
"pitch": {
"description": "Current pitch of propeller, the distance the propeller would advance during one revolution of the propeller without slip",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "m"
Expand All @@ -178,7 +178,7 @@
"fuel": {
"type": "object",
"description": "Data about the engine's Fuel Supply",
"properties": {
"properties": {
"type": {
"description": "Fuel type",
"enum": [
Expand Down Expand Up @@ -220,7 +220,29 @@
"description": "Exhaust temperature",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "K"
}
},
"shaft": {
"type": "object",
"description": "Data about the vessel shaft",
"properties": {
"revolutions": {
"description": "Revolutions per second (Positive value for forward propulsion)",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "Hz"
}
}
},
"remoteControl": {
"type": "object",
"description": "Data for remote control (throttle lever/azimuth lever)",
"properties": {
"throttlePosition": {
"description": "Throttle Position, -1<=ratio<=1, 1 is 100%",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "ratio"
}
}
}
}
}
}
Expand Down