25 for (
size_t i = 0; i < 6; i++)
53 std::vector<std::string> &joint_names,
double max_vel_change)
54 : commander_(commander), prev_velocity_cmd_({ 0, 0, 0, 0, 0, 0 }),
max_vel_change_(max_vel_change)
56 for (
size_t i = 0; i < 6; i++)
64 for (
size_t i = 0; i < 6; i++)
86 std::vector<std::string> &joint_names)
89 for (
size_t i = 0; i < 6; i++)
void update(RTShared &packet)
std::array< double, 6 > velocity_cmd_
static const std::string INTERFACE_NAME
bool execute(std::array< double, 6 > &positions, bool keep_alive)
static const std::string INTERFACE_NAME
std::array< double, 6 > i_actual
TrajectoryFollower & follower_
static const std::string INTERFACE_NAME
std::array< double, 6 > efforts_
std::array< double, 6 > qd_actual
std::array< double, 6 > tcp_force
WrenchInterface(std::string wrench_frame)
std::array< double, 6 > q_actual
virtual bool speedj(std::array< double, 6 > &speeds, double acceleration)=0
std::array< double, 6 > position_cmd_
void registerHandle(const JointStateHandle &handle)
static const std::string INTERFACE_NAME
JointStateHandle getHandle(const std::string &name)
VelocityInterface(URCommander &commander, hardware_interface::JointStateInterface &js_interface, std::vector< std::string > &joint_names, double max_vel_change)
std::array< double, 6 > positions_
JointInterface(std::vector< std::string > &joint_names)
PositionInterface(TrajectoryFollower &follower, hardware_interface::JointStateInterface &js_interface, std::vector< std::string > &joint_names)
void update(RTShared &packet)
std::array< double, 6 > prev_velocity_cmd_
std::array< double, 6 > velocities_