Functions | Variables
spin_detector.cpp File Reference
#include <std_srvs/Trigger.h>
#include <cob_base_controller_utils/WheelCommands.h>
#include <ros/ros.h>
Include dependency graph for spin_detector.cpp:

Go to the source code of this file.

Functions

void commandsCallback (const cob_base_controller_utils::WheelCommands::ConstPtr &msg)
 
int main (int argc, char *argv[])
 

Variables

std::vector< ros::Timeg_last_ok
 
bool g_shutdown
 
ros::ServiceClient g_stop_client
 
bool g_stop_requested
 
double g_threshold
 
ros::Duration g_timeout
 

Function Documentation

void commandsCallback ( const cob_base_controller_utils::WheelCommands::ConstPtr &  msg)

Definition at line 29 of file spin_detector.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 51 of file spin_detector.cpp.

Variable Documentation

std::vector<ros::Time> g_last_ok

Definition at line 23 of file spin_detector.cpp.

bool g_shutdown

Definition at line 27 of file spin_detector.cpp.

ros::ServiceClient g_stop_client

Definition at line 22 of file spin_detector.cpp.

bool g_stop_requested

Definition at line 26 of file spin_detector.cpp.

double g_threshold

Definition at line 24 of file spin_detector.cpp.

ros::Duration g_timeout

Definition at line 25 of file spin_detector.cpp.



cob_base_controller_utils
Author(s): Felix Messmer , Mathias Lüdtke
autogenerated on Thu Apr 8 2021 02:39:28