personalrobotics / feeding_web_interface

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

Some robot motions start off paused in the settings menu #137

Open amalnanavati opened 6 months ago

amalnanavati commented 6 months ago

In the Settings menu, some motions receive a bit of feedback and then immediately pause. I think it has something to do with messages that are received late from the previous action. But we should investigate this more. (An example of creating this is on my iPhone's Chrome browser, from Bite Selection, go to Staging customization, and then after it has moved to the staging config, click Done. When I did it, it gets a bit of feedback and then pauses.)

amalnanavati commented 6 months ago

Looking into it more, it has to do with the error "Failed to get number of ready entities for action client: wait set index for result client is out of bounds, at ./src/rcl_action/action_client.c:635" which is an error that rosbridge experiences. We should look into if this can be fixed by how we create/destroy clients in the web app, or if it needs a change in rosbridge