Skip to content

Commit

Permalink
ACU Sun Avoidance (#559)
Browse files Browse the repository at this point in the history
* ACU: sun avoidance

* ACU sun: update .sun in the process

* ACU sun: working non-blocking state machine to seek safety

Can be triggered for testing.  Needs logging and a bit more
safetyizing.

* ACU sun: faster sun map computation

* ACU sun: capacity to time-shift the Sun's position, for testing

Also ability to temporarily disable the feature.

* ACU sun: generate_scan checks traj before starting

Also the safe position seek clears faults.

* ACU sun: create Task to handle seek_to_sunsafe

* ACU sun: consolidate SunTracker code and organize policy

* ACU sun: more clean up; catch edge cases

* ACU sun: args, more

* ACU sun: consistencyize, reterminologize.

* ACU sun: one more tweak to escape path computation

* ACU sun: monitor_sun session.data + docs

* ACU sun: fix direct path bug; remove "escape=True" switch

* ACU sun: generate_scan initial seek must be sun-safe too!

* ACU: fix bug where empty blocks were pushed to feed

This wasn't causing any trouble other than lots of log messages in
influxpublisher.

* ACU sun: docs and requirements

* ACU sun: add tests, cleanup

* ACU sunvoidance: more docs cleanup

* ACU sun: Add new dependencies to setup.py

* ACU sunvoidance: couple more docs fixes

---------

Co-authored-by: Brian Koopman <[email protected]>
  • Loading branch information
mhasself and BrianJKoopman committed Apr 23, 2024
1 parent ffae849 commit e044730
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions socs/agents/acu/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2894,6 +2894,7 @@ def main(args=None):
args = site_config.parse_args(agent_class='ACUAgent',
parser=parser,
args=args)

agent, runner = ocs_agent.init_site_agent(args)
_ = ACUAgent(agent, args.acu_config, args.exercise_plan,
startup=not args.no_processes,
Expand Down

0 comments on commit e044730

Please sign in to comment.