Open davner opened 3 years ago
This is not as simple as adding in that one line of code. It required adding in a ramp up time, modifying timeouts, and changing the logic of motion flags in our telescope driver.
We are happy with our modifications so far, however we are not closing this issue just yet.
I plan on merging the parking-bug branch into so-artn.
RTS2 Parking Bug
Context
Sometimes the telescope cannot be moved by RTS2 and the logger displays something about the telescope cannot be moved during parking
This has been documented by multiple users.
10/29/2020
12/20/2020
Problem
The telescope cannot be moved by RTS2 in certain states and issues a error "telescope cannot move during parking".
Solution
I believe this is happening anytime a move is sent by RTS2 and the motion boolean value is not being configured correctly. Looking at the TCS-NG telescope driver, you can see that in the startmovefixed function, the motion value is never set to TCSNG_MOVE_CALLED...unlike the parking function and the move to RA/DEC function. This only happens when moving to an AZ/EL position, like moving to the flat field.
The motion variable is referenced numerous times in the isMoving function.
I suggest we add on line 375 of the driver
and this could fix all or part of the parking bug.