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

Go to the source code of this file.

Functions

int main ()
 

Variables

std_msgs::Bool collision_msg
 
ros::NodeHandle nh
 
ros::Publisher pub_collision ("collision",&collision_msg)
 
Timer t
 

Function Documentation

int main ( void  )

Definition at line 31 of file GroveCollision.cpp.

Variable Documentation

std_msgs::Bool collision_msg

Definition at line 18 of file GroveCollision.cpp.

Definition at line 16 of file GroveCollision.cpp.

ros::Publisher pub_collision("collision",&collision_msg)
Timer t

Definition at line 22 of file GroveCollision.cpp.



rosserial_mbed
Author(s): Gary Servin
autogenerated on Mon Jun 10 2019 14:53:26