Reads lcm logs and publishes in ROS messages format. Also save a ros bag file. More...

Go to the source code of this file.
| #define | _PUBLISH_MIT_LOGS_ |
| void | signal_handler (int sig) |
| void | copy_pixels_to_image_msg_data (unsigned char *in, sensor_msgs::Image *image, int size) |
| void | set_fixed_fields_image_msg (sensor_msgs::Image *msg, int height, int width, char *encoding, int is_bigendian, char *frame_id) |
| int | main (int argc, char **argv) |
Reads lcm logs and publishes in ROS messages format. Also save a ros bag file.
Definition in file publish_mit_logs.cpp.
| #define _PUBLISH_MIT_LOGS_ |
Definition at line 35 of file publish_mit_logs.cpp.
| void copy_pixels_to_image_msg_data | ( | unsigned char * | in, |
| sensor_msgs::Image * | image, | ||
| int | size | ||
| ) |
Definition at line 66 of file publish_mit_logs.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Following tutorial on http://www.ros.org/wiki/navigation/Tutorials/RobotSetup/Sensors#Publishing_PointClouds_over_ROS
Initialize ROS coms
Definition at line 115 of file publish_mit_logs.cpp.
| void set_fixed_fields_image_msg | ( | sensor_msgs::Image * | msg, |
| int | height, | ||
| int | width, | ||
| char * | encoding, | ||
| int | is_bigendian, | ||
| char * | frame_id | ||
| ) |
Definition at line 99 of file publish_mit_logs.cpp.
| void signal_handler | ( | int | sig | ) |
Definition at line 40 of file publish_mit_logs.cpp.