pepper.framework.sensor.location module

class pepper.framework.sensor.location.Location[source]

Bases: object

Location on Earth

UNKNOWN = 'Unknown'
city

City String

Returns:city
Return type:str
country

Country String

Returns:country
Return type:str
id

ID for this Location object

Returns:id
Return type:int
label

Learned Location Label

Returns:label
Return type:str
region

Region String

Returns:region
Return type:str
pepper.framework.sensor.location.getrandbits(k) → x. Generates a long int with k random bits.