![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/twisted/positioning/__pycache__/ |
o �bn� � @ s d Z ddlZddlZddlmZ ddlmZ ddlmZm Z ddl mZmZm Z ddlmZ ddlmZ dd lmZmZ G d d� de �ZG dd � d e �ZG dd� de �Zdd� Zdd� ZG dd� deej�ZG dd� dej�Zee j�G dd� d��Zg d�Z dS )a� Classes for working with NMEA 0183 sentence producing devices. This standard is generally just called "NMEA", which is actually the name of the body that produces the standard, not the standard itself.. For more information, read the blog post on NMEA by ESR (the gpsd maintainer) at U{http://esr.ibiblio.org/?p=801}. Unfortunately, official specifications on NMEA 0183 are only available at a cost. More information can be found on the Wikipedia page: U{https://en.wikipedia.org/wiki/NMEA_0183}. The official standard may be obtained through the NMEA's website: U{http://www.nmea.org/content/nmea_standards/nmea_0183_v_410.asp}. @since: 14.0 � N)�reduce)�implementer)� ValueConstant�Values)� _sentence�base�ipositioning)�Angles)�LineReceiver)� iterbytes�nativeStringc @ s4 e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdS )�GPGGAFixQualitiesav The possible fix quality indications for GPGGA sentences. @cvar INVALID_FIX: The fix is invalid. @cvar GPS_FIX: There is a fix, acquired using GPS. @cvar DGPS_FIX: There is a fix, acquired using differential GPS (DGPS). @cvar PPS_FIX: There is a fix, acquired using the precise positioning service (PPS). @cvar RTK_FIX: There is a fix, acquired using fixed real-time kinematics. This means that there was a sufficient number of shared satellites with the base station, usually yielding a resolution in the centimeter range. This was added in NMEA 0183 version 3.0. This is also called Carrier-Phase Enhancement or CPGPS, particularly when used in combination with GPS. @cvar FLOAT_RTK_FIX: There is a fix, acquired using floating real-time kinematics. The same comments apply as for a fixed real-time kinematics fix, except that there were insufficient shared satellites to acquire it, so instead you got a slightly less good floating fix. Typical resolution in the decimeter range. @cvar DEAD_RECKONING: There is currently no more fix, but this data was computed using a previous fix and some information about motion (either from that fix or from other sources) using simple dead reckoning. Not particularly reliable, but better-than-nonsense data. @cvar MANUAL: There is no real fix from this device, but the location has been manually entered, presumably with data obtained from some other positioning method. @cvar SIMULATED: There is no real fix, but instead it is being simulated. �0�1�2�3�4�5�6�7�8N) �__name__� __module__�__qualname__�__doc__�INVALID_FIX�GPS_FIX�DGPS_FIX�PPS_FIX�RTK_FIX� FLOAT_RTK_FIX�DEAD_RECKONING�MANUAL� SIMULATED� r$ r$ �:/usr/lib/python3/dist-packages/twisted/positioning/nmea.pyr % s r c @ s e Zd ZdZed�Zed�ZdS )�GPGLLGPRMCFixQualitiesa� The possible fix quality indications in GPGLL and GPRMC sentences. Unfortunately, these sentences only indicate whether data is good or void. They provide no other information, such as what went wrong if the data is void, or how good the data is if the data is not void. @cvar ACTIVE: The data is okay. @cvar VOID: The data is void, and should not be used. �A�VN)r r r r r �ACTIVE�VOIDr$ r$ r$ r% r&