From e044730062dee0045e02f47f94b13a174aff0b28 Mon Sep 17 00:00:00 2001 From: Matthew Hasselfield Date: Tue, 7 Nov 2023 11:54:36 -0500 Subject: [PATCH] ACU Sun Avoidance (#559) * 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 --- socs/agents/acu/agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/socs/agents/acu/agent.py b/socs/agents/acu/agent.py index 0a8c79731..19843a53f 100644 --- a/socs/agents/acu/agent.py +++ b/socs/agents/acu/agent.py @@ -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,