#include <getopt.h>
#include <execinfo.h>
#include <csignal>
#include <pthread.h>
#include <numeric>
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/accumulators/statistics/max.hpp>
#include <boost/accumulators/statistics/mean.hpp>
#include <realtime_tools/realtime_publisher.h>
#include <diagnostic_updater/DiagnosticStatusWrapper.h>
#include <diagnostic_msgs/DiagnosticArray.h>
#include <string>
#include <vector>
#include <controller_manager/controller_manager.h>
#include <khi_robot_hardware_interface.h>
Go to the source code of this file.
void* controlLoop |
( |
void * |
| ) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
static void publishDiagnostics |
( |
RealtimePublisher< diagnostic_msgs::DiagnosticArray > & |
publisher | ) |
|
|
static |
void quitRequested |
( |
int |
sig | ) |
|
static void timespecInc |
( |
struct timespec & |
tick, |
|
|
const int & |
nsec |
|
) |
| |
|
static |
void Usage |
( |
const string & |
msg = "" | ) |
|
pthread_attr_t controlThreadAttr |
|
static |
double halt_rt_loop_frequency |
accumulator_set<double, stats<max, mean> > jitter_acc |
double last_rt_monitor_time |
|
static |
accumulator_set<double, stats<max, mean> > loop_acc |
const double PERIOD_DIFF_WEIGHT = 1e-2 |
|
static |
const double PERIOD_SLEEP = 0.1 |
|
static |
accumulator_set<double, stats<max, mean> > read_acc |
bool rt_loop_not_making_timing |
const int SEC_2_NSEC = 1e+9 |
|
static |
const int SEC_2_USEC = 1e+6 |
|
static |
accumulator_set<double, stats<max, mean> > write_acc |