gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AIS message 1, Rate of turn


From: Владимир Калачихин
Subject: AIS message 1, Rate of turn
Date: Thu, 18 May 2023 15:53:29 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

I am, of course, stupid, but:

https://www.navcen.uscg.gov/ais-class-a-reports :
'Rate of turn' field has 8 bits.
It may contain:
"-127 = turning left at more than 5 deg per 30 s (No TI available)"

How to cram in 8 bits the '-127' number?


Next:
"-128 (80 hex) indicates no turn information available (default)."

But '80 hex' === 128, not the -128.

Can anyone clarify?


--
Владимир Калачихин



reply via email to

[Prev in Thread] Current Thread [Next in Thread]