7#include <sys/syscall.h>
8#include <std_srvs/SetBool.h>
17 ros::ServiceServer toggleio;
49 bool SetStatus(std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res);
Definition: IOwd_ros.h:10
bool SetStatus(std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res)
Provides the ROS service to enable or disable the IO Watchdog when this service is called on the io_w...
Definition: IOwd_ros.cpp:22
void Disable()
Disables all IO Watchdog managed outputs and displays the error code via the pointer to the VMXErrorC...
Definition: IOwd_ros.cpp:32
void Run_t()
Provides a method to regularly "feed" the IO Watchdog while it is enabled before the watchdog timeout...
Definition: IOwd_ros.cpp:38
~IOWatchdogROS()
Destructor for the IOWatchdogROS object.
Definition: IOwd_ros.cpp:18
IOWatchdogROS(ros::NodeHandle *nh, VMXPi *vmx)
Constructs the IOWatchdogROS object.
Definition: IOwd_ros.cpp:3
Definition: vmxpi_utils.h:5