siyi_a8_mini 0.1.0 copy "siyi_a8_mini: ^0.1.0" to clipboard
siyi_a8_mini: ^0.1.0 copied to clipboard

A Dart package providing direct UDP control for SIYI A8 Mini cameras, supporting gimbal control, zoom, and media capture.

siyi_a8_mini #

A Flutter package for controlling SIYI A8 Mini cameras via UDP protocol.

Features #

  • Connect: Connect to the SIYI A8 Mini camera via its IP and Port.
  • Gimbal Control: Set absolute pitch and yaw angles, or center the gimbal.
  • Camera Control: Zoom in, zoom out, stop zoom, capture images, and start/stop recording.

Getting started #

dependencies:
  siyi_a8_mini: ^0.1.0

Usage #

import 'package:siyi_a8_mini/siyi_a8_mini.dart';

void main() async {
  final client = SiyiA8MiniClient(host: '192.168.144.25', port: 37260);

  // Center the gimbal
  await client.centerGimbal();

  // Set gimbal angle (yaw: 45, pitch: -30)
  await client.setGimbalAngle(45.0, -30.0);

  // Zoom in
  await client.zoomIn();
  await Future.delayed(Duration(seconds: 1));
  await client.stopZoom();

  // Capture an image
  await client.captureImage();
  
  // Dispose when done
  client.dispose();
}

Additional information #

This package interacts directly with the SIYI A8 Mini camera using its raw UDP protocol. Ensure your device is on the same network as the camera.

1
likes
160
points
77
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart package providing direct UDP control for SIYI A8 Mini cameras, supporting gimbal control, zoom, and media capture.

Repository (GitHub)
View/report issues

Topics

#siyi #camera #gimbal #drone #udp

License

MIT (license)

Dependencies

flutter

More

Packages that depend on siyi_a8_mini