Hardware interface for a robot. More...
#include <ur_hardware_interface.h>
Hardware interface for a robot.
Definition at line 79 of file ur_hardware_interface.h.
ros_control_ur::UrHardwareInterface::UrHardwareInterface | ( | ros::NodeHandle & | nh, |
UrDriver * | robot | ||
) |
Constructor.
nh | - Node handle for topics. |
Definition at line 62 of file ur_hardware_interface.cpp.
bool ros_control_ur::UrHardwareInterface::canSwitch | ( | const std::list< hardware_interface::ControllerInfo > & | start_list, |
const std::list< hardware_interface::ControllerInfo > & | stop_list | ||
) | const [virtual] |
Reimplemented from hardware_interface::RobotHW.
Definition at line 174 of file ur_hardware_interface.cpp.
void ros_control_ur::UrHardwareInterface::doSwitch | ( | const std::list< hardware_interface::ControllerInfo > & | start_list, |
const std::list< hardware_interface::ControllerInfo > & | stop_list | ||
) | [virtual] |
Reimplemented from hardware_interface::RobotHW.
Definition at line 245 of file ur_hardware_interface.cpp.
void ros_control_ur::UrHardwareInterface::init | ( | ) | [virtual] |
Initialize the hardware interface.
Definition at line 72 of file ur_hardware_interface.cpp.
void ros_control_ur::UrHardwareInterface::read | ( | ) | [virtual] |
Read the state from the robot hardware.
Definition at line 131 of file ur_hardware_interface.cpp.
void ros_control_ur::UrHardwareInterface::setMaxVelChange | ( | double | inp | ) |
Definition at line 149 of file ur_hardware_interface.cpp.
void ros_control_ur::UrHardwareInterface::write | ( | ) | [virtual] |
write the command to the robot hardware.
Definition at line 153 of file ur_hardware_interface.cpp.
hardware_interface::ForceTorqueSensorInterface ros_control_ur::UrHardwareInterface::force_torque_interface_ [protected] |
Definition at line 112 of file ur_hardware_interface.h.
std::vector<double> ros_control_ur::UrHardwareInterface::joint_effort_ [protected] |
Definition at line 121 of file ur_hardware_interface.h.
std::vector<std::string> ros_control_ur::UrHardwareInterface::joint_names_ [protected] |
Definition at line 118 of file ur_hardware_interface.h.
std::vector<double> ros_control_ur::UrHardwareInterface::joint_position_ [protected] |
Definition at line 119 of file ur_hardware_interface.h.
std::vector<double> ros_control_ur::UrHardwareInterface::joint_position_command_ [protected] |
Definition at line 122 of file ur_hardware_interface.h.
hardware_interface::JointStateInterface ros_control_ur::UrHardwareInterface::joint_state_interface_ [protected] |
Definition at line 111 of file ur_hardware_interface.h.
std::vector<double> ros_control_ur::UrHardwareInterface::joint_velocity_ [protected] |
Definition at line 120 of file ur_hardware_interface.h.
std::vector<double> ros_control_ur::UrHardwareInterface::joint_velocity_command_ [protected] |
Definition at line 123 of file ur_hardware_interface.h.
double ros_control_ur::UrHardwareInterface::max_vel_change_ [protected] |
Definition at line 129 of file ur_hardware_interface.h.
Definition at line 108 of file ur_hardware_interface.h.
std::size_t ros_control_ur::UrHardwareInterface::num_joints_ [protected] |
Definition at line 125 of file ur_hardware_interface.h.
bool ros_control_ur::UrHardwareInterface::position_interface_running_ [protected] |
Definition at line 116 of file ur_hardware_interface.h.
hardware_interface::PositionJointInterface ros_control_ur::UrHardwareInterface::position_joint_interface_ [protected] |
Definition at line 113 of file ur_hardware_interface.h.
std::vector<double> ros_control_ur::UrHardwareInterface::prev_joint_velocity_command_ [protected] |
Definition at line 124 of file ur_hardware_interface.h.
UrDriver* ros_control_ur::UrHardwareInterface::robot_ [protected] |
Definition at line 132 of file ur_hardware_interface.h.
double ros_control_ur::UrHardwareInterface::robot_force_[3] = { 0., 0., 0. } [protected] |
Definition at line 126 of file ur_hardware_interface.h.
double ros_control_ur::UrHardwareInterface::robot_torque_[3] = { 0., 0., 0. } [protected] |
Definition at line 127 of file ur_hardware_interface.h.
bool ros_control_ur::UrHardwareInterface::velocity_interface_running_ [protected] |
Definition at line 115 of file ur_hardware_interface.h.
hardware_interface::VelocityJointInterface ros_control_ur::UrHardwareInterface::velocity_joint_interface_ [protected] |
Definition at line 114 of file ur_hardware_interface.h.