blueye.sdk icon indicating copy to clipboard operation
blueye.sdk copied to clipboard

Add mission planning

Open sindrehan opened this issue 1 year ago • 1 comments

I've only tested this on the bench, but seems to work alright.

Todo:

  • [x] Unit tests
  • [ ] Documentation page
  • [ ] Document requirement for waiting for MISSION_STATE_READY before calling mission.run()
  • [x] Example for testing mission planning
  • [x] Evaluate if it's necessary to create some more functions to easy the ergonomics of creating missions
  • [x] Subscriber for notifications (maybe as a logger by default? And store the ID somewhere so that it's easy for the users to override/delete it)
  • [x] In water test dive
  • [x] Import/export to json
  • [ ] Add a function to quickly create waypoints (new waypoint from current posistion, maybe?)

sindrehan avatar Nov 01 '24 09:11 sindrehan

Codecov Report

Attention: Patch coverage is 72.95597% with 43 lines in your changes missing coverage. Please review.

Project coverage is 75.39%. Comparing base (8471f5a) to head (8dd7a4e). Report is 38 commits behind head on master.

Files with missing lines Patch % Lines
blueye/sdk/drone.py 33.33% 20 Missing :warning:
blueye/sdk/connection.py 33.33% 10 Missing :warning:
blueye/sdk/mission.py 93.26% 7 Missing :warning:
blueye/sdk/utils.py 40.00% 6 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
- Coverage   75.67%   75.39%   -0.29%     
==========================================
  Files          11       12       +1     
  Lines        1369     1528     +159     
==========================================
+ Hits         1036     1152     +116     
- Misses        333      376      +43     
Flag Coverage Δ
macos-latest_3.10 75.39% <72.95%> (-0.29%) :arrow_down:
macos-latest_3.11 75.39% <72.95%> (-0.29%) :arrow_down:
macos-latest_3.12 75.39% <72.95%> (-0.29%) :arrow_down:
macos-latest_3.13 75.39% <72.95%> (-0.29%) :arrow_down:
ubuntu-latest_3.10 75.39% <72.95%> (-0.29%) :arrow_down:
ubuntu-latest_3.11 75.39% <72.95%> (-0.29%) :arrow_down:
ubuntu-latest_3.12 75.39% <72.95%> (-0.29%) :arrow_down:
ubuntu-latest_3.13 75.39% <72.95%> (-0.29%) :arrow_down:
windows-latest_3.10 75.37% <72.95%> (-0.29%) :arrow_down:
windows-latest_3.11 75.37% <72.95%> (-0.29%) :arrow_down:
windows-latest_3.12 75.37% <72.95%> (-0.29%) :arrow_down:
windows-latest_3.13 75.37% <72.95%> (-0.29%) :arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Jan 15 '25 14:01 codecov[bot]

The documentation page looks awesome as well! @sindrehan

aviggen avatar Jun 05 '25 07:06 aviggen