Functions | |
| def | get_access_token (username, password, client_id, client_secret) |
| def | get_station_values (access_token, device_id) |
| def | publisher_loop (access_token, device_id) |
Variables | |
| anonymous | |
| clientid = config.get("user", "client_id") | |
| clientsecret = config.get("user", "client_secret") | |
| config = ConfigParser.ConfigParser() | |
| config_path = rospy.get_param("~configpath") | |
| deviceid = config.get("device", "device_id") | |
| passw = config.get("user", "password") | |
| pub = rospy.Publisher("weather", WeatherdataArray, queue_size=1) | |
| uname = config.get("user", "username") | |
| wd_access_token = get_access_token(uname, passw, clientid, clientsecret) | |
| def main.get_access_token | ( | username, | |
| password, | |||
| client_id, | |||
| client_secret | |||
| ) |
| def main.get_station_values | ( | access_token, | |
| device_id | |||
| ) |
| def main.publisher_loop | ( | access_token, | |
| device_id | |||
| ) |
| main.clientid = config.get("user", "client_id") |
| main.clientsecret = config.get("user", "client_secret") |
| main.deviceid = config.get("device", "device_id") |
| main.passw = config.get("user", "password") |
| main.pub = rospy.Publisher("weather", WeatherdataArray, queue_size=1) |
| main.uname = config.get("user", "username") |
| main.wd_access_token = get_access_token(uname, passw, clientid, clientsecret) |