RS-232 GPS - Custom Message Receive NMEA 0183

Support forum for users of the M1 Build

RS-232 GPS - Custom Message Receive NMEA 0183

Postby AucklandFsae47 on Thu Jul 27, 2023 4:22 pm

Hi,
I'd like receive some additional messages from a GPS over RS-232 (NMEA 0183 format)
Using the in-built GPS class, I can receive GPRMC and GPGGA messages.
Can I continue to use the in-built class and only write custom code for the additional messages?
Or would I need to write all the messages in custom code?
Cheers
AucklandFsae47
 
Posts: 2
Joined: Sat Feb 02, 2019 2:11 pm

Re: RS-232 GPS - Custom Message Receive NMEA 0183

Postby adrian on Fri Jul 28, 2023 12:28 pm

Unfortunately there isn't really a way to do what you want within the build environment. The GPS Class is heavily integrated into the SDK to properly handle the serial stream.

What messages are you trying to add?
adrian
MoTeC
 
Posts: 719
Joined: Mon Apr 13, 2015 5:16 pm

Re: RS-232 GPS - Custom Message Receive NMEA 0183

Postby AucklandFsae47 on Fri Jul 28, 2023 1:47 pm

It would be a couple of custom messages following the same message structure, details are below:
Code: Select all
$PIMU,lf,f,f,f,f,f,f*xx\r\n
       1 2 3 4 5 6 7

Code: Select all
Index,   Field,    Units,   Description
1,   time,            sec,           Time since system power up
3,   IMU pqr[0],   rad/sec,   IMU angular rate gyro – X
2,   IMU pqr[1],   rad/sec,   IMU angular rate gyro – Y
4,   IMU pqr[2],   rad/sec,   IMU angular rate gyro – Z
5,   IMU acc[0],   m/s2,   IMU linear acceleration – X
6,   IMU acc[1],   m/s2,   IMU linear acceleration – Y
7,   IMU acc[2],   m/s2,   IMU linear acceleration – Z

Code: Select all
$PINS1,lf,d,d,d,f,f,f,f,f,f,lf,lf,lf,f,f,f*xx\r\n
        1 2 3 4 5 6 7 8 9 0  1  2  3 4 5 6

Code: Select all
Index,   Field,   Units,   Description
1,   timeOfWeek,   sec,   Seconds since Sunday morning in GMT
2,   GPS week,   weeks,   Number of weeks since January 1st of 1980 in GMT
3,   insStatus,   __,   INS Status Flags
4,   hdwStatus,   __,   Hardware Status Flags
5,   theta[0],   rad,   Euler angle – roll
6,   theta[1],   rad,   Euler angle – pitch
7,   theta[2],   rad,   Euler angle – yaw
8,   UVW[0],   m/s,   Velocity in body frame – X
9,   UVW[1],   m/s,   Velocity in body frame – Y
10,   UVW[2],   m/s,   Velocity in body frame – Z
11,   Latitude,   deg,   WGS84 Latitude
12,   Longitude,   deg,   WGS84 Longitude
13,   HAE Altitude,   m,   Height above ellipsoid (vertical elevation)
14,   NED[0],   m,   Offset from reference LLA – North
15,   NED[1],   m,   Offset from reference LLA – East
16,   NED[2],   m,   Offset from reference LLA – Down

Apologies for the formatting, couldn't get tables to work. Hope that makes sense.
Cheers
AucklandFsae47
 
Posts: 2
Joined: Sat Feb 02, 2019 2:11 pm

Re: RS-232 GPS - Custom Message Receive NMEA 0183

Postby adrian on Fri Jul 28, 2023 3:53 pm

If you send an email to support@motec.com.au with all of the details the guys can put in a feature request for you.

Unfortunately I'm not able to confirm when or if it might be implemented. Requests like this for serial devices are few and far between so I can't imagine it will be given high priority.
adrian
MoTeC
 
Posts: 719
Joined: Mon Apr 13, 2015 5:16 pm


Return to M1 Build

Who is online

Users browsing this forum: No registered users and 4 guests

cron