Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PGN 127257 #10

Closed
sarfata opened this issue Jun 28, 2016 · 5 comments
Closed

Add support for PGN 127257 #10

sarfata opened this issue Jun 28, 2016 · 5 comments

Comments

@sarfata
Copy link
Contributor

sarfata commented Jun 28, 2016

It would be great to have support for PGN 127257 so we can transmit and receive attitude messages (heel/pitch/roll).

It is documented in Canboat:

{ "Attitude", 127257, true, 7, 0,
  { { "SID", BYTES(1), 1, false, 0, "" }
  , { "Yaw", BYTES(2), RES_RADIANS, true, "rad", "" }
  , { "Pitch", BYTES(2), RES_RADIANS, true, "rad", "" }
  , { "Roll", BYTES(2), RES_RADIANS, true, "rad", "" }
  , { 0 }
  }
}

It would be good to know what is the reference framework too. I am guessing Yaw is relative to true north. Not sure about pitch and roll.

@ttlappalainen
Copy link
Owner

Hi,

No Idea. Do I add it and try with NMEA Reader, what it shows?

Timo

28.6.2016, 13:49, Thomas Sarlandie kirjoitti:

It would be great to have support for PGN 127257 so we can transmit
and receive attitude messages (heel/pitch/roll).

It is documented in Canboat
https://github.com/canboat/canboat/blob/master/analyzer/pgn.h#L1573:

|{ "Attitude", 127257, true, 7, 0, { { "SID", BYTES(1), 1, false, 0, ""
} , { "Yaw", BYTES(2), RES_RADIANS, true, "rad", "" } , { "Pitch",
BYTES(2), RES_RADIANS, true, "rad", "" } , { "Roll", BYTES(2),
RES_RADIANS, true, "rad", "" } , { 0 } } } |

It would be good to know what is the reference framework too. I am
guessing Yaw is relative to true north. Not sure about pitch and roll.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#10, or mute the
thread
https://github.com/notifications/unsubscribe/AM4-ZfWOMBAduqSd1_kxFn5RtqOdsZ5fks5qQPw0gaJpZM4I_-Ud.

@sarfata
Copy link
Contributor Author

sarfata commented Jun 28, 2016

That would be great. I think if someone could capture data from a sensor that sends them (I think some of the Airmar wind sensors send that information) that would be great too.

@ttlappalainen
Copy link
Owner

Hi,

Yaw could be also relative to your course over water. For aircrafts it
has been defined (at least on some referencies) angle between your
course over air.
pitch = positive, when your bow rises
roll = positive, when tilted right

28.6.2016, 13:49, Thomas Sarlandie kirjoitti:

It would be great to have support for PGN 127257 so we can transmit
and receive attitude messages (heel/pitch/roll).

It is documented in Canboat
https://github.com/canboat/canboat/blob/master/analyzer/pgn.h#L1573:

|{ "Attitude", 127257, true, 7, 0, { { "SID", BYTES(1), 1, false, 0, ""
} , { "Yaw", BYTES(2), RES_RADIANS, true, "rad", "" } , { "Pitch",
BYTES(2), RES_RADIANS, true, "rad", "" } , { "Roll", BYTES(2),
RES_RADIANS, true, "rad", "" } , { 0 } } } |

It would be good to know what is the reference framework too. I am
guessing Yaw is relative to true north. Not sure about pitch and roll.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#10, or mute the
thread
https://github.com/notifications/unsubscribe/AM4-ZfWOMBAduqSd1_kxFn5RtqOdsZ5fks5qQPw0gaJpZM4I_-Ud.

@ttlappalainen
Copy link
Owner

I just added attitude PGN 127257. I could only test it with NMEA Reader. It also showed Yaw as negative value, so it may be defined as I mentioned in similar ways as in aircrafts as an angle between vessel course over water.

@sarfata
Copy link
Contributor Author

sarfata commented Jul 22, 2016

Thanks. I will try with my Raymarine i70 but I doubt it will be supported.

@sarfata sarfata closed this as completed Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants