Functions | Variables
GroveTemperatureHumidity.cpp File Reference
#include "mbed.h"
#include "DHT.h"
#include <ros.h>
#include <sensor_msgs/Temperature.h>
#include <sensor_msgs/RelativeHumidity.h>
Include dependency graph for GroveTemperatureHumidity.cpp:

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

Function Documentation

int main ( void  )

Definition at line 36 of file GroveTemperatureHumidity.cpp.


Variable Documentation

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.



rosserial_mbed
Author(s): Gary Servin
autogenerated on Sat Oct 7 2017 03:08:46