#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) |
Print usage of example including command line args. More... | |
void | signal_callback_handler (int signum) |
Variables | |
static bool | caught_signal = false |
catching signals for proper program escape More... | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Parse program options (e.g. IP )
open file for recording if required
Instantiate and connect 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 77 of file rcdynamics_stream.cc.
void printUsage | ( | char * | arg | ) |
Print usage of example including command line args.
Definition at line 66 of file rcdynamics_stream.cc.
void signal_callback_handler | ( | int | signum | ) |
Definition at line 57 of file rcdynamics_stream.cc.
|
static |
catching signals for proper program escape
Definition at line 56 of file rcdynamics_stream.cc.