Skip to content

Make get_* methods return the requested data#37

Merged
cpr-mab merged 2 commits into
CommonplaceRobotics:masterfrom
JuBiotech:make-list-files-return-file-list
Jul 2, 2026
Merged

Make get_* methods return the requested data#37
cpr-mab merged 2 commits into
CommonplaceRobotics:masterfrom
JuBiotech:make-list-files-return-file-list

Conversation

@michaelosthege

@michaelosthege michaelosthege commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

list_files_async, get_board_temperatures_async and get_motor_temperatures_async are changed such that:

  • They can raise CRICommandError in case of errors
  • They return the requested data, passed through via the robot_state

Closes #33

Also changes them to raise errors, because otherwise
the return type would not be dependable.

Closes CommonplaceRobotics#33
@cpr-mab cpr-mab merged commit cde8bb9 into CommonplaceRobotics:master Jul 2, 2026
5 checks passed
@michaelosthege michaelosthege deleted the make-list-files-return-file-list branch July 2, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Odd signatures of some methods

2 participants