Trees | Indices | Help |
|
---|
|
object --+ | point.Point --+ | LoranPosition
Since: 0.8.0
|
|||
|
|||
str
|
|
||
str
|
|
||
Inherited from Inherited from Inherited from |
|
|||
Fix |
|
|
|||
latitude Location's latitude |
|||
longitude Locations's longitude |
|||
mode Type of reading |
|||
status GPS status |
|||
time Time the position was taken |
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
Initialise a new LoranPosition object >>> LoranPosition(53.1440233333, -3.01542833333, ... datetime.time(14, 20, 58, 14), True, None) LoranPosition(53.1440233333, -3.01542833333, datetime.time(14, 20, 58, 14), True, None) >>> LoranPosition(53.1440233333, -3.01542833333, ... datetime.time(14, 20, 58, 14), True, "A") LoranPosition(53.1440233333, -3.01542833333, datetime.time(14, 20, 58, 14), True, 'A')
|
Pretty printed position string >>> print(LoranPosition(53.1440233333, -3.01542833333, ... datetime.time(14, 20, 58), True, None)) $GPGLL,5308.6414,N,00300.9257,W,142058.00,A*1F >>> print(LoranPosition(53.1440233333, -3.01542833333, ... datetime.time(14, 20, 58), True, "A")) $GPGLL,5308.6414,N,00300.9257,W,142058.00,A,A*72 |
Return a string version of the reading mode information >>> position = LoranPosition(53.1440233333, -3.01542833333, ... datetime.time(14, 20, 58), True, None) >>> print(position.mode_string()) Unknown >>> position.mode = "A" >>> print(position.mode_string()) Autonomous
|
Parse position data elements >>> LoranPosition.parse_elements(["52.32144", "N", "00300.9257", "W", ... "14205914", "A"]) LoranPosition(52.0053573333, -3.01542833333, datetime.time(14, 20, 59, 140000), True, None)
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 20 12:41:25 2008 | http://epydoc.sourceforge.net |