#include <fstream>
#include <signal.h>
#include <chrono>
#include <iomanip>
#include "rc_dynamics_api/remote_interface.h"
#include "csv_printing.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
void | printUsage (char *arg) |
void | signal_callback_handler (int signum) |
Variables | |
static bool | caught_signal = false |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Parse program options (e.g. IP )
open file for recording if required
Instantiate RemoteInterface
Request a data stream and start receiving as well as processing the data
Stopping streaming and clean-up 'imu' stream works regardless if the rc_dynamics module is running, so no need to stop it
Definition at line 75 of file rcdynamics_stream.cc.
void printUsage | ( | char * | arg | ) |
Print usage of example including command line args
Definition at line 62 of file rcdynamics_stream.cc.
void signal_callback_handler | ( | int | signum | ) |
Definition at line 52 of file rcdynamics_stream.cc.
bool caught_signal = false [static] |
catching signals for proper program escape
Definition at line 51 of file rcdynamics_stream.cc.