#include "mbed.h"
#include "DHT.h"
#include <ros.h>
#include <sensor_msgs/Temperature.h>
#include <sensor_msgs/RelativeHumidity.h>
Go to the source code of this file.
Functions | |
int | main () |
Variables | |
sensor_msgs::RelativeHumidity | humidity_msg |
ros::NodeHandle | nh |
ros::Publisher | pub_humidity ("humidity",&humidity_msg) |
ros::Publisher | pub_temp ("temperature",&temp_msg) |
Timer | t |
sensor_msgs::Temperature | temp_msg |
int main | ( | void | ) |
Definition at line 36 of file GroveTemperatureHumidity.cpp.
sensor_msgs::RelativeHumidity humidity_msg |
Definition at line 21 of file GroveTemperatureHumidity.cpp.
Definition at line 18 of file GroveTemperatureHumidity.cpp.
ros::Publisher pub_humidity("humidity",&humidity_msg) |
ros::Publisher pub_temp("temperature",&temp_msg) |
Timer t |
Definition at line 25 of file GroveTemperatureHumidity.cpp.
sensor_msgs::Temperature temp_msg |
Definition at line 20 of file GroveTemperatureHumidity.cpp.