Fix perception race conditions, web app streaming, and F/T QoS #151
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 addresses miscellaneous bugs in the system:
RELIABILITY
, which is incompatible with the F/T sensor's publication ofBEST_EFFORT
. This PR addresses that.ValueError
. Since we have mostly converged to the message types we will be using, this PR adds a fallback to a hardcoded message type if publishers for those topics are not yet alive.feeding_web_interface
#106, the web app expects the face detection image to be aCompressedImage
, which this PR addresses.feeding_web_interface
#111, to avoid latency the web app needs a rate-limited publication of video streams. This PR extendsrepublisher
to rate-limit streams, and rate-limits the streams rendered on the web app to 3Hz (can be tuned).Testing procedure
feeding_web_interface
#111 and re-build the workspace.DetectingFace
page in the web app, move your head around in front of the camera, verify that the latency is not more than 1-2 secs.Before opening a pull request
python3 -m black .
ada_feeding
directory, run:pylint --recursive=y --rcfile=.pylintrc .
.Before Merging
Squash & Merge