Class: Rubycam::CLI::Commands::GestureCommand
- Inherits:
-
VideoCommand
- Object
- Dry::CLI::Command
- VideoCommand
- Rubycam::CLI::Commands::GestureCommand
- Defined in:
- lib/rubycam/cli.rb
Overview
Nod (yes) and shake (no) gimbal gestures. The pan/tilt speed controls govern how fast absolute moves execute, so the gesture maxes them out for the duration — a slow drift doesn't read as a nod — and restores the saved speeds afterwards.
Constant Summary collapse
- SWING =
amplitude in V4L2 1/3600-degree units
15 * 3600
- BEAT =
seconds per half-swing before reversing
0.5