After some research, I came across this GitHub discussion: #2425 — Enforcing safe zone in RotatorInterface.
I am not familiar with the GitHub development environment, so I am posting here in the hope of continuing the discussion and understanding whether this issue was resolved, partially addressed, or still open in the current INDI/Ekos versions.
The discussion was started by @olsonse and includes comments from @knro. It was closed after inactivity, but I still encounter what looks like the same practical problem with my Wanderer Rotator Mini V2. I understand that @olsonse reported successful testing with the Wanderer rotator and the rotator simulator. In my installed INDI/Ekos setup, however, I still observe destination-only validation and unsafe travel paths, so I would like to understand whether the proposed changes were merged, partially merged, or never deployed in the version I am using.
My setup uses a Wanderer Rotator Mini V2 with a Player One filter wheel and camera. Because of the geometry of my telescope, there is a range of rotator angles where the filter wheel can collide with the mount. So I need the rotator not only to reach a permitted final angle, but also to avoid travelling through that forbidden zone.
In my tests, the safe-range check seems to validate the destination, but not necessarily the path used to reach it. For example, with my mechanical zero at 0°, I may need a 5° counter-clockwise correction. INDI requires me to enter 355° as the absolute target, but the rotator may then take the long 355° path through the restricted area. I then have to press Abort manually to avoid a collision. I have also seen Home traverse the forbidden zone in my testing.
For unattended imaging, this can wrap, tighten, snag or pull on cables, or rotate the filter wheel and camera train into the mount.
I understand that @olsonse already proposed enforcing the safe zone along the travel path, and later suggested a backward-compatible MoveRotatorRelative(target, delta) function, with a default implementation that simply calls MoveRotator(target). That approach seems very sensible to me, but I am not in a position to judge the implementation details or to say what the best solution would be.
As a humble, non-coder suggestion, I wonder whether the driver could check the complete travel path before issuing a motion command. For example, it could consider both possible directions from the current position to the requested target. If one path remains entirely within the safe range, it could use that direction. If neither path is safe, it could reject the request without moving the rotator.
The simulation step would not need to be very fine; even 1° would probably be enough, since it is only a path check and not an actual commanded motion.
In my case, this would avoid a situation where a requested 355° target is accepted as a valid destination, but the rotator then travels through the forbidden zone to get there.
Unfortunately, I do not know how to code. However, I own a Wanderer Rotator Mini V2 and would be happy to help by testing any proposed change, reporting logs, and checking the behaviour with a mechanically constrained imaging train.
Would it make sense to revisit this idea, perhaps as an optional and backward-compatible enhancement?