Loop Condition: Azimuth

Issue #684 closed
Ruediger created an issue

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)

  1. Stefan B repo owner

    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?

  2. Ruediger 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 until while target is in this observable window. When target leaves it, move to next target.

  3. Stefan B 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.

  4. Ruediger 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.

  5. Stefan B 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

  6. Ruediger reporter

    Maybe a start trigger is the solution (analog “Utility: Wait for Time Span”)? The sequence starts when target gets visible?

  7. Stefan B repo owner

    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.

  8. Log in to comment