6 releases

new 0.1.5 May 8, 2025
0.1.4 May 8, 2025
0.1.3 Apr 25, 2025
0.1.1 Feb 19, 2025

#43 in #camera

Download history 124/week @ 2025-02-12 163/week @ 2025-02-19 25/week @ 2025-02-26 47/week @ 2025-03-05 12/week @ 2025-03-12 5/week @ 2025-03-26 138/week @ 2025-04-02 9/week @ 2025-04-09 28/week @ 2025-04-16 126/week @ 2025-04-23 45/week @ 2025-04-30

215 downloads per month

MIT license

36KB
662 lines

A8mini-camera-rs

This project is a Rust port of A8mini-gimbal-camera-control (C version), which was originally created by thiagolages. During the porting process, certain architectural changes were made to better fit the Rust programming language.

Setup

  • Default IP is 192.168.144.25
  • Default port is 37260

List of currently supported simple (hardcoded) commands:

  • AutoCenter
  • RotateUp
  • RotateDown
  • RotateRight
  • RotateLeft
  • StopRotation
  • ZoomIn
  • ZoomOut
  • ZoomMax
  • MaxZoomInformation
  • FocusIn
  • FocusOut
  • TakePicture
  • RecordVideo
  • Rotate100100
  • CameraInformation
  • AutoFocus
  • HardwareIDInformation
  • FirmwareVersionInformation
  • SetLockMode
  • SetFollowMode
  • SetFPVMode
  • AttitudeInformation
  • SetVideoOutputHDMI
  • SetVideoOutputCVBS
  • SetVideoOutputOff
  • LaserRangefinderInformation
  • RebootCamera
  • RebootGimbal

List of currently supported complex commands:

  • SetYawPitchSpeed(i8, i8)
  • SetYawPitchAngle(i16, i16)

Note: More commands might be supported by the camera but may not be included in the list of implemented commands.

Disclamer: SIYI does provide some sample code which was used to build this code.

Dependencies

~7–19MB
~244K SLoC