Added dummy TableDetection and web app toggling of table detection #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR, joint with
ada_feeding
#171, implements automated table detection into the robot-assisted feedingg system. Specifically, this PR extends the web app to toggle table detection on when the app switches to bite selection, and off when the app moves away from bite selection. Further, this PR implements a dummy TableDetection node (to continue the invariant that all real ROS interfaces have dummy variants, so the app can be tested in isolation).Testing
Dummy:
python3 src/ada_feeding/start.py --sim dummy
ros2 topic echo /table_detection
. Verify that nothing is being published on that topic.Mock:
python3 src/ada_feeding/start.py --sim mock
Real: see
ada_feeding
#171 for test cases and results.Before creating a pull request
npm run format
python3 -m black .
in the top-level of this repositoryBefore merging a pull request
Squash and Merge
)