Go to the documentation of this file.
18 ROS_ERROR(
"Position threshold was not specified (namespace: %s)", controller_nh.
getNamespace().c_str());
28 ROS_ERROR(
"Slow forward velocity was not specified (namespace: %s)", controller_nh.
getNamespace().c_str());
32 if (!controller_nh.
getParam(
"gpio", gpio))
double position_threshold_
void update(const ros::Time &time, const ros::Duration &period) override
effort_controllers::JointPositionController position_ctrl_
void update(const ros::Time &time, const ros::Duration &period)
bool getParam(const std::string &key, bool &b) const
double slow_forward_velocity_
bool init(hardware_interface::EffortJointInterface *robot, ros::NodeHandle &n)
std::string getJointName()
ROSCONSOLE_CONSOLE_IMPL_DECL void * getHandle(const std::string &name)
void setOffset(double offset)
double start_retreat_position_
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
rm_control::ActuatorExtraHandle actuator_
void update(const ros::Time &time, const ros::Duration &period)
bool init(hardware_interface::RobotHW *robot_hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh) override
Get necessary params from param server. Init joint_calibration_controller.
bool calibration_success_
hardware_interface::JointHandle joint_
rm_control::GpioStateHandle gpio_state_handle_
void setCommand(double cmd)
void setCommand(double pos_target)
double getPosition() const
bool init(hardware_interface::RobotHW *robot_hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh) override
const std::string & getNamespace() const
void setCalibrated(bool calibrated)
double getPosition() const
effort_controllers::JointVelocityController velocity_ctrl_
hardware_interface::JointHandle joint_