Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Decomposing quaternions and compensating roll and pitch v1.0.0

Use this resource to split an attitude quaternion into angles or compensate it for roll and pitch

New

  • 337 downloads
  • 233 likes
  • 181 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install ahrs-quaternion-roll-pitch

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent calls quaternion_decompose to get the heading and inclination angles, then quaternion_roll_pitch_compensate to bring roll and pitch to zero. You get angles and a compensated quaternion for an AHRS sensor.

Mostly picked by

Updated November 2, 2026

Card for the “Decomposing quaternions and compensating roll and pitch” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: quaternion decomposition into angles
  • SKILL.md: roll and pitch compensation

Good fit for

  • You read the attitude of an inertial measurement unit
  • You want to align a sensor with the horizontal plane

Not for

    Tags

    • ahrs
    • quaternion
    • roll
    • pitch
    • imu

    About

    You say

    “Decompose this quaternion from my IMU and compensate roll and pitch.”

    Card for the “Decomposing quaternions and compensating roll and pitch” skill

    Skill published by wangyendt under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to split an attitude quaternion into angles or compensate it for roll and pitch
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • SKILL.md2 KB

    Origin and licence

    Listed unmodified

    Author
    wangyendt
    Source
    github.com/wangyendt/wayne-skills/tree/072d00f36c1216c1151b753bde19481e93a631f1/pywayne/ahrs/ahrs-tools
    Licence
    MIT

    Notice

    « pywayne-ahrs-tools » (wangyendt, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.