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

Go to the source code of this file.

Functions

int main ()
 

Variables

ros::Publisher chatter ("chatter",&str_msg)
 
char hello [13] = "hello world!"
 
DigitalOut led = LED1
 
ros::NodeHandle nh
 
std_msgs::String str_msg
 

Function Documentation

int main ( void  )

Definition at line 19 of file HelloWorld.cpp.

Variable Documentation

ros::Publisher chatter("chatter",&str_msg)
char hello[13] = "hello world!"

Definition at line 15 of file HelloWorld.cpp.

DigitalOut led = LED1

Definition at line 17 of file HelloWorld.cpp.

Definition at line 10 of file HelloWorld.cpp.

std_msgs::String str_msg

Definition at line 12 of file HelloWorld.cpp.



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