pcan_receive_node.cpp
Go to the documentation of this file.
00001 // INCLUDE
00002 
00003 #include <stdio.h>
00004 #include <stdlib.h>
00005 #include <errno.h>
00006 #include <unistd.h>   // exit
00007 #include <signal.h>
00008 #include <string.h>
00009 #include <stdlib.h>   // strtoul
00010 #include <fcntl.h>    // O_RDWR
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         // Enter read loop in which Can data is published on /can_receive
00036         while(ros::ok)
00037         {
00038                 pcan_receive_1.receive();
00039         }
00040 }
00041 
00042 
00043 
00044 
00045 


pcan_topics
Author(s):
autogenerated on Thu Jun 6 2019 17:40:04