# Gyro Error Correction Calculator AI Agent Connect

> Gyro Error Correction Calculator handles the math for maritime and aviation navigation. It lets your AI agent compare gyro readings against reference bearings to find errors and calculate corrected headings. Instead of manual math, your agent uses these tools to audit consistency and shift multiple headings at once.

## Overview
- **Category:** aviation
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_cDOlSQ2MhdgvQWTF5JxetKgTxkHHCVi72vAhHTpE/ai-agent-connect
- **Tags:** gyroscope, heading, navigation, error-correction, maritime

## Description

You can use this MCP to fix discrepancies between gyroscope readings and known true bearings. It is built for navigation tasks where precision is non-negotiable, specifically in aviation and maritime environments. When your gyro instrument drifts, your AI agent can step in to identify the exact magnitude and direction of that error. 

Instead of doing manual calculations, you can have your agent determine a corrected true heading that follows your specific sign conventions. It also handles bulk operations, allowing your agent to apply a single error shift across a whole set of headings. If you need to ensure the math holds up, the MCP can audit the reconciliation between the original reading and the final correction to make sure everything stays consistent with the intended reference.

## Tools

### apply_correction
This tool calculates the final true heading after the necessary error adjustment is applied.

### calculate_heading_error
This tool finds the specific magnitude and direction of the error between a gyro heading and a reference bearing.

### get_bearing_transformation
This tool determines how a single gyro error shifts a collection of multiple headings.

### verify_reconciliation
This tool performs a mathematical audit to confirm the gyro reading and correction match the intended reference.

## Prompt Examples

**Prompt:** 
```
My gyro shows 195 degrees, but the true reference bearing is 190 degrees. Using a clockwise convention, what is the error?
```

**Response:** 
```
The error magnitude is 5 degrees, with a correction offset of -5 degrees.
```

**Prompt:** 
```
Apply a 3 degree error to the following headings: [10, 45, 180] using a rightward shift.
```

**Response:** 
```
The transformed headings are [13, 48, 183]. All headings shifted 3 degrees right.
```

**Prompt:** 
```
If the gyro heading is 45 degrees and the error offset is 2 degrees (clockwise), what is the corrected heading?
```

**Response:** 
```
The corrected true heading is 47 degrees.
```

## Capabilities

### Error Identification
Your agent finds the exact difference between gyro readings and true bearings.

### Heading Correction
The MCP computes a new true heading based on calculated offsets.

### Bulk Transformations
Your agent shifts multiple headings at once using a single error value.

### Mathematical Auditing
The tool verifies that corrections lead back to the original reference bearing.

## Use Cases

### Gyro Drift Correction
Your agent identifies when a gyro has drifted from a known reference and calculates the fix.

### Batch Heading Updates
Apply a single identified error to a list of multiple waypoints or headings simultaneously.

### Navigation Auditing
Use the reconciliation tool to double check that all heading math is consistent.

### Flight Path Adjustment
Correct aircraft headings based on specific gyro error magnitudes and directions.

## Benefits

- Removes manual math errors from heading adjustments.
- Handles complex sign conventions for error offsets.
- Processes multiple heading shifts in a single step.
- Provides mathematical verification for each correction made.

## How It Works

Connect your client to Vinkius and start running navigation math immediately.

1. Connect your MCP-compatible client to Vinkius.
2. Provide your gyro reading and reference bearing to your agent.
3. Your agent uses the error calculation tools to find the offset.
4. Your agent applies the correction to get the true heading.
5. Verify the result with a mathematical audit.

## Frequently Asked Questions

**What industries is this MCP for?**
This MCP is designed for maritime and aviation navigation where gyro error correction is required.

**Can I apply one error to many headings?**
Yes, the get_bearing_transformation tool allows your agent to apply an error shift across multiple headings at once.

**How does the MCP handle sign conventions?**
The tools are designed to compute corrected headings that adhere to specific sign conventions provided during the calculation.

**Does this MCP verify its own math?**
Yes, the verify_reconciliation tool performs a mathematical audit to ensure the gyro reading and correction match the reference.

**Which AI clients can use this?**
You can use this MCP with any compatible client like Claude, Cursor, Windsurf, or VS Code.

**How does the tool handle different rotation rules?**
The tool uses a sign convention parameter (clockwise or counter-clockwise) to ensure all calculations align with your specific navigation standard.

**Can I verify if my manual calculations are correct?**
Yes, you can use the `verify_reconciliation` tool to perform a mathematical audit and ensure the observed heading and error match the target bearing.

**What happens if I provide a heading outside the 0-360 range?**
The tools are designed for standard navigation; providing values outside the 0-360 degree range will result in an error to maintain mathematical integrity.
