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

Adding Websocket Server for telemetry and status #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

arpitkalla
Copy link

Summary

Adding a WebSocket server in MAVProxy instead of a REST API for low latency and small overhead update to the frontend.
Sharing a "message" queue across threads to constantly send data to the frontend

Testing

  1. Run SITL (Tested on Mac):
    docker run -itd --rm --name sitl_container cuairautopilot/private_repo:sitl_image -C --out=udp:host.docker.internal:14550

  2. Run MAVProxy (From root of the repo):
    python -m MAVProxy.mavproxy --sitl=sitl_container:14550

  3. Run frontend (From frontend folder)
    npm run start

See Logs on the terminal.

Notes

Still need to support the different kinds of messages

@arpitkalla arpitkalla linked an issue Aug 27, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Websockets for Telemetry
1 participant