-
Notifications
You must be signed in to change notification settings - Fork 111
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
APP-465 Add stop func when toggling off keyboard #1463
APP-465 Add stop func when toggling off keyboard #1463
Conversation
…rd-off-while-its-moving
const stopBase = () => { | ||
const req = new baseApi.StopRequest(); | ||
req.setName(props.name); | ||
window.baseService.stop(req, new grpc.Metadata(), displayError); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One concern I have here: do we know if this gives an error message if the base has already been stopped? If so, then we could end up giving our peeps error messages when they've done nothing wrong. If this is what's going to end up happening I'd recommend not passing errors to displayError
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on running this using the fake config, if I toggle the keyboard on, then press the Stop button, and then switch the keyboard toggle to off (which will also kick off the stop command), I see no errors. However, will this be the case when running on a real robot?...I'm not sure :(.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No prob! We can punt on that then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed, no errors :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
…rd-off-while-its-moving
|
20221010_APP-465_Add Stop Func When Toggling Off Keyboard