Skip to content

Conversation

@Nicogene
Copy link
Member

@Nicogene Nicogene self-assigned this Nov 28, 2025
@Nicogene Nicogene marked this pull request as draft November 28, 2025 10:08
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @Nicogene, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on refining the configuration parameters for the ergoCub robot's left and right arms. The changes involve updating calibration data and adjusting mechanical and motor control joint limits. These modifications are likely aimed at improving the precision and operational range of the robot's arms, potentially in alignment with the mk5.2 coupling law for the left hand.

Highlights

  • Left Arm Calibration Update: The calibration2 parameters within the left_arm-calib.xml file have been updated with new values, specifically affecting indices 8, 10, 11, and 12.
  • Left Arm Mechanical Limits Adjustment: Mechanical joint position maximums and minimums (hardwareJntPosMax, hardwareJntPosMin) as well as rotor position limits (rotorPosMin, rotorPosMax) for the left arm have been modified in left_arm-eb23-j7_10-mec.xml.
  • Right Arm Motor Control Limits Refinement: The motor control joint position minimums and maximums (jntPosMin, jntPosMax) for the right arm have been adjusted in right_arm-eb22-j7_10-mc.xml.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@Nicogene Nicogene changed the title Feature/test pos refactor (#757) ergoCubSN002: adjust fingers limits for the left hand Nov 28, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates calibration and limit parameters, seemingly to implement the mk5.2 coupling law for the left hand as mentioned in the description. The calibration values and hardware limits for the left arm's hand joints are updated. However, there appears to be a significant inconsistency: the software joint limits have been updated for the right arm, not the left. Furthermore, these new software limits for the right arm are outside the hardware limits defined in its corresponding mechanicals file. This could lead to errors or unexpected behavior. It seems likely that the changes intended for the left arm's motor control file were mistakenly applied to the right arm's file.

@S-Dafarra
Copy link
Contributor

Would it be possible to port this in https://github.com/icub-tech-iit/robots-configuration/tree/devel-ergoCubSN002. I am afraid that any subsequent change on that file due to maintenance will cause a conflict that becomes hard to solve

@Nicogene
Copy link
Member Author

Would it be possible to port this in icub-tech-iit/robots-configuration@devel-ergoCubSN002. I am afraid that any subsequent change on that file due to maintenance will cause a conflict that becomes hard to solve

I cherry-picked the commit in that branch (I had indeed to solve a conflict):

@S-Dafarra
Copy link
Contributor

Would it be possible to port this in icub-tech-iit/robots-configuration@devel-ergoCubSN002. I am afraid that any subsequent change on that file due to maintenance will cause a conflict that becomes hard to solve

I cherry-picked the commit in that branch (I had indeed to solve a conflict):

Ah ok, I was thinking about a PR. It means that it is needed to pull and test asap

@Nicogene
Copy link
Member Author

Nicogene commented Dec 4, 2025

The changes committed here:

have been tested on the robot, I would close this PR

@pattacini pattacini closed this Dec 4, 2025
@pattacini pattacini deleted the handMk52 branch December 4, 2025 14:52
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.

4 participants