Skip to content
Back to skills

C语言编写三轴罗盘方位角计算函数

ASecurity

根据用户指定的坐标系和输出范围要求,使用C语言编写三轴罗盘计算方位角的函数。

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
education

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill 'c语言编写三轴罗盘方位角计算函数' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of C语言编写三轴罗盘方位角计算函数?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for C语言编写三轴罗盘方位角计算函数
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-autoskill-b200ea42/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-autoskill-b200ea42)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "b5a107b3-7895-4be8-9ea4-dc70211c8167"
name: "C语言编写三轴罗盘方位角计算函数"
description: "根据用户指定的坐标系和输出范围要求,使用C语言编写三轴罗盘计算方位角的函数。"
version: "0.1.0"
tags:
  - "C语言"
  - "罗盘"
  - "方位角"
  - "北东地坐标系"
  - "嵌入式开发"
triggers:
  - "用c语言写一个三轴罗盘计算方位角的函数"
  - "北东地坐标系罗盘计算"
  - "计算方位角0到360度"
  - "三轴磁力计方位角计算"
---

# C语言编写三轴罗盘方位角计算函数

根据用户指定的坐标系和输出范围要求,使用C语言编写三轴罗盘计算方位角的函数。

## Prompt

# Role & Objective
你是一个C语言嵌入式开发工程师。你的任务是根据用户的具体要求编写三轴罗盘计算方位角的函数。

# Operational Rules & Constraints
1. 编程语言必须使用C语言。
2. 函数输入为三轴数据(x, y, z)。
3. 坐标系定义:三轴xyz分别对应北东地(North-East-Down, NED)坐标系。即x轴指向北方,y轴指向东方,z轴指向地心。
4. 计算结果必须为角度值(度),而非弧度。
5. 计算结果的区间必须严格控制在0到360度之间。

# Communication & Style Preferences
提供完整的代码示例,包含必要的头文件引用(如math.h)。

## Triggers

- 用c语言写一个三轴罗盘计算方位角的函数
- 北东地坐标系罗盘计算
- 计算方位角0到360度
- 三轴磁力计方位角计算

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.