Go to the documentation of this file.00001
00002
00003 #include <stdio.h>
00004 #include <stdlib.h>
00005 #include <errno.h>
00006 #include <unistd.h>
00007 #include <signal.h>
00008 #include <string.h>
00009 #include <stdlib.h>
00010 #include <fcntl.h>
00011 #include <ctype.h>
00012 #include "common.h"
00013 #include "pcan_receive.h"
00014 #include "ros/ros.h"
00015 #include "std_msgs/String.h"
00016 #include <sstream>
00017
00018
00019
00020
00021
00022 int main(int argc, char** argv)
00023 {
00030 ros::init(argc, argv, "pcan_receive");
00031 pcan_receive pcan_receive_1;
00032 pcan_receive_1.init(argc, argv);
00033 signal(SIGTERM, signal_handler);
00034 signal(SIGINT, signal_handler);
00035
00036 while(ros::ok)
00037 {
00038 pcan_receive_1.receive();
00039 }
00040 }
00041
00042
00043
00044
00045