RAPP Platform Wiki
v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
|
RAPP Weather Reporter allows users to get details about current or future weather conditions. It provides two services; a) current weather conditions and b) weather forecast. The user has to provide his current city, which could be evaluated using RAPP Geolocator. The availability of weather services that rely on third party APIs such as YWeahter are restricted according to the APIs' rules and limitations. Thus, service call failures may exist.
Currently supported weather reporters:
In order for the ForecastIO weather reporter to be deployed an API key is required. After obtaining the key via registration, the key should be stored in the following location: ``` ${HOME}/.config/rapp_platform/api_keys/forecast.io ```
Service URL: /rapp/rapp_weather_reporter/current_weather
Service Type: ```
string city
string weather_reporter
string error
string date string temperature string weather_description string humidity string visibility string pressure string wind_speed string wind_temperature string wind_direction ``` Available weather_reporter values:
Service URL: /rapp/rapp_weather_reporter/weather_forecast
Service Type: ```
string city
string weather_reporter
string error
rapp_platform_ros_communications/WeatherForecastMsg[] forecast ```
Available weather_reporter values:
WeatherForecastMsg.msg
``` string high_temperature string low_temperature string description string date ```
Launches the rapp weather reporter node and can be invoked by executing:
roslaunch rapp_weather_reporter weather_reporter.launch
Service URL: localhost:9001/hop/weather_report_current
``` Input = { city: '', weather_reporter: '', metric: 0 } ```
Available weather_reporter values:
``` Output = { date: '', temperature: '', weather_description: '', humidity: '', visibility: '', pressure: '', wind_speed: '', wind_temperature: '', wind_direction: '', error = '' } ```
Service URL: localhost:9001/hop/weather_report_forecast
``` Input = { city: '', weather_reporter: '', metric: 0 } ```
Available weather_reporter values:
``` Output = { forecast: [], error: '' } ```