Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The web app should get state from the robot when loaded #149

Open
amalnanavati opened this issue Nov 22, 2024 · 0 comments
Open

The web app should get state from the robot when loaded #149

amalnanavati opened this issue Nov 22, 2024 · 0 comments

Comments

@amalnanavati
Copy link
Contributor

Currently, the web app persists its state for 1 hour. The intent of that was that if the robot arm is in some configuration, and then say the WiFi dies or the user's device resets or such, the robot arm hasn't moved, so when the user re-opens the web app it should stay in the same state.

However, what if the arm did move? (e.g., a caregiver turned the robot off and on and re-homed it? Or in sim mock where the robot state resets when you restart MoveIt?) To address this, when the web app first opens, it should attempt to get the state from the robot (e.g., there should be a a service that gets the robot arm configuration and extrapolates and returns which state the robot must be in). If that service fails, then the web app can persist state.

Thanks @jjaime2 for raising this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant