简体   繁体   English

计算偏航/俯仰/横滚

[英]Calculating yaw/pitch/roll

I have three GPS antennae on a boat. 我在船上有三个GPS天线。 They are in fixed xyz positions relative to each other. 它们相对于彼此处于固定的xyz位置。

For example: 例如:

  • Ant1 at (0,0,0) 蚂蚁1在(0,0,0)
  • Ant2 at (0,5,0) 蚂蚁2在(0,5,0)
  • Ant3 at (5,2,0) Ant3位于(5,2,0)

I want to make a program that will calculate the yaw, pitch and roll as the boat travels. 我想制作一个程序来计算船行进时的偏航,俯仰和横滚。 I will have a record of the xyz position for each of the three antennae every second. 我将每秒记录三个天线中每个天线的xyz位置。 It will be ascii format in the form: 格式为ascii:

Ant 1 , time in hrsminsec  , lat in degminsec , long degminsec , z in metres 

For example: 例如:

235316, LA53.1729289341999986,LN-6.2148456192000000,EL163.7457

Ditto for ant2 and ant3. ant2和ant3的同上。

To be honest I would be really surprised of the GPS antenna were accurate enough to give you reliable information for this. 老实说,我真的会惊讶于GPS天线的准确性足以为您提供可靠的信息。 That is unless you have a massive boat, but then again if the boat is massive it probably won't have much roll to it. 那是除非你有一艘大船,但是如果那艘船是大船,那它可能不会滚太多。 GPS are typically only accurate to a few feet (unless they have made massive improvements in the past few years that I am unaware of). GPS通常只能精确到几英尺(除非我在过去几年中没有做出很大的改进)。 Plus you will then need to provide very accurate measurement of your GPS array to the software to make sure things are computed properly. 另外,您将需要向该软件提供非常精确的GPS阵列测量结果,以确保计算正确。 It would probably be a MUCH better and more precise system if you just bought an accelerometer and let it feed the data. 如果您只是购买了一个加速度计并让其提供数据,则可能是一个更好,更精确的系统。 It will give you the actual Yaw/Roll/Pitch from a single device and with great accuracy. 它可以通过单个设备以非常高的精度为您提供实际的偏航/滚动/俯仰。

This product looks to be exactly what you need given hardware and API it provides for logging precomputed yaw/roll/pitch. 该产品看起来正好是您所需的硬件和API,它提供了记录预先计算的偏航/侧倾/俯仰的记录。 I don't have any experience with it, though. 不过,我没有任何经验。

http://www.microstrain.com/3dm.aspx#specs http://www.microstrain.com/3dm.aspx#specs

You could then check the yaw values against the "yaw" values from the GPS (the angle between the line of the boats position at any two points in time and a reference line, like due North) if you wanted to check accuracy. 然后,如果要检查精度,则可以对照GPS的“偏航”值(任意两个时间点的船的位置线与参考线,如正北)之间的偏航值进行检查。

Good luck and I hope this helps. 祝你好运,我希望这会有所帮助。

Why not use MEMS sensors instead of GPS ? 为什么不使用MEMS传感器代替GPS? Much cheaper, but much more accurate. 便宜得多,但准确得多。

This is one of many MEMS sensor demo kits that you can choose : https://www.adafruit.com/product/2472 这是您可以选择的众多MEMS传感器演示套件之一: https : //www.adafruit.com/product/2472

What exactly are those three GPS antennas are connected to? 这三个GPS天线到底连接了什么? If you'll connect it to three GPS receivers you'll wont be able to solve your problem. 如果将其连接到三个GPS接收器,将无法解决问题。

You'll need to a commercial vector GPS receiver, which is not cheap. 您将需要一个价格不菲的商用矢量GPS接收器。 Many commercial vector GPS devices manufacturers also supply a free software which calculates both location and attitude. 许多商业矢量GPS设备制造商还提供了免费的软件,该软件可以计算位置和姿态。

If you're still into writing your own attitude calculation algorithm based on a vector GPS receiver, this paper will help: 如果您仍在编写自己的矢量GPS接收机姿态计算算法,则本文将对您有所帮助:

http://microsat.sm.bmstu.ru/e-library/Algorithms/GPS/4386.pdf http://microsat.sm.bmstu.ru/e-library/Algorithms/GPS/4386.pdf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM