Skip to content

Update ergoCubSN001 conf files from robot fork #739

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

Open
wants to merge 43 commits into
base: devel
Choose a base branch
from

Conversation

pattacini
Copy link
Member

As per the title.

isorrentino and others added 30 commits April 1, 2025 14:03
…tion other than index_abduction for left_arm since encoder not transmitting, remove CALIBRATION group from POS folder since now all finger calibrates with calibration type 14 that is based on MC
…e for joint 0 in left_arm-eb2-j0_1-mc_service.xml
@pattacini pattacini self-assigned this Jun 18, 2025
@pattacini pattacini requested a review from S-Dafarra June 18, 2025 07:00
Copy link

@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.

Summary of Changes

Hello @pattacini, 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 synchronizes the ergoCubSN001 configuration files with updates from a robot fork. The changes encompass a broad range of robot parameters, including calibration data, hardware and motor control settings, and significant enhancements to autonomous applications. These updates aim to improve robot performance, integrate new sensor capabilities, and enable advanced functionalities like large language model (LLM) interaction and multi-robot coordination.

Highlights

  • Robot Configuration Synchronization: This pull request updates various calibration, hardware, and motor control parameters across the ergoCubSN001 robot. These changes likely reflect the latest validated configurations from a robot fork, ensuring the robot operates with up-to-date and optimized settings.
  • Enhanced Autonomous Capabilities & LLM Integration: A new xbgTwoRobots001 application has been introduced, setting up a complex environment for advanced multi-robot or single-robot operations. Significant updates to the existing ami-xbg application facilitate deeper integration with Large Language Models (LLMs), including new sensor data streams and communication protocols.
  • Hardware Parameter Adjustments: Joint limits for the torso and hand have been refined, and temperature sensor configurations for various mechanical parts have been updated (mostly disabling PT100 sensors in favor of 'NONE'). Additionally, POS sensor settings have been adjusted, indicating ongoing hardware tuning and optimization efforts.
  • Sensor and Estimator Refinements: The wholebodydynamics estimator now uses a more focused set of default contact frames and force/torque sensors. The Realsense camera configuration has been enhanced to expose more parameters for external control and to support Infrared (IR) camera streams, improving sensor data availability for perception tasks.
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

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 issue 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 is currently in preview and 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 to provide feedback.

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.

Copy link

@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 various configuration files for ergoCubSN001, including calibration parameters, hardware settings, joint limits, application definitions, and sensor configurations. Several critical issues need addressing, including hardcoded file paths in application XMLs, an encoder type set to none in left_arm-eb2-j0_1-mc_service.xml, and duplicate skin configuration groups in left_arm-eb4-j2_3-skinSpec.xml. Other high-severity concerns include significant functional changes to wholebodydynamics.xml and the removal of POS wrappers in ergocub.xml.

Comment on lines +28 to +53
<group name="defaultCfgTriangle">
<param name="enabled"> false </param>
<param name="shift"> 1 </param>
<param name="cdcOffset"> 0x2200 </param>
</group>

<group name="specialCfgTriangles">
<param name="numOfSets"> 4 </param>
<param name="triangleSetCfg1"> 2 2 0 4 1 1 0x0000 </param>
<param name="triangleSetCfg2"> 2 2 0 4 1 1 0x0000 </param>
<param name="triangleSetCfg3"> 2 2 5 9 1 1 0x0000 </param>
<param name="triangleSetCfg4"> 2 2 5 9 1 1 0x0000 </param>
</group>



<group name="defaultCfgTriangle">
<param name="enabled"> false </param>
<param name="shift"> 1 </param>
<param name="cdcOffset"> 0x0000 </param>
</group>
</group>

<group name="specialCfgTriangles">
<group name="specialCfgTriangles">
<param name="numOfSets"> 1 </param>
<param name="triangleSetCfg1"> 2 2 0 15 1 1 0x0000 </param>
</group>
</group>

Choose a reason for hiding this comment

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

critical

There appear to be duplicate <group name="defaultCfgTriangle"> and <group name="specialCfgTriangles"> sections. This duplication can lead to parsing errors or unpredictable behavior. Please remove the redundant or outdated sections to ensure a clean and correct configuration.

@@ -36,7 +36,7 @@
</group>

<group name="ENCODER1">
<param name="type"> amo amo </param>
<param name="type"> none amo </param>

Choose a reason for hiding this comment

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

critical

The type for ENCODER1 of the first joint (l_shoulder_pitch) has been changed from amo to none. If ENCODER1 is the primary absolute encoder at the joint, setting its type to none will effectively disable it. This is a critical change that needs careful verification to ensure the joint control remains safe and functional.

</group>

<group name="2FOC">
<param name="AutoCalibration"> 0 0 0 0 </param>
<param name="Verbose"> 0 0 0 0 </param>
<param name="HasHallSensor"> 0 0 0 0 </param>
<param name="TemperatureSensorType"> PT100 PT100 PT100 PT100 </param> <!-- Supported values: PT100 or NONE. If setting NONE consider using the safer current limits for the hip roll. -->
<param name="TemperatureSensorType"> NONE PT100 NONE PT100 </param> <!-- Supported values: PT100 or NONE. If setting NONE consider using the safer current limits for the hip roll. -->

Choose a reason for hiding this comment

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

medium

The TemperatureSensorType for r_hip_pitch (joint 0) and r_hip_yaw (joint 2) has been changed from PT100 to NONE. This disables temperature monitoring for these specific hip joints. Please confirm this is the intended configuration.

<param name="Verbose"> 0 0 0 </param>
<param name="AutoCalibration"> 0 0 0 </param>
<param name="HasHallSensor"> 0 0 0 </param>
<param name="TemperatureSensorType"> PT100 PT100 PT100 </param> <!-- if using set it to PT100. HasTempSensor is gonna be deprecated -->
<param name="TemperatureSensorType"> NONE PT100 PT100 </param> <!-- if using set it to PT100. HasTempSensor is gonna be deprecated -->

Choose a reason for hiding this comment

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

medium

The TemperatureSensorType for torso_roll (joint 0) has been changed from PT100 to NONE. This disables temperature monitoring for this joint. Please verify this is intentional.

@pattacini
Copy link
Member Author

/remind June 25 We will get back to this PR after an important demo that will take place on June 23.

Copy link

octo-reminder bot commented Jun 18, 2025

Reminder
Wednesday, June 25, 2025 10:00 AM (GMT+02:00)

We will get back to this PR after an important demo that will take place on June 23.

@pattacini pattacini requested a review from GiulioRomualdi June 18, 2025 07:41
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.