personalrobotics / feeding_web_interface

Web interface for the robot-assisted feeding system
1 stars 0 forks source link

Allow users to move back from staging configuration #107

Closed amalnanavati closed 9 months ago

amalnanavati commented 9 months ago

Describe this pull request. Link to relevant GitHub issues, if any.

Currently, once the robot/app gets to the staging configuration (R_DetectingFace in the app), the user must continue to their mouth. However, there are multiple cases where they won't want to, e.g.,

  1. From the resting configuration, the user wanted to go back above the plate but clicked the wrong button.
  2. MoveToMouth returns failure, but it is actually at the user's mouth. At this point, the user must click "Back" to go back, but then the "DetectingFace" screen needs to allow them to go back.

This PR adds two additional buttons to the R_DetectingFace page, to move to the resting configuration and to move back to the above plate configuration.

Screenshot 2023-12-21 at 9 32 21 AM The above image shows the screen before this PR.

Screenshot 2023-12-21 at 9 31 48 AM The above image shows the screen after this PR.

Explain how this pull request was tested, including but not limited to the below checkmarks.


Before creating a pull request

Before merging a pull request