Robot Hardware Interface and Resource Manager. More...
#include <robot_hw.h>
Public Member Functions | |
RobotHW () | |
Resource Management | |
virtual bool | checkForConflict (const std::list< ControllerInfo > &info) const |
Robot Hardware Interface and Resource Manager.
This class provides a standardized interface to a set of robot hardware interfaces to the controller manager. It performs resource conflict checking for a given set of controllers and maintains a map of hardware interfaces. It is meant to be used as a base class for abstracting custom robot hardware.
The hardware interface map (interfaces_) is a 1-to-1 map between the nams of interface types derived from HardwareInterface and instances of those interface types.
Definition at line 56 of file robot_hw.h.
hardware_interface::RobotHW::RobotHW | ( | ) | [inline] |
Definition at line 59 of file robot_hw.h.
virtual bool hardware_interface::RobotHW::checkForConflict | ( | const std::list< ControllerInfo > & | info | ) | const [inline, virtual] |
Check (in non-realtime) if the given set of controllers is allowed to run simultaneously.
This default implementation simply checks if any two controllers use the same resource.
Definition at line 73 of file robot_hw.h.