Functions | Variables
GrovePIRMotionSensor.cpp File Reference
#include "mbed.h"
#include <ros.h>
#include <std_msgs/Bool.h>
Include dependency graph for GrovePIRMotionSensor.cpp:

Go to the source code of this file.

Functions

int main ()

Variables

std_msgs::Bool motion_msg
ros::NodeHandle nh
ros::Publisher pub_motion ("motion",&motion_msg)
Timer t

Function Documentation

int main ( void  )

Definition at line 30 of file GrovePIRMotionSensor.cpp.


Variable Documentation

std_msgs::Bool motion_msg

Definition at line 18 of file GrovePIRMotionSensor.cpp.

Definition at line 16 of file GrovePIRMotionSensor.cpp.

ros::Publisher pub_motion("motion",&motion_msg)
Timer t

Definition at line 21 of file GrovePIRMotionSensor.cpp.



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