15#ifndef HARDWARE_INTERFACE__BASE_INTERFACE_HPP_
16#define HARDWARE_INTERFACE__BASE_INTERFACE_HPP_
20#include "hardware_interface/hardware_info.hpp"
21#include "hardware_interface/types/hardware_interface_return_values.hpp"
22#include "hardware_interface/types/hardware_interface_status_values.hpp"
24namespace hardware_interface
26template <
class InterfaceType>
30 return_type configure(
const HardwareInfo & info)
override
33 status_ = status::CONFIGURED;
34 return return_type::OK;
42 std::string get_name()
const final {
return info_.
name; }
44 status get_status()
const final {
return status_; }
Definition base_interface.hpp:28
This structure stores information about hardware defined in a robot's URDF.
Definition hardware_info.hpp:103
std::string name
Name of the hardware.
Definition hardware_info.hpp:105