Author Topic: NMEA 2000  (Read 11652 times)

Offline F.M.Elettromeccanica

  • PLUS+1 Developer
  • ***
  • Posts: 47
  • Karma: +1/-0
NMEA 2000
« on: December 09, 2022, 11:58:24 AM »
Hi all, is there any library to decode NMEA2000 PGN 129029 to reach Latitude and Longitude data? No released and no beta? I thing it will be difficult to use Autonomous FB if no NMEA Library is released.
Thanks in advance

Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 363
  • Karma: +33/-0
Re: NMEA 2000
« Reply #1 on: December 09, 2022, 05:27:07 PM »
Agreed.  NMEA 2000 appears to be standard on RTK GPS transceivers that I've looked into such as Trimble.  That said, the Trimble dealer that I spoke with indicated that they can customize their offering to send us whatever data we need via whatever CAN format we want such as J1939 prop B.
Controls Engineer
Hydra-Power Systems

Offline F.M.Elettromeccanica

  • PLUS+1 Developer
  • ***
  • Posts: 47
  • Karma: +1/-0
Re: NMEA 2000
« Reply #2 on: December 13, 2022, 12:37:40 AM »
In example,is pretty easy read Lat and Long. From a Nmea2000 device. You can easily read on D0..D3 S32 Lat and D4..D7 Long  on PGN 129025. And you can use UTM conv. Zone Block to have UTM data in millimeters. But here comes the biggest problem. These data has 7 decimal points for Lat and Long,with a ± 10cm of resolution. This is not enough for high precision application. Will be useful to have a block that read PGN 129027 and 129029 and convert Lat and Long in North and East mm with a 1cm accouracy. I have written all this logic in Java but i can't use any Danfoss ECU or display,because my code can't be used in guide. Hope some good news will come up in next future.
« Last Edit: December 13, 2022, 12:40:37 AM by F.M.Elettromeccanica »

Offline cvandestroet

  • Moderator
  • PLUS+1 Novice
  • *
  • Posts: 2
  • Karma: +0/-0
Re: NMEA 2000
« Reply #3 on: December 13, 2022, 07:02:57 PM »
Thank you for the feedback. We have taken note of this and will add it to our roadmap for a future release.

Offline oiltronic

  • PLUS+1 Guru
  • *****
  • Posts: 170
  • Karma: +15/-0
Re: NMEA 2000
« Reply #4 on: December 19, 2022, 06:22:28 PM »
On a slight tangent, if you want to use lat & lon then the message decoding is only the start.  A good library of conversion and transformation utilities will be required as well.  I recently did a machine application that used GPS lat & lon as a control input, and I ended up using a Linux-based controller so I could use various python libraries for the positioning and transformations.

Offline F.M.Elettromeccanica

  • PLUS+1 Developer
  • ***
  • Posts: 47
  • Karma: +1/-0
Re: NMEA 2000
« Reply #5 on: December 19, 2022, 10:22:52 PM »
Yes oiltronic,
a lot of work have to be done to work with GNSS solutions properly (that's my job and i use only Linux based controller programmed in Java,C,Python).  But in a large segment of applications that no needs a complex GUI, use Danfoss devices and some C library could save a lot of work ang get these applications very safe for a 24/7 usage in full autonomous control. Expecially where no operator is interacting with the software.Anyway this is an off topic,interesting for sure.