agentsclimarketplace

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

Skill ECNU-ICALK/AutoSkill/SkillBank/Users/chinese_gpt3.5_8_GLM4.7/c语言编写三轴罗盘方位角计算函数

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

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

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.5 KB, 365 tokens by cl100k_base, as published. Nobody here has run it

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度
  • 三轴磁力计方位角计算

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.