-
Notifications
You must be signed in to change notification settings - Fork 73
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
base: devel
Are you sure you want to change the base?
Conversation
…d shoulder yaw of both arms
This reverts commit 604fc62.
…rs when closing the yri
…f the realsense from outside
…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
This reverts commit c537c9f.
They seemed to cause issues in the computation of the ZMP
There was a problem hiding this 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 existingami-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
-
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. ↩
There was a problem hiding this 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
.
<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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -36,7 +36,7 @@ | |||
</group> | |||
|
|||
<group name="ENCODER1"> | |||
<param name="type"> amo amo </param> | |||
<param name="type"> none amo </param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<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 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/remind June 25 We will get back to this PR after an important demo that will take place on June 23. |
⏰ Reminder
|
As per the title.