#include "mbed.h"
#include <ros.h>
#include <std_msgs/Empty.h>
Go to the source code of this file.
Functions | |
int | main () |
void | messageCb (const std_msgs::Empty &toggle_msg) |
DigitalOut | myled (LED1) |
Variables | |
ros::NodeHandle | nh |
ros::Subscriber< std_msgs::Empty > | sub ("toggle_led",&messageCb) |
DigitalOut myled | ( | LED1 | ) |
ros::Subscriber<std_msgs::Empty> sub("toggle_led",&messageCb) |