Loop Condition: Azimuth
Hello All,
since I have a heavily obstructed field of view (Alt and as well Az due to house in the north) it would be nice to have a corresponding “Loop Condition Azimuth”. But in comparison to existing “Alt Loop condition” an in between comparison is required e.g. 30° < Azimuth <= 80°.
Also it should be possible to combine it with Alt loop condition via logical AND to ensure the target is in range.
Thanks for evaluating.
Cheers Rüdiger
Comments (11)
-
repo owner -
reporter I want to loop an instruction set while it is in a certain square window, which is visible from my position. “Wait” is not the right “command”, but loop
untilwhile target is in this observable window. When target leaves it, move to next target. -
reporter Maybe it is better to have a combined Alt/Az Loop condition instead of two?
-
repo owner sure but when you have this window as a condition and don’t wait for this window to happen in the first place, the conditions will quit immediately.
-
reporter That is right. Maybe I have misunderstood the loop condition. I expected it is looping while the condition is true, Please correct me if I am wrong.
Update: Yes you are right. Waiting is also required.
-
repo owner Yes it is looping while it is true. But if you enter it when the window is not yet reached it isn’t true and won’t loop. Therefore you would need the wait instructions prior to that set to reach that window in the first place
-
reporter Yes, you are right. I did not consider that.
-
reporter Maybe a start trigger is the solution (analog “Utility: Wait for Time Span”)? The sequence starts when target gets visible?
-
repo owner - changed status to closed
This could be added as a plugin. However the better approach is to use a horizon file to determine if a target is visible and use the related instructions for those.
-
reporter Hi Stefan,
I will give it a try. Horizon file is already in place.
Rüdiger
-
repo owner - removed version
Removing version: 1.11 Nightly (automated comment)
- Log in to comment
conditions are only connected via OR.
What you need then would be an instruction “Wait for Azimuth” 30° and “Wait for Altitude” 50° afterwards prior to the set where the conditions are in.
In the condition then you would have Loop until Altitude < 40° and Loop until Azimuth > 80°
Would that work for your case?