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

Start of climber server cleanup - #67

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

kjaget
Copy link
Member

@kjaget 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)
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Member Author

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.

 - 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
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

Successfully merging this pull request may close these issues.

3 participants