ahrs-toolsProvides quaternion decomposition into Euler angles and roll/pitch compensation utilities for AHRS orientation handling with pywayne.ahrs.tools.
Install via ClawdBot CLI:
clawdbot install wangyendt/ahrs-toolsThis 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 operationsqmt - OpenCV's quaternion module for conversionsangle_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))AI Usage Analysis
Analysis is being generated… refresh in a few seconds.
Extract text from PDFs with OCR support. Perfect for digitizing documents, processing invoices, or analyzing content. Zero dependencies required.
Fast local PDF parsing with PyMuPDF (fitz) for Markdown/JSON outputs and optional images/tables. Use when speed matters more than robustness, or as a fallback while heavier parsers are unavailable. Default to single-PDF parsing with per-document output folders.
Find, evaluate, and recommend ClawHub skills by need with quality filtering and preference learning.
Fetch full tweets, long tweets, quoted tweets, and X Articles from X/Twitter without login or API keys, using no dependencies and zero configuration.
Skill 查找器 | Skill Finder. 帮助发现和安装 ClawHub Skills | Discover and install ClawHub Skills. 回答'有什么技能可以X'、'找一个技能' | Answers 'what skill can X', 'find a skill'. 触发...
Generate QR codes from text or URL for mobile scanning.