Skip to content

support telemetry on temperature, input voltage, current, and load#9

Open
bueche wants to merge 4 commits intoROBOTIS-GIT:humblefrom
bueche:humble
Open

support telemetry on temperature, input voltage, current, and load#9
bueche wants to merge 4 commits intoROBOTIS-GIT:humblefrom
bueche:humble

Conversation

@bueche
Copy link

@bueche bueche commented Feb 8, 2026

This PR adds the necessary structure to pull telemetry information for Present Input Voltage, Temperature, Current, and/or load. This is in support of Issue #8 and is a companion PR to be paired up with (and merged before): ROBOTIS-GIT/dynamixel_hardware_interface#106 . See that PR for more details.

Copilot AI review requested due to automatic review settings February 8, 2026 20:49
@gemini-code-assist
Copy link

Summary of Changes

Hello @bueche, 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 introduces foundational changes to the DynamixelState.msg definition by incorporating new fields for critical telemetry data. These additions, including temperature, input voltage, current, and load, are essential for enabling comprehensive monitoring and diagnostics of Dynamixel motors, directly addressing the requirements of Issue #8 and preparing for further enhancements in a related pull request.

Highlights

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • msg/DynamixelState.msg
    • Added int16[] temperature to store motor temperature readings.
    • Added int16[] voltage to store input voltage readings.
    • Added int16[] present_current to store present current draw.
    • Added int16[] present_load to store present load.
Activity
  • The author bueche initiated this pull request to add telemetry support for Dynamixel motors.
  • This PR is explicitly linked as a companion to https://github.com/ROBOTIS-GIT/dynamixel_hardware_interface/pull/106 and is intended to be merged prior to it.
  • The changes address requirements outlined in Issue DynamixelState.msg doesn't return temperature, voltage, load, or current #8.
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.

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 adds telemetry fields for temperature, voltage, current, and load to the DynamixelState message. The changes are straightforward, but I've suggested improvements for the data types of the temperature and voltage fields to make them more memory-efficient and semantically correct based on the typical data from Dynamixel servos.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the dynamixel_interfaces ROS2 message definition so downstream packages (e.g., dynamixel_hardware_interface) can publish additional Dynamixel telemetry for temperature, input voltage, current, and load, addressing Issue #8.

Changes:

  • Added telemetry arrays to DynamixelState.msg for temperature, voltage, present current, and present load.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: bueche <ed.bueche64@gmail.com>
Signed-off-by: bueche <ed.bueche64@gmail.com>
Signed-off-by: bueche <ed.bueche64@gmail.com>
@bueche
Copy link
Author

bueche commented Feb 10, 2026

also, this PR covers ros2-humble. Once the approach has been finalized on this version I can work to support the other versions of ros2 supported for the dynamixel servos.

@bueche
Copy link
Author

bueche commented Feb 11, 2026

hi @robotpilot, @Geonhee-LEE , @ROBOTIS-zerom, @kaym9n ... just wanted to find out how this PR (and the related ones) progress. I have a few questions:

  1. version bump: I'm proposing to make a change to the msg interface which requires a major version bump. I've put that bump in this PR. Please let me know if it should be done differently (e.g., separate PR).

  2. metric completeness: Also, I would think that someone might ask: "should additional metrics be added? (since its a version bump)" ... I have no issue about adding additional ones, but am unsure if I can test all of the variations (I'm limited to the servo's that I own and may not have a good test scenario for metrics other than the ones I picked)....

  3. branch completeness: I'm planning on following up with the corresponding Jazzy changes in a separate PR. Assuming this is the right approach.

  4. reviewers: how are reviewers assigned?

let me know your thoughts.

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.

2 participants