Skip to content

Patch "speed" population of Motor.config#183

Merged
rocco8773 merged 1 commit into
mainfrom
patch_speed_config_population
Jun 13, 2026
Merged

Patch "speed" population of Motor.config#183
rocco8773 merged 1 commit into
mainfrom
patch_speed_config_population

Conversation

@rocco8773

Copy link
Copy Markdown
Member

The "speed" key in Motor.config is populated from the Motor.motor dictionary, which is updated when commands are sent to the motor and relevant responses are received. This can lead to scenarios where Motor.motor["speed"] is None or an AckFlags enum. These both raise TypeError when forcing Motor.config["speed"] to be a float(). If this happens, the speed value now defaults to zero, 0.0.

@rocco8773 rocco8773 merged commit 321cd37 into main Jun 13, 2026
17 checks passed
@github-project-automation github-project-automation Bot moved this from Tasks to Done in BaPSF Motion Jun 13, 2026
@rocco8773 rocco8773 deleted the patch_speed_config_population branch June 13, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant