[SCHEDULER-1675]  Alt-Az Mount Derotation Limits and Up-Limits
Type Limitation
Priority High
Severity Minor
Component AirMass Constraint, AirMassRange Constraint, AltAzRotationConstraint, Constraint SDK, Dispatch Scheduler Engine, Horizon Constraint, HourAngle Constraint, MoonAvoid Constraint, MoonDown Constraint, Simulator Sky Server, SkyCondition Constraint, TimeRange Constraint
Fixed In Version [9.09.0
Versions Affected [8.08.0
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 4/30/2019

Description
See this Comm Center thread by Don Elledge. Prevent starting a Plan with any Observation that would enter the "cone of exclusion" set by the Tilt-Up limit, and also mind the possibility of the derotator hitting it's rotation limits. This should be done in the context of a constraint like the ACP "hard limits" horizon is now, internally to the Scheduler, so it is automatic and does not require any user input. Detect it being an alt-az from ACP settings. For the derotator somehow will need the PABias and the derotator limits???

While you're at it, generalize the tilt-up limits protection for Fork and German mounts as well, prevent the Plan from starting if it would ever put the mount into the exclusion region.

Comments
3/23/2021 2:36:37 PM   Bob Denny
Well this was a bust. An accommodation for one specific mount and it's time has apparently come and gone. Boy I wish I could unwind this. Well the additional info in the constraint interface may benefit someone in the future.

I'll mark it solved.
6/28/2019 8:33:20 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 805
Affected files /trunk/Scheduler/Engine.cs (Modified)
Check-in comment Catch Observation with no data for the newly added constraint - was crashing dispatcher. GEM:1675
6/28/2019 7:16:40 AM   Bob Denny
Regression testing revealed a weakness. Old Observations that don't include reference to this newly added constraint will crash the Scheduler! Fixed.
5/6/2019 4:29:57 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 796
Affected files /trunk/AltAzRotationConstraint/ReadMe.txt (Added)
Check-in comment Readme for the CDK700 constraint GEM:1675
5/5/2019 5:28:56 PM   Bob Denny
Needs testing by Don Elledge, including the sense of the RotatorOffset I give him.
5/5/2019 5:27:45 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 793
Affected files /trunk/AirMassConstraint/AirMassConstraint.cs (Modified)
/trunk/AirMassConstraint/AssemblyInfo.cs (Modified)
/trunk/AirmassRangeConstraint/AirmassRangeConstraint.cs (Modified)
/trunk/AirmassRangeConstraint/AssemblyInfo.cs (Modified)
/trunk/AltAzRotationConstraint (Added)
/trunk/AltAzRotationConstraint/AltAzRotationConstraint.cs (Added)
/trunk/AltAzRotationConstraint/AltAzRotationConstraint.csproj (Added)
/trunk/AltAzRotationConstraint/AssemblyInfo.cs (Added)
/trunk/Browser/BrowserForm.cs (Modified)
/trunk/Browser/Properties/AssemblyInfo.cs (Modified)
/trunk/ConstraintInterfaceAssembly/AssemblyInfo.cs (Modified)
/trunk/ConstraintInterfaceAssembly/ConstraintInterfaces.cs (Modified)
/trunk/Database/AssemblyInfo.cs (Modified)
/trunk/Database/Database.cs (Modified)
/trunk/HorizonConstraint/AssemblyInfo.cs (Modified)
/trunk/HorizonConstraint/HorizonConstraint.cs (Modified)
/trunk/HourAngleConstraint/AssemblyInfo.cs (Modified)
/trunk/HourAngleConstraint/HourAngleConstraint.cs (Modified)
/trunk/MoonAvoidConstraint/AssemblyInfo.cs (Modified)
/trunk/MoonAvoidConstraint/MoonAvoidConstraint.cs (Modified)
/trunk/MoonDownConstraint/AssemblyInfo.cs (Modified)
/trunk/MoonDownConstraint/MoonDownConstraint.cs (Modified)
/trunk/Scheduler/ACPSequencer.cs (Modified)
/trunk/Scheduler/ConfigForm.cs (Modified)
/trunk/Scheduler/ConstraintInterfaces.cs (Deleted)
/trunk/Scheduler/Constraints.cs (Modified)
/trunk/Scheduler/Engine.cs (Modified)
/trunk/Scheduler/ISequencer.cs (Modified)
/trunk/Scheduler/SimulatorSequencer.cs (Modified)
Check-in comment Add AltAzRotationConstraint for PlaneWave CDK700 limits. Expand the IConstraintHost interfaces on all constraints to add new items needed by this. Also needed was an expansion of the ISequencer interface and both the ACP and Simulator sequencer for more data items. Add config form fields for the simulator sequencer to supply these new items. Add support to the Database wrapper and the Schedule Browser for constraints with no parameters (always active) of which the AltAzRotation constraint is an example. GEM:1675
5/4/2019 5:46:55 PM   Bob Denny
Breaking change for constraint binding. Now binding version 3. First change since 2006! Stopping for the day.Next thing to look at is caching the Engine.LimitType.CheckLimits() in the ACP Sequencer. The new IConstraintPlugIn and iConstraintHost interfaces are done now. Next up is Constraints.cs where the new binding must be implented, then all of the constraints have to be updated, as well as the Constraint SDK
5/4/2019 3:53:20 PM   Bob Denny
Actually 30-Apr-2019: Integrated his constraint into the Scheduler as AltAzRotationConstraint. Patchy work on this due to the Gemini outage and hopping between service providers.
2/18/2019 11:18:54 AM   Bob Denny
He has completed the constraint (see this Comm Center message). The zipfile of the sources is attached. I have set this for High priority and will look at this soon!  Thank you Don.