Track Point datatypes
- class garmin.TrkPoint
Bases:
DataType
- is_valid_time()
Return whether the time is valid.
The device ignores the time value for track log points that are not recorded by the device itself, but transferred to the device by an external host. Some devices use 0x7FFFFFFF or 0xFFFFFFFF instead of zero to indicate an invalid time value.
- class garmin.D301(alt=1e+25, dpth=1e+25, **kwargs)
Bases:
D300
- is_valid_alt()
Return whether the altitude is valid.
A
alt
value of 1.0e25 indicates that this parameter is not supported or unknown.
- is_valid_dpth()
Return whether the depth is valid.
A
dpth
value of 1.0e25 indicates that this parameter is not supported or unknown.
- class garmin.D302(alt=1e+25, dpth=1e+25, temp=1e+25, **kwargs)
Bases:
D300
- is_valid_alt()
Return whether the altitude is valid.
A
alt
value of 1.0e25 indicates that this parameter is not supported or unknown.
- is_valid_dpth()
Return whether the depth is valid.
A
dpth
value of 1.0e25 indicates that this parameter is not supported or unknown.
- is_valid_temp()
Return whether the temperature is valid.
A
temp
value of 1.0e25 indicates that this parameter is not supported or unknown.
- class garmin.D303(posn=[0, 0], time=4294967295, alt=1e+25, heart_rate=0)
Bases:
D301
- is_valid_alt()
Return whether the altitude is valid.
A
alt
value of 1.0e25 indicates that this parameter is not supported or unknown.
- is_valid_heart_rate()
Return whether the heart rate is valid.
A
heart_rate
value of 0 indicates that this parameter is not supported or unknown.
- class garmin.D304(distance=1e+25, heart_rate=0, cadence=255, sensor=False, **kwargs)
Bases:
D303
- is_valid_distance()
Return whether the distance is valid.
A
distance
value of 0 indicates that this parameter is not supported or unknown.
- is_valid_cadence()
Return whether the cadence is valid.
A
cadence
value of 0xFF indicates that this parameter is not supported or unknown.