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

Foxglove bridge example #165

Merged
merged 12 commits into from
Sep 2, 2024
Merged

Foxglove bridge example #165

merged 12 commits into from
Sep 2, 2024

Conversation

aviggen
Copy link
Contributor

@aviggen aviggen commented Aug 27, 2024

Description
This PR makes it possible to visualize live telemetry data in Foxglove when connected to a drone. A great addition for students working with the SDK, and also internally for debugging and testing.

The example script foxglove_bridge_ws.py is using the drone object from the SDK to connect to the drone, and a web socket server provided by foxglove to forward the messages. With Foxglove it's now possible to subscribe to the web socket server on ws://localhost:8765 and visualize all the messages coming from the drone.

A new page on how to use it is also added to the docs.

Checklist before merging

  • Run the tests while connected to a drone
  • Update the package version according to semver

@aviggen aviggen added the enhancement New feature or request label Aug 27, 2024
@aviggen aviggen self-assigned this Aug 27, 2024
examples/foxglove_bridge_ws.py Outdated Show resolved Hide resolved
examples/foxglove_bridge_ws.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.83%. Comparing base (30a484f) to head (dea8b46).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #165   +/-   ##
=======================================
  Coverage   73.83%   73.83%           
=======================================
  Files          11       11           
  Lines        1265     1265           
=======================================
  Hits          934      934           
  Misses        331      331           
Flag Coverage Δ
macos-latest_3.10 73.83% <ø> (ø)
macos-latest_3.11 73.83% <ø> (ø)
macos-latest_3.12 73.83% <ø> (ø)
macos-latest_3.9 73.81% <ø> (?)
ubuntu-latest_3.10 73.83% <ø> (?)
ubuntu-latest_3.11 73.83% <ø> (ø)
ubuntu-latest_3.12 73.83% <ø> (ø)
ubuntu-latest_3.9 73.81% <ø> (ø)
windows-latest_3.10 73.81% <ø> (ø)
windows-latest_3.11 73.81% <ø> (ø)
windows-latest_3.12 73.81% <ø> (ø)
windows-latest_3.9 73.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

docs/foxglove-bridge.md Outdated Show resolved Hide resolved
docs/foxglove-bridge.md Outdated Show resolved Hide resolved
docs/foxglove-bridge.md Outdated Show resolved Hide resolved
@follesoe
Copy link
Member

@aviggen Don't leave this one hanging 😿 😮‍💨

@sindrehan sindrehan merged commit 7fc7d5c into master Sep 2, 2024
14 checks passed
@sindrehan sindrehan deleted the foxglove-bridge-example branch September 2, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants