turret-0.1.0 is not a library.
Turret
Command-line tool for STorM32 gimbal controllers. Uses the RC Commands protocol.
Features
- Auto-detects STorM32 devices
- Set gimbal angles, pan modes, standby
- Query status and firmware info
- Structured logging with verbosity levels
Installation
Download Binary
Download the latest release from Releases for your platform.
Build from Source
# Install Rust (if needed)
|
# Clone and build
Usage
# Basic commands (auto-detects device)
# Manual device specification
# Verbose output for debugging
# Individual axis control
# Pan mode and standby
Protocol
Uses STorM32 RC Commands protocol over serial (115200 baud).
Message format: [0xFA][len][cmd][payload][crc16]
Supports: version query, angle setting, status reading, pan modes.
Device Detection
Auto-detects STM32 Virtual COM Port (VID:0x0483, PID:0x5740).
Falls back to common patterns: /dev/ttyACM*, /dev/ttyUSB*, COM*
Troubleshooting
- No device found: Check USB connection and power
- Permission denied: Add user to
dialoutgroup or usesudo - Communication errors: Verify 115200 baud rate and cable quality