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 type 14 update fw #384

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

MSECode
Copy link
Contributor

@MSECode MSECode commented Jun 5, 2023

This PR contains the following updates:

  • update versions for all ETH boards, since we have changed code that is shared for all of those boards.
  • add extern method eo_pos_Calibrate in POS for passing to the POS service calibration values for absolute encoder coming from the calibrator
  • add static methods s_eo_pos_joint_calibrate and s_eo_pos_sensor_config for calibrate absolute sensor managed by POS service
  • simply the calibration procedure in Calibrators class by reducing the steps and removing processes that are not necessary and/or meaningless
  • add FAP absolute encoder directly to JointSet class, therefore encoder gets re-calibrated after POS service starts using data coming from calibrator configuration file

@MSECode MSECode requested review from marcoaccame and valegagge June 5, 2023 14:20
@MSECode MSECode self-assigned this Jun 5, 2023
Copy link
Member

@valegagge valegagge left a comment

Choose a reason for hiding this comment

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

Great work!Well done! 👏

I suggested a very minor change.

There are a lot of debug diagnostics, but I agree to leave it for now until the calibration is not tested on the robot for a long period. :) 💪

@marcoaccame
Copy link
Contributor

Apart from the small thing above all is great. Well done.

P.S. I assume that everything was tested on the robot and ready to go.

@MSECode
Copy link
Contributor Author

MSECode commented Jun 7, 2023

Apart from the small thing above all is great. Well done.

P.S. I assume that everything was tested on the robot and ready to go.

Kinda yes,
I'm waiting for the review from @valegagge and then we are ready to merge.
The code has been tested deeply on the left arm bench setup but not yet on the robot since it was not available due to ICRA.
As soon as it is back I'll test the code on it.

@MSECode MSECode force-pushed the feature/configCalib14 branch from 5c84505 to 1d10432 Compare June 9, 2023 12:04
FAP calibration official params in calibrator config file
Kept POS calibration group
Kept MC calibration group
calibration does only FAP calibration and qenc moved to hard stop
Add dummy eo_pos_Calibrate method when service not used
Update version for ETH boards
Remove calibrated boolean that is not used for any checks
Fix conversion between 2 rot enums
Add enum type return in error line
Fix invert direction if condition
Fix rot + offset with module of 360
Removed useless info in debug line
@MSECode MSECode force-pushed the feature/configCalib14 branch from 1d10432 to b82249c Compare June 9, 2023 12:10
@MSECode MSECode requested a review from marcoaccame June 9, 2023 12:14
Copy link
Member

@valegagge valegagge left a comment

Choose a reason for hiding this comment

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

Super!!!

@valegagge
Copy link
Member

Tested on the robot by @MSECode. All is fine.

Copy link
Contributor

@marcoaccame marcoaccame left a comment

Choose a reason for hiding this comment

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

ok, thanks. I see that the EOthePOS has the suggested changes.

@marcoaccame marcoaccame merged commit ab8bd96 into robotology:devel Jun 12, 2023
@MSECode MSECode deleted the feature/configCalib14 branch September 25, 2023 13:58
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