Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Effort Controller Fixes #35

Merged
merged 6 commits into from
Aug 5, 2013
Merged

Conversation

davetcoleman
Copy link
Member

  • Critical bug: velocity controller init() does not get hardware_interface handle for joint
    • joint_ = robot->getHandle(joint_name);
  • Added an optional target velocity for the effort_controller/joint_position_controller if you want to specify both a position and velocity target for use with the velocity_error in the PID class
    • JointPositionController::setCommand(double pos_command, double vel_command)
  • Removed unknown code "friend class JointVelocityControllerNode" - no reference found anywhere in ROS codebase (hydro-desktop)
  • Removed the need to used a scoped_ptr for control_toolbox::Pid after an upstream fix
  • Cleaned up code & commenting

@adolfo-rt @jbohren

@jbohren
Copy link
Member

jbohren commented Aug 3, 2013

That friend declaration might be something hidof is using in proprietary code. What do you say, @wmeeusse ?

bool init(hardware_interface::EffortJointInterface *robot, ros::NodeHandle &n);

/*!
* \brief Give set velocity of the joint for next update: revolute (angle) and prismatic (velocity)
*
* \param double pos Velocity command to issue
* pp\param double pos Velocity command to issue
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pp looks like a typo.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@davetcoleman
Copy link
Member Author

I'm going to comment out the friend declaration for now, we can always add it back.

davetcoleman added a commit that referenced this pull request Aug 5, 2013
@davetcoleman davetcoleman merged commit bfaeb79 into hydro-devel Aug 5, 2013
@davetcoleman davetcoleman deleted the effort_controller_fixes branch August 5, 2013 20:46
efernandez pushed a commit that referenced this pull request Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants