This PR implements various robustness improvements, spurred by the 8/28 pilot and subsequent testing. The big changes include:
Rotating the hospital table 90 degrees in both the seated and bedside planning scene, to better account for the user's spatial configuration.
Adding timeouts and reducing retries, intended to prevent adding the "in front of face wall" from taking unreasonably long.
Making the robot plan to n cm in front of the mouth in the direction of the fork as opposed to away from the wheelchair headrest.
Ensuring that the planning scene initialization takes into account all the currently-used robot configurations.
Destroying rates after use, to prevent overwhelming the ROS middleware with timers.
Have actions plan deeper, as we did in the Jan study.
Send acquisition report in feedback, not result, so we can register success even if part-but-not-all of the acquisition action succeeded (see feeding_web_interface#145).
Testing procedure
[x] Launch the code in real.
[x] Thoroughly stress-test it across multiple bites.
Before opening a pull request
[x] Format your code using black formatterpython3 -m black .
[x] Run your code through pylint and address all warnings/errors. The only warnings that are acceptable to not address is TODOs that should be addressed in a future PR. From the top-level ada_feeding directory, run: pylint --recursive=y --rcfile=.pylintrc ..
Description
This PR implements various robustness improvements, spurred by the 8/28 pilot and subsequent testing. The big changes include:
n
cm in front of the mouth in the direction of the fork as opposed to away from the wheelchair headrest.feeding_web_interface
#145).Testing procedure
real
.Before opening a pull request
python3 -m black .
ada_feeding
directory, run:pylint --recursive=y --rcfile=.pylintrc .
.Before Merging
Squash & Merge