The control loop - repeatidly calls read() and write() to the hardware interface at a specified frequency We use MONOTONIC time to ensure robustness in the event of system time updates/change. See http://stackoverflow.com/questions/3523442/difference-between-clock-realtime-and-clock-monotonic.
More...
#include <generic_hw_control_loop.h>
The control loop - repeatidly calls read() and write() to the hardware interface at a specified frequency We use MONOTONIC time to ensure robustness in the event of system time updates/change. See http://stackoverflow.com/questions/3523442/difference-between-clock-realtime-and-clock-monotonic.
Definition at line 56 of file generic_hw_control_loop.h.
◆ GenericHWControlLoop()
◆ run()
void ros_control_boilerplate::GenericHWControlLoop::run |
( |
| ) |
|
◆ update()
void ros_control_boilerplate::GenericHWControlLoop::update |
( |
| ) |
|
|
protected |
◆ controller_manager_
ROS Controller Manager and Runner.
This class advertises a ROS interface for loading, unloading, starting, and stopping ros_control-based controllers. It also serializes execution of all running controllers in update.
Definition at line 97 of file generic_hw_control_loop.h.
◆ current_time_
struct timespec ros_control_boilerplate::GenericHWControlLoop::current_time_ |
|
protected |
◆ cycle_time_error_threshold_
double ros_control_boilerplate::GenericHWControlLoop::cycle_time_error_threshold_ |
|
protected |
◆ desired_update_period_
ros::Duration ros_control_boilerplate::GenericHWControlLoop::desired_update_period_ |
|
protected |
◆ elapsed_time_
ros::Duration ros_control_boilerplate::GenericHWControlLoop::elapsed_time_ |
|
protected |
◆ hardware_interface_
◆ last_time_
struct timespec ros_control_boilerplate::GenericHWControlLoop::last_time_ |
|
protected |
◆ loop_hz_
double ros_control_boilerplate::GenericHWControlLoop::loop_hz_ |
|
protected |
◆ name_
std::string ros_control_boilerplate::GenericHWControlLoop::name_ = "generic_hw_control_loop" |
|
protected |
◆ nh_
The documentation for this class was generated from the following files: