Skip to content

Reduce default timeout#152

Open
Godeffroy wants to merge 2 commits into
ROBOTIS-GIT:masterfrom
Mecapitronic:master
Open

Reduce default timeout#152
Godeffroy wants to merge 2 commits into
ROBOTIS-GIT:masterfrom
Mecapitronic:master

Conversation

@Godeffroy
Copy link
Copy Markdown

Reduce timeout from 100ms to 10ms for both functions :

  • readControlTableItem
  • writeControlTableItem

Copy link
Copy Markdown

@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 reduces the default timeout for reading and writing control table items from 100ms to 10ms in Dynamixel2Arduino.h. It also explicitly initializes all fields of the InfoToParseDXLPacket_t structure in protocol.cpp. The reviewer suggests using memset to zero-initialize the structure rather than manually setting each individual field, which would make the code more concise and maintainable.

Comment thread src/dxl_c/protocol.cpp Outdated
Godeffroy added 2 commits May 29, 2026 11:24
- in function : begin_parse_dxl_packet
- in function : fast_begin_parse_dxl_packet
@Godeffroy
Copy link
Copy Markdown
Author

Rewrite the commits to include Gemini code review.

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.

1 participant