Public Member Functions
hardware_interface::RobotHW Class Reference

Robot Hardware Interface and Resource Manager. More...

#include <robot_hw.h>

Inheritance diagram for hardware_interface::RobotHW:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 RobotHW ()
Resource Management
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 59 of file robot_hw.h.


Member Function Documentation

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.


The documentation for this class was generated from the following file:


hardware_interface
Author(s): Wim Meeussen, Adolfo Rodriguez Tsouroukdissian
autogenerated on Fri Aug 28 2015 12:36:13