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

Fix timing of command responses from Astrohaven simulator. #243

Merged
merged 3 commits into from
Dec 23, 2017

Conversation

jamessynge
Copy link
Contributor

Was emitting response too soon, so driver was skipping past it when
looking for a response, thus never detected that the desired state had
in fact been reached.

Added logging to the Astrohaven simulator to help with future debugging.

Fixes #240

Was emitting response too soon, so driver was skipping past it when
looking for a response, thus never detected that the desired state had
in fact been reached.

Added logging to the Astrohaven simulator to help with future debugging.
@codecov
Copy link

codecov bot commented Dec 23, 2017

Codecov Report

Merging #243 into develop will decrease coverage by 0.04%.
The diff coverage is 87.87%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #243      +/-   ##
===========================================
- Coverage    79.87%   79.82%   -0.05%     
===========================================
  Files           42       42              
  Lines         3185     3197      +12     
  Branches       413      412       -1     
===========================================
+ Hits          2544     2552       +8     
- Misses         501      503       +2     
- Partials       140      142       +2
Impacted Files Coverage Δ
pocs/dome/protocol_astrohaven_simulator.py 75.94% <87.87%> (-0.06%) ⬇️
pocs/dome/astrohaven.py 78.66% <0%> (-1.34%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d43378d...369e790. Read the comment docs.

@jamessynge jamessynge requested a review from a team December 23, 2017 03:07
Copy link
Member

@wtgee wtgee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

if remaining <= 0:
self.do_output()
self.update_next_output_time()
continue
# Maybe a short delay here?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment was here before but is it referring to same thing as short delay added on 132?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doh, should have fixed that. Will do so now.

Add clarifying comments about placement of sleep and drain (discard)
operations.
@jamessynge jamessynge merged commit d081a28 into panoptes:develop Dec 23, 2017
@jamessynge jamessynge deleted the issue-240-dome-test-failure branch December 23, 2017 15:46
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.

2 participants