Skip to content

Latest commit

 

History

History
114 lines (80 loc) · 5.09 KB

macOS.md

File metadata and controls

114 lines (80 loc) · 5.09 KB

Trident Cockpit is an alternative macOS native control app for the Sofar Trident Underwater Drone.


Development of the native macOS version has been discontinued.

Features

  • Controls the Trident Underwater Drone by Sofar Ocean
  • Watch video stream from the drone
  • Keyboard, mouse and gamepad control
  • Controls camera, light, stabilization
  • Realtime drone orientation view
  • Show depth, temperature, camera and battery times
  • Past dives video from drone: watch, download and delete.
  • Show maintenance data: internal pressure, internal temperature, battery cycle count
  • Support payload connection and control. (now GoPro HERO 3/3+)

Payload control:

GoPro HERO 3/3+

  • Control camera power
  • Camera recording control
  • Live preview
  • Show battery level
  • Show recording time left

Supported gamepads

  • Xbox Wireless Controller
  • DualShock 4
  • Any MFi certified gamepad

Support the project

If you’re benefiting from my project, or simply like what I do, you can help me by donating some amount onetime or each month. Supporting me on Patreon will help pay for hardware needed for further development. The money received will go towards:

  • Buy a GoPro Max 360 for support latest GoPro models in the app.
  • Buy an iPad to speed up iPad version testing.

With Patreon, you can send me a small monthly amount of money, or make a one-time donation by canceling the monthly subscription after the first payment.

Keyboard Shortcuts

Moton control

Shortcut Description
Up Arrow Forward
Down Arrow Backward
Left Arrow Turn Left (rotate counterclockwise)
Right Arrow Turn Right (rotate clockwise)
W Tilt Down
E Tilt Up

Motor speed modifiers

Shortcut Description
without modifiers 10% of motor speed
Option + (WE) 25% of motor speed
Control + (WE) 50% of motor speed
Shift + (WE) 100% of motor speed

Other shortcuts

Shortcut Description
L Light control
R Camera control
Y Drone view relative yaw
A Drone view absolute yaw

Building from Source

For build instructions please check out build.yml, which should be up-to-date at all times.

Dependencies

  • Eprosima Fast RTPS - implementation of the OMG RTPS protocol. Modified version based on Eprosima Fast RTPS.
  • Foonathan memory - Memory allocator for Fast RTPS. Modified version for iOS comparability.
  • FastRTPSBridge - A Swift wrapper for FastRTPS library
  • CDRCodable - Swift Codable serialization/deserialization framework for Common Data Representation (CDR) binary format.
  • Shout - A Swift SSH framework that wraps libssh2. Modified version.
  • BlueSocket - Socket framework for Swift using the Swift Package Manager. Modified version based on IBM BlueSocket.
  • Moya - Network abstraction layer written in Swift.
  • PromiseKit - Promises for Swift & ObjC.
  • Kingfisher - A lightweight, pure-Swift library for downloading and caching images from the web.
  • FlatButton - Layer based NSButton with Interface Builder styling options
  • CircularProgress - Circular progress indicator for your macOS app

Author

Dmitriy Borovikov - DimaRU, AOWD diver, iOS developer, Openrov Trident Kickstarter backer #1284

License

This project is licensed under the MIT License - see the LICENSE file for details

Credits

Thanks to Jim N. for "Software Exploration - DDS and the Trident" series of posts on Openrov forum

Disclaimer

This project is unofficial (meaning not supported by or affiliated with Sofar Ocean). Use it at your own risk.