Skip to content

modify: baudrate bug and --no-fd option bug - #175

Merged
kou merged 2 commits into
enactic:mainfrom
tokirobot:fix-cli-param-stability
Nov 2, 2026
Merged

kou merged 2 commits into
enactic:mainfrom
tokirobot:fix-cli-param-stability

Conversation

@tokirobot

Copy link
Copy Markdown
Contributor
  • can_configure --no-fd left the interface in FD mode, because the ip link
    command never said fd off. Same fix in discover.
  • change_baud wrote blindly and always printed success. Motors switch
    baudrate right after acknowledging the write and reply in CAN FD, so it now
    writes on the old rate, moves the interface to the new one, reads every motor
    back, and only then saves. It also accepts several IDs (-c 1,2,3).

Tested on two arms (8 motors each). All of these succeeded:

# Classic CAN: <FD> is gone from `ip -details link show`
openarm-can-cli -i can_arm_left can_configure --no-fd

# 8M -> 5M, both arms
openarm-can-cli -i can_arm_right change_baud -b 5000000 -c 1,2,3,4,5,6,7,8 --save
openarm-can-cli -i can_arm_left change_baud -b 5000000 -c 1,2,3,4,5,6,7,8 --save

@packit-as-a-service

Copy link
Copy Markdown

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo dnf install -y 'dnf*-command(copr)'
  • dnf copr enable packit/enactic-openarm_can-175
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

The sequence has 5 steps: check, write, move the interface, verify
and save. "Verifying" was also labeled "[3/4]".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kou
kou merged commit f3ca25b into enactic:main Nov 2, 2026
24 checks passed
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