You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to be able to send connection information from the frontend to the backend. Protobufs will help because we will use the protobuf to define the message passing format, then convert it into TypeScript interfaces for the frontend, and Go structs for the backend.
The extra details about the types and fields isn't necessary for this task, but I'm including them to give a sense of the wider system and to explain why they are important.
What we need:
Enums
enum ConnectionName
AntennaTracker
OnboardComputer
RadioMavlink
enum ConnectionType
Ethernet
Radio
Wifi
Messages
ConnectionStatus
name (ConnectionName)
isActive (boolean)
type (ConnectionType)
ATConnectionInfo
lat (floating point number)
(lat position of the antenna tracker)
lon (floating point number)
(lon position of the antenna tracker)
direction (floating point number)
note: this will either be degrees or radians (the antenna tracker team will decide how it makes sense to send from their end) but either way for us we just need a floating point number to store the value. Represents the angle the antenna tracker is facing.
log (string)
basically raw text of the most recent UDP packets that have arrived from the antenna tracker link
OBCConnectionInfo
mavHeartbeat (floating point number)
essentially a time value which tells us the quality of the serial connection from OBC to flight controller on the plane
cameraConnected (boolean)
true/false is the camera connected to the OBC
RMavConnectionInfo
mavHeartbeat (floating point number)
The text was updated successfully, but these errors were encountered:
🚀 Feature
We want to be able to send connection information from the frontend to the backend. Protobufs will help because we will use the protobuf to define the message passing format, then convert it into TypeScript interfaces for the frontend, and Go structs for the backend.
The extra details about the types and fields isn't necessary for this task, but I'm including them to give a sense of the wider system and to explain why they are important.
What we need:
Enums
enum
ConnectionName
AntennaTracker
OnboardComputer
RadioMavlink
enum
ConnectionType
Ethernet
Radio
Wifi
Messages
ConnectionStatus
name
(ConnectionName
)isActive
(boolean
)type
(ConnectionType
)ATConnectionInfo
lat
(floating point number)lon
(floating point number)direction
(floating point number)log
(string)OBCConnectionInfo
mavHeartbeat
(floating point number)cameraConnected
(boolean)RMavConnectionInfo
mavHeartbeat
(floating point number)The text was updated successfully, but these errors were encountered: