Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dev:tailcontrol-command-protocol [2026/09/21 19:56] – darkgrueen:dev:tailcontrol-command-protocol [2026/09/25 20:24] (current) – darkgrue
Line 514: Line 514:
  
  
-==== Notes about Tilt Mode ====+==== Notes about ClawGear Tilt Mode ====
  
-In order to prevent erratic and constant movement of the ears while Tilt Mode is enabled, there is a reset and cooldown timer. The way it works is once the ears move out of the "dead zone," which is 14° off of center, the associated move is played. Once the ears have returned to the dead zone a 3000 ms (3 sec) cooldown is started. Once that timer has expired, the tilt triggers are re-enabled ON A TILT THAT STARTS FROM THE DEAD ZONE:+The minimum tilt is 75° of pitch for up, and −75° for down. Pitch is ''atan2(ay, az)'' from the low-pass-filtered accelerometer data, where 0° means flat, a state triggers when that distance is 15° or less. The 5° gap between entering and exiting is hysteresis, which stops the state from flickering near the edge. Once UP or DOWN triggers, the pitch has to come back past ±70° before the state returns to NEUTRAL. 
 + 
 +Invalid readings: if ''sqrt(ay² + az²) < 0.10 g'' (the device is lying on its side), the classifier keeps the last state and doesn't reclassify. 
 + 
 +ClawGear does not have a cooldown timer enabled on it's Tilt Mode. 
 + 
 + 
 +==== Notes about EarGear 2 Tilt Mode ==== 
 + 
 + 
 +In order to prevent erratic and constant movement of the ears while Tilt Mode is enabled, there is a reset and cooldown timer. The way it works is once the ears move out of the "dead zone," which is 14° off of center, the associated move is played. While the ears are moving, the tilt classifier is suspended (because the ear movement itself is tilting the ears). Once the ears have stopped moving, a 3000 ms (3 sec) cooldown is started. Once that timer has expired, the tilt triggers are re-enabled if the ears have EITHER returned to the center at any time during the cooldown timer OR have tilted to another trigger position other than the one that last triggered.
  
 <code> <code>
Line 537: Line 547:
 [xx:xx:11]Returned to center, tilt holdoff released.   [xx:xx:11]Returned to center, tilt holdoff released.  
 </code> </code>
- 
-So again, the tilt sequence is: 
- 
-  - Trigger tilt by tilting ears 14° off-center, front, back, left, or right. 
-  - Return ears to center. 
-  - Wait 3000 ms. 
-  - Ears MUST return to center, if they are not there when the timer expires. 
-  - Ears will trigger again if moved 14° off-center. 
- 
-ClawGear does not have a cooldown timer enabled on it's Tilt Mode. 
  
  
 == Copyright 2024-2026 © The Mechanical Tail Company Limited contact@thetailcompany.com. All Rights Reserved. The Mechanical Tail Company Limited also claims trademark rights in the following: TailControl, MiTail, MiTail Mini, FlutterWings, and EarGear.  Any unauthorized use is expressly prohibited. == == Copyright 2024-2026 © The Mechanical Tail Company Limited contact@thetailcompany.com. All Rights Reserved. The Mechanical Tail Company Limited also claims trademark rights in the following: TailControl, MiTail, MiTail Mini, FlutterWings, and EarGear.  Any unauthorized use is expressly prohibited. ==