Nodelet that recieves ros msg's from a bag file and then prints to a text file. More...
#include <driver_recognition/class_recognition.h>
Go to the source code of this file.
Functions | |
void | create_head_of_file (void) |
Function that organizes the variables in the txt file. | |
int | cria_txt (void) |
Create a txt file with the information needed to use in matlab. | |
int | main (int argc, char **argv) |
main of program | |
void | topic_callback_partial (atlascar_base::AtlascarPartialStatus AtlascarPartialStatus_msg) |
Callback to save the msg from driver monitoring Arduino. | |
void | topic_callback_plc_status (atlascar_base::AtlascarStatus AtlascarStatus_msg) |
Callback to save the msg from atlascar PLC. | |
void | topic_callback_rosout (rosgraph_msgs::Log rosout_msg) |
Callback to save the msg from the name of bag file. | |
void | topic_callback_velocity (atlascar_base::AtlascarVelocityStatus AtlascarVelocityStatus_msg) |
Callback to save the msg from Velocity Arduino. | |
Variables | |
FILE * | fp |
class_recognition::TYPE_msg_partial | partial_msg |
class_recognition::TYPE_msg_bags | recognition |
Nodelet that recieves ros msg's from a bag file and then prints to a text file.
Definition in file recognition.cpp.
void create_head_of_file | ( | void | ) |
Function that organizes the variables in the txt file.
Definition at line 164 of file recognition.cpp.
int cria_txt | ( | void | ) |
Create a txt file with the information needed to use in matlab.
Definition at line 48 of file recognition.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
void topic_callback_partial | ( | atlascar_base::AtlascarPartialStatus | AtlascarPartialStatus_msg | ) |
Callback to save the msg from driver monitoring Arduino.
Definition at line 95 of file recognition.cpp.
void topic_callback_plc_status | ( | atlascar_base::AtlascarStatus | AtlascarStatus_msg | ) |
Callback to save the msg from atlascar PLC.
Definition at line 127 of file recognition.cpp.
void topic_callback_rosout | ( | rosgraph_msgs::Log | rosout_msg | ) |
Callback to save the msg from the name of bag file.
Definition at line 141 of file recognition.cpp.
void topic_callback_velocity | ( | atlascar_base::AtlascarVelocityStatus | AtlascarVelocityStatus_msg | ) |
Callback to save the msg from Velocity Arduino.
Definition at line 115 of file recognition.cpp.
FILE* fp |
Definition at line 41 of file recognition.cpp.
Definition at line 38 of file recognition.cpp.
Definition at line 40 of file recognition.cpp.