fcr_lib
v0.0.7
Published
This package gives access to the universal components in the use oof FCR plugins and ground station
Downloads
8
Readme
FCR Avionics Infastructure
This outlines the infastructure of the FCR avionics
GroundStation/GS Requests
| Message Types | Description | Requirements
| :-------- | :----------------------------| :---|
| SCAN
| communication server (CSVR) returns a list of vehicle client IDs (VCID)s , target plugin IDs (TPLGID)s, and other SGS | messageType
| CONNECT
| sets the respective VC's SGS as the senders ID and returns vehicle| messageType
VCIDs
| ME
| returns the data concerning that specific websocket | messageType
GroundStationPlugin /PLG Requests
| Message Types | Description | Requirements
| :-------- | :----------------------------| :---
| DO
| Forwards the message to VC with the respective ID.| payload
messageType
VCIDs
| ME
| returns the data concerning that specific websocket | messageType
VehicleClient /VC Requests
| Message Types | Description | Requirements
| :-------- | :----------------------------| :---
| DO
| Forwards the message to the ground staion and/or plugin with the respective ID.| payload
messageType
- VCIDs
AND/OR SGSIDs
-
| ME
| returns the data concerning that specific websocket | messageType
Communication Server / CSVR Responses
| Message Types | Recieving Clients | Description | Payload Return
| :-- | :--- | :--- | :---|
INIT
| GS
VC
PLG
| returns back the unique ID that refers to the specific client | id
DO
| GS
VC
PLG
| returns a websocket message | message
ME
| GS
| returns back critical information for the websocket | id
TPLGIDs
VCLIDs
ME
| VC
| returns back critical information for the websocket | id
SGSID
``````
ME
| PLG
| returns back critical information for the websocket | id
SGSID
VCID
CONNECTED
| VC
| confirms a new SGS and sends its ID | SGSID
|
ACK
| GS VC PLG
| Confirmation the last request was succesful and returns the message sent | message
|
ERR
| GS VC PLG
| An error has occured at some point | err
|