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

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

Open
ahendrix opened this issue Mar 12, 2013 · 0 comments
Open

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

ahendrix opened this issue Mar 12, 2013 · 0 comments

Comments

@ahendrix
Copy link
Member

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:

  • Not resetting the calibration state in the starting() method. Since we do not support uncalibrating/recalibrating in cturtle, this would not change our supported API or functionality.
  • Changing the calibrate.py/calibrate_pr2.py scripts to check if the joints are all calibrated before unloading the controllers. Both scripts would need to change.

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

trac data:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant