#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.
◆ activate()
◆ controlLoop()
void* controlLoop |
( |
void * |
| ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ now()
◆ publishDiagnostics()
static void publishDiagnostics |
( |
RealtimePublisher< diagnostic_msgs::DiagnosticArray > & |
publisher | ) |
|
|
static |
◆ quitRequested()
void quitRequested |
( |
int |
sig | ) |
|
◆ timespecInc()
static void timespecInc |
( |
struct timespec & |
tick, |
|
|
const int & |
nsec |
|
) |
| |
|
static |
◆ Usage()
void Usage |
( |
const string & |
msg = "" | ) |
|
◆ controlThread
◆ controlThreadAttr
pthread_attr_t controlThreadAttr |
|
static |
◆ g_options
◆ g_quit
◆ g_stats
◆ halt_rt_loop_frequency
double halt_rt_loop_frequency |
◆ ip_
◆ jitter_acc
accumulator_set<double, stats<max, mean> > jitter_acc |
◆ last_loop_start
◆ last_overrun
◆ last_published
◆ last_rt_monitor_time
double last_rt_monitor_time |
|
static |
◆ last_severe_overrun
◆ loop_acc
accumulator_set<double, stats<max, mean> > loop_acc |
◆ overrun_loop_sec
◆ overrun_read
◆ overrun_write
◆ overruns
◆ period_
◆ PERIOD_DIFF_WEIGHT
const double PERIOD_DIFF_WEIGHT = 1e-2 |
|
static |
◆ PERIOD_SLEEP
const double PERIOD_SLEEP = 0.1 |
|
static |
◆ program_
◆ read_acc
accumulator_set<double, stats<max, mean> > read_acc |
◆ recent_overruns
◆ robot_
◆ rt_loop_frequency
◆ rt_loop_not_making_timing
bool rt_loop_not_making_timing |
◆ SEC_2_NSEC
const int SEC_2_NSEC = 1e+9 |
|
static |
◆ SEC_2_USEC
const int SEC_2_USEC = 1e+6 |
|
static |
◆ simulation_
◆ write_
◆ write_acc
accumulator_set<double, stats<max, mean> > write_acc |