Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design highlevel API #17

Merged
merged 9 commits into from
Mar 10, 2025
Merged

Design highlevel API #17

merged 9 commits into from
Mar 10, 2025

Conversation

stefanscherzinger
Copy link
Member

@stefanscherzinger stefanscherzinger commented Mar 6, 2025

Rationale

We need a high-level API that wraps all bit-related operations and module interaction as good as possible.
This will lead to a thin ROS2 driver wrapper.

Steps

  • Implement continuous status updates in the background
  • Implement a method for awaiting desired bits in the status
  • Implement and test the high-level API with
    • acknowledge
    • fast_stop

Users of the library shouldn't take care of these details.
Future commits will also add more high-level functionality for the
gripper's features.
We needed to adjust some tests and now require the BKS simulator for
most communication-related testing.
That's a better usage of system resources.
We'll call this in every high-level function.
This leads to less code and is the common practice with SCHUNK modules.
We'll use this in all high-level functions.
That's now in line with the rest of the bit operations.
All of these high-level api functions will wrap bit-related operations
and module interaction as good as possible.
This will lead to a thin ROS2 driver wrapper.
This is now as thin as we want it.
Also drop receiving the module's state periodically in the driver.
The library does that now.
@stefanscherzinger stefanscherzinger merged commit 7297f98 into develop Mar 10, 2025
5 checks passed
@stefanscherzinger stefanscherzinger deleted the highlevel-api branch March 10, 2025 08:51
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