Go to the documentation of this file.
41 #include <control_msgs/JointControllerState.h>
48 #include <std_msgs/Float64MultiArray.h>
78 std::vector< hardware_interface::JointHandle >
joints_;
89 void commandCB(
const std_msgs::Float64MultiArrayConstPtr& msg);
void update(const ros::Time &, const ros::Duration &)
void enforceJointLimits(double &command, unsigned int index)
~JointGroupPositionController()
JointGroupPositionController()
Forward command controller for a set of effort controlled joints (torque or force).
std::vector< std::string > joint_names_
ros::Subscriber sub_command_
void commandCB(const std_msgs::Float64MultiArrayConstPtr &msg)
bool init(hardware_interface::EffortJointInterface *hw, ros::NodeHandle &n)
std::vector< urdf::JointConstSharedPtr > joint_urdfs_
realtime_tools::RealtimeBuffer< std::vector< double > > commands_buffer_
std::vector< hardware_interface::JointHandle > joints_
std::vector< control_toolbox::Pid > pid_controllers_
void starting(const ros::Time &)