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 some time-out / delay bugs in ACU agent #623

Merged
merged 7 commits into from
Jan 26, 2024

Conversation

mhasself
Copy link
Member

@mhasself mhasself commented Jan 25, 2024

Description

Key features:

  • ACU: go_to_axes patiently waits for the warning horn to sound
  • ACU: suppress Sun escape (and logging) if platform not moveable
  • ACU: allow more time for _run_scan to enter ProgramTrack mode
  • ACU: increase overall timeout

Motivation and Context

Addresses issues reported in #617, #619, #620. There are a few mysteries remaining but I think we should close these and get clean measurements of any new problems.

Resolves #617.
Resolves #619.
Resolves #620.

How Has This Been Tested?

Tested on SATP1. "Not moveable" suppression of Sun avoidance escapes was simulated with a time-based hack.

I am comfortable running this on any platform as is.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

The timeout has been marginal recently since the max platform speeds
on SATP1 & 3 were lowered to 0.5 deg/s, which was the vel used to
estimate the timeout.
This can't be detected other than through the track stack size.
Could this be the *last* bug in scanning?!
@mhasself
Copy link
Member Author

I've just added two more fixes which should greatly improve quality of life.

I would like to get this deployed ASAP, as several of these bugs have been annoying SATP1 testing.

Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@BrianJKoopman BrianJKoopman merged commit 2734075 into main Jan 26, 2024
5 checks passed
@BrianJKoopman BrianJKoopman deleted the mhasself/acu-bug-fixes branch January 26, 2024 19:55
hnakata-JP pushed a commit that referenced this pull request Apr 12, 2024
* ACU: increase overall timeout

The timeout has been marginal recently since the max platform speeds
on SATP1 & 3 were lowered to 0.5 deg/s, which was the vel used to
estimate the timeout.

* ACU: allow more time for _run_scan to enter ProgramTrack mode

* ACU: suppress Sun escape (and logging) if platform not moveable

* ACU: go_to_axes patiently waits for the warning horn to sound

* ACU: minor tweaks / fixes for last few bug fix commits

* ACU: add trap for case where track is getting dropped

This can't be detected other than through the track stack size.

* ACU: fix bug where scan could exit prematurely

Could this be the *last* bug in scanning?!
BrianJKoopman pushed a commit that referenced this pull request May 8, 2024
* ACU: increase overall timeout

The timeout has been marginal recently since the max platform speeds
on SATP1 & 3 were lowered to 0.5 deg/s, which was the vel used to
estimate the timeout.

* ACU: allow more time for _run_scan to enter ProgramTrack mode

* ACU: suppress Sun escape (and logging) if platform not moveable

* ACU: go_to_axes patiently waits for the warning horn to sound

* ACU: minor tweaks / fixes for last few bug fix commits

* ACU: add trap for case where track is getting dropped

This can't be detected other than through the track stack size.

* ACU: fix bug where scan could exit prematurely

Could this be the *last* bug in scanning?!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants