Skip to content

BUMP 4.0.5#683

Merged
robotpilot merged 3 commits into
jazzyfrom
main
May 6, 2026
Merged

BUMP 4.0.5#683
robotpilot merged 3 commits into
jazzyfrom
main

Conversation

@GyuH13

@GyuH13 GyuH13 commented May 6, 2026

Copy link
Copy Markdown
Member

#682

In the Python PortHandler, the clearPort() function is used to clear the receive buffer before sending a new packet so that the status packet can be received cleanly. Since flush() is not intended for this purpose, we will modify the function accordingly.

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

Copy link
Copy Markdown
Contributor

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 the Dynamixel SDK version to 4.0.5 across various configuration and metadata files. The primary functional change is the replacement of flush() with reset_input_buffer() in the Python PortHandler.clearPort() method. Feedback suggests adding a check to verify the port is open before clearing the buffers to prevent potential exceptions and recommends clearing both input and output buffers to maintain consistency with the C/C++ implementations.

Comment thread python/src/dynamixel_sdk/port_handler.py
Comment thread ros/dynamixel_sdk/src/dynamixel_sdk/port_handler.py
@GyuH13 GyuH13 added the bump Increase the version number to release label May 6, 2026
@GyuH13 GyuH13 added this to Platform May 6, 2026
@GyuH13 GyuH13 moved this to 📝 Pull Request in Platform May 6, 2026
@robotpilot
robotpilot merged commit 69b30fc into jazzy May 6, 2026
10 checks passed
@robotpilot robotpilot moved this from 📝 Pull Request to 🚩Done in Platform May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump Increase the version number to release

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants