This is most likely caused by the stop request getting to the camera before the move request has completed, causing an infinite pan until the hardware limit
Solution:
On camera move AJAX request success, set a flag that enables stop messages to be sent. Then, in the stop function, check the flag, and if not allowed, setTimeout for a short delay and try again.
This is most likely caused by the stop request getting to the camera before the move request has completed, causing an infinite pan until the hardware limit
Solution:
On camera move AJAX request success, set a flag that enables stop messages to be sent. Then, in the stop function, check the flag, and if not allowed, setTimeout for a short delay and try again.