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).
[x] Format Python code by running python3 -m black . in the top-level of this repository
[x] Thoroughly test your code's functionality, including unintended uses.
[N/A] Fully test the responsiveness of the feature as documented in the Responsiveness Testing Guidelines. If you deviate from those guidelines, document above why you deviated and what you did instead.
[N/A] Consider the user flow between states that this feature introduces, consider different situations that might occur for the user, and ensure that there is no way for the user to get stuck in a loop.
Before merging a pull request
[ ] Squash all your commits into one (or Squash and Merge)
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
)