Skip to content

Support driver configuration for CTO's firmware, deprecate John's firmware - #31

Merged
aaumar25 merged 20 commits into
mainfrom
migration_to_CTO
Oct 8, 2026
Merged

aaumar25 merged 20 commits into
mainfrom
migration_to_CTO

Conversation

@aaumar25

@aaumar25 aaumar25 commented Oct 6, 2026

Copy link
Copy Markdown
Member

No description provided.

This is a read-only data provided by the driver
John's configuration structure is still keep for now before the migration is
fully finished
This commit allows drivercom to change whole configuration values of the driver.
However, the servo state driver must be "off", otherwise returning
`InvalidServoState`
It is not a good approach to separate between the `State` and `Config` into two
different type due to some of `State` messages are mutable. Thus, every fields
in config are mutable except `state`
This is a deliberate change to make the usage in drivercom-cli done in comptime.
Now, every `set_xx` command now set something in config and `get_xx` get
something from config.
@aaumar25
aaumar25 merged commit c765aa9 into main Oct 8, 2026
2 checks passed
@aaumar25
aaumar25 deleted the migration_to_CTO branch October 8, 2026 02:08
@aaumar25 aaumar25 mentioned this pull request Oct 8, 2026
14 of 25 tasks
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.

Implement driver configuration for CTO firmware, deprecate John firmware Implement message format for CTO firmware, deprecate John firmware

1 participant