Skip to content

Commit

Permalink
* Don't park during the safety check, but let the alignment script do…
Browse files Browse the repository at this point in the history
… it.
  • Loading branch information
wtgee committed May 18, 2024
1 parent 58a2ec2 commit 34e434e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/panoptes/pocs/utils/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def get_altaz_observation(coords, seq_time) -> Observation:

procs = list()
for i, altaz_coord in enumerate(altaz_coords):
if pocs.is_safe() is False:
# Check safety (parking happens below if unsafe).
if pocs.is_safe(park_if_not_safe=False) is False:
print('[red]POCS is not safe, shutting down.[/red]')
raise PanError('POCS is not safe.')

Expand Down

0 comments on commit 34e434e

Please sign in to comment.