#include <ros/ros.h>#include <std_msgs/Header.h>#include <tf/transform_listener.h>#include <signal.h>#include <features.h>#include <bits/sigset.h>#include <bits/types.h>#include <stdio.h>#include <cstdlib>

Go to the source code of this file.
Classes | |
| class | Teleop | 
Defines | |
| #define | KEYCODE_D 0x42 | 
| #define | KEYCODE_E 0x65 | 
| #define | KEYCODE_L 0x44 | 
| #define | KEYCODE_Q 0x71 | 
| #define | KEYCODE_R 0x43 | 
| Tag good/bad leader in bag files.   | |
| #define | KEYCODE_U 0x41 | 
Functions | |
| int | main (int argc, char **argv) | 
| void | quit (int sig) | 
Variables | |
| int | kfd = 0 | 
| struct termios cooked | raw | 
| #define KEYCODE_D 0x42 | 
Definition at line 51 of file bag_tagger.cpp.
| #define KEYCODE_E 0x65 | 
Definition at line 53 of file bag_tagger.cpp.
| #define KEYCODE_L 0x44 | 
Definition at line 49 of file bag_tagger.cpp.
| #define KEYCODE_Q 0x71 | 
Definition at line 52 of file bag_tagger.cpp.
| #define KEYCODE_R 0x43 | 
Tag good/bad leader in bag files.
this program receives input from the keyboard (arrow keys) and when this happens, a message called /timetag is created and published. this message should be subscribed by a bag recorder (together with all the messages of interest) so the result is a bag equal to the original + a tag. this tag signals when a good leader becames a bad leader and this is used by the extract_features code together with other measurements from each target.
Definition at line 48 of file bag_tagger.cpp.
| #define KEYCODE_U 0x41 | 
Definition at line 50 of file bag_tagger.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) | 
Definition at line 89 of file bag_tagger.cpp.
| void quit | ( | int | sig | ) | 
Definition at line 81 of file bag_tagger.cpp.
| int kfd = 0 | 
Definition at line 78 of file bag_tagger.cpp.
| struct termios cooked raw | 
Definition at line 79 of file bag_tagger.cpp.