-
Notifications
You must be signed in to change notification settings - Fork 1
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
Start of climber server cleanup - #67
base: master
Are you sure you want to change the base?
Conversation
kjaget
commented
Mar 26, 2019
- add and use method for safer waiting for elevator server to return success (allow it to be preempted)
- reduce delay after firing pins/deploy
{ | ||
bool waiting_for_elevator = true; | ||
const double start_time = ros::Time::now().toSec(); | ||
while (waiting_for_elevator) |
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.
There is currently no max wait time which we probably want, as timed_out is only set once the goal succeeds or preempts
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.
We should also probably have a ros::ok() check in the while loop
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.
Yeah, makes sense. Please take another look.
34a1c14
to
17e4432
Compare
- add and use method for safer waiting for elevator server to return success (allow it to be preempted) - reduce delay after firing pins/deploy
Make elevator_server class member functions protected
17e4432
to
b6e92ae
Compare