PR2 / pr2_controllers

The controllers that run in realtime on the PR2 and supporting packages.
46 stars 34 forks source link

Calibration reset race conditions/issues (ros ticket #4624) #341

Open ahendrix opened 11 years ago

ahendrix commented 11 years ago

When calibrating a PR2 or PR2 component, a race conditions can result from the calibration sequence. When motors are reset--even if they are not halted--the calibration controllers "reset" to the uncalibrated state and recalibrate the joints. If a controller is unloaded/stopped before the joint is recalibrated, the joint is uncalibrated, and the robot will not be operational.

The joint calibration controllers reset their state when the starting() method is called. This method is called when motors are reset, even if the motors were not halted in the first place.

Possible fixes include:

We need to think of an acceptable resolution to this problem. I recommend porting any fixes to cturtle.

trac data: