Difference between revisions of "PR2 Arm Control"

From Healthcare Robotics Wiki
Jump to: navigation, search
(Low-level Controllers)
(Low-level Controllers)
Line 38: Line 38:
! scope="row" | Requires IK solutions?
! scope="row" | Requires IK solutions?
| {{yes}} || {{no}} || {{no}} || {{no}} || {{maybe}}
| {{no}} || {{no}} || {{no}} || {{no}} || {{no}}
! scope="row" | ROS Interface
! scope="row" | ROS Interface

Revision as of 14:27, 13 July 2011

Low-level Controllers

Controller Joint Spline Trajectory Controller JTranspose Controller JTranspose Task Controller JInverse Controller End Effector Cartesian Impedance Control
Designer Stuart Glaser Stuart Glaser Adam Leeper Stuart Glaser MIT
Control Space Joint space Cartesian Space Cartesian Space Cartesian Space Cartesian Space
Control Type Joint position, velocity, acceleration control with PID Controls force at the end effector with PD on the Cartesian error Same as JTranspose, shaped stiffness matrix in end effector's frame Position or Velocity Cartesian control with PD control on joint velocities Force-stiffness hybrid control, JTranspose on some DOF, force control on others
Relevant Equations

T = PID(spline(t, trajectory) - q_cur)

T = J^T * PD(x_err) + Kff * J_null * (q_posture - q)

Same but: PD(x_err) = R * Kp * R^T * x_err + R * Kd * R^T * x_dot

T = Kp * (q_proxy - q) + Kd * (q_dot_des - q_dot)

q_dot_des = J_pinv * x_dot + J_null * (q_posture - q)

T = J^T * F

F = PD(x_err) or F_des

Control reference (the goal the controller is trying to achieve) joint angles Cartesian pose of rigid transformation from end effector frame Cartesian pose of rigid transformation from end effector frame Cartesian pose of rigid transformation from end effector frame Cartesian frame attached to end effector with origin at wrist
Requires IK solutions? No No No No No
ROS Interface
  • Actionlib
  • Command topic
  • Command topic
  • Command topic
  • Command topic
  • Actionlib
  • Command topic
Demonstrated Tasks
  • Planning and manipulation stack
  • Scratch approach ver. 1
  • Trajectory playback
  • Overhead grasping
  • Current THEP low-level control
  • Lightswitch
  • Interactive grasping
  • Door opening
  • Old THEP low-level control
  • Invisible surface
  • Sweeping with broom
  • Brushing on table
  • Writing with pencil
  • Flipping pages in a book
  • Cutting a cake
  • Door opening (not smoothly)
Can provide trajectory as sequence of reference points, velocities, and durations, which it then uses to generate way points (rather than only a single reference) Yes No No No Template:Maybe
Change Gains while the controller is running (through topic) No Yes Yes No Yes, if using impedance control
Integral Control Yes No No No No
Monitors Cartesian velocity and softly scales it (saturation) No Yes Yes No, not implemented yet No
Monitors torque at each joint and softly scales the entire torque vector (saturation) No Yes Yes No No
  • Repeatable
  • Control of extra DOF stronger
  • Detecting collisions easy and equally constrained
  • Easier to control extra DOF in general
  • Cartesian impedance control
  • Impedance control makes more sense in tool's frame
  • Has several videos with different applications
  • Difficult to control elbow in general
  • Joint space impedance control doesn't make sense
  • Working with IK has been difficult (solved by KDL?)
  • Competing forces (pose and posture)
  • Elbow drifts over time if posture gain too low
  • "Bouncing" in elbow when arm stops moving
  • Difficult to detect collision using joint errors
  • Singularity issues
  • Seems like a volatile controller
  • Still in development (not all interfaces implemented)
  • No saturation limits
  • Can sometimes demonstrate unexpected behavior when in kinematically constrained situations
  • Sometimes one of the arms doesn't respond to commands (reported by Marc)
  • Waypoints are smoothly interpolated between using splines.
  • Commands can be sent to the controller to be executed in the future.
  • Don't set derivative gains to 0 (division by zero error)
  • Each point in the trajectory is alternatively an impedance vector or a force.
  • The derivative term is not implemented.