Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Provides quaternion decomposition into Euler angles and roll/pitch compensation utilities for AHRS orientation handling with pywayne.ahrs.tools.
Provides quaternion decomposition into Euler angles and roll/pitch compensation utilities for AHRS orientation handling with pywayne.ahrs.tools.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
This module provides quaternion-based AHRS (Attitude and Heading Reference System) utilities.
from pywayne.ahrs.tools import quaternion_decompose, quaternion_roll_pitch_compensate import numpy as np # Quaternion decomposition q = np.array([0.70710678, 0, 0, 0.707962]) # w, x, y, z angle_all, angle_heading, angle_inclination = quaternion_decompose(q) # Roll/pitch compensation q_comp = quaternion_roll_pitch_compensate(q)
from pywayne.ahrs.tools import quaternion_decompose import numpy as np # Input quaternion (w, x, y, z) q = np.array([w, x, y, z]) # Decompose into angles angle_all, angle_heading, angle_inclination = quaternion_decompose(q) # angle_all: Rotation angles around all axes (vertical + horizontal) # angle_heading: Angle around vertical axis (inclination) # angle_inclination: Angle around horizontal axis (bank)
from pywayne.ahrs.tools import quaternion_roll_pitch_compensate import numpy as np # Input quaternion (w, x, y, z) q = np.array([0.989893, -0.099295, 0.024504, -0.098242]) # Compensate pitch and roll to zero q_comp = quaternion_roll_pitch_compensate(q)
numpy - Array operations qmt - OpenCV's quaternion module for conversions
Decomposition returns both angles (in radians) and heading/inclination angle_all is computed using 2*arccos/abs(quaternion_z) angle_heading uses arctan2(np.abs(quaternion_xy)) angle_inclination uses 2*arcsin(np.abs(quaternion_xy)) Roll/pitch compensation sets pitch and roll of q_comp to zero by using inverse rotation
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.