Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry on busy too fast. #94

Open
chrissearle opened this issue Nov 29, 2016 · 0 comments
Open

Retry on busy too fast. #94

chrissearle opened this issue Nov 29, 2016 · 0 comments
Labels

Comments

@chrissearle
Copy link
Collaborator

Looks like if you try to take a snap while the drone is busy we get the error as the return to the command which will instantly force a retry (since it isn't a timeout) and that means we zip thru the retries pretty much instantly.

Affects AEB especially.

Might need to have special case for: add a pause before retry if the error is busy

Log:

W: 2016/11/07 09:35:06:033 [com.apple.main-thread/969896] CameraController takeASnap line: 196 Camera Controller takeASnap - error seen - Error Domain=DJISDKCameraErrorDomain Code=-3002 "Camera is busy or the command is not supported in the camera's current state(code:-3002)" UserInfo={NSLocalizedDescription=Camera is busy or the command is not supported in the camera's current state(code:-3002)} 
W: 2016/11/07 09:35:06:151 [com.apple.main-thread/969896] CameraController takeASnap line: 196 Camera Controller takeASnap - error seen - Error Domain=DJISDKCameraErrorDomain Code=-3002 "Camera is busy or the command is not supported in the camera's current state(code:-3002)" UserInfo={NSLocalizedDescription=Camera is busy or the command is not supported in the camera's current state(code:-3002)} 
W: 2016/11/07 09:35:06:258 [com.apple.main-thread/969896] CameraController takeASnap line: 196 Camera Controller takeASnap - error seen - Error Domain=DJISDKCameraErrorDomain Code=-3002 "Camera is busy or the command is not supported in the camera's current state(code:-3002)" UserInfo={NSLocalizedDescription=Camera is busy or the command is not supported in the camera's current state(code:-3002)} 
W: 2016/11/07 09:35:06:484 [com.apple.main-thread/969896] CameraController takeASnap line: 196 Camera Controller takeASnap - error seen - Error Domain=DJISDKCameraErrorDomain Code=-3002 "Camera is busy or the command is not supported in the camera's current state(code:-3002)" UserInfo={NSLocalizedDescription=Camera is busy or the command is not supported in the camera's current state(code:-3002)} 
W: 2016/11/07 09:35:06:584 [com.apple.main-thread/969896] CameraController takeASnap line: 196 Camera Controller takeASnap - error seen - Error Domain=DJISDKCameraErrorDomain Code=-3002 "Camera is busy or the command is not supported in the camera's current state(code:-3002)" UserInfo={NSLocalizedDescription=Camera is busy or the command is not supported in the camera's current state(code:-3002)} 
W: 2016/11/07 09:35:06:785 [com.apple.main-thread/969896] CameraController takeASnap line: 196 Camera Controller takeASnap - error seen - Error Domain=DJISDKCameraErrorDomain Code=-3002 "Camera is busy or the command is not supported in the camera's current state(code:-3002)" UserInfo={NSLocalizedDescription=Camera is busy or the command is not supported in the camera's current state(code:-3002)} 
W: 2016/11/07 09:35:06:785 [com.apple.main-thread/969896] CameraController takeASnap line: 169 Camera Controller takeASnap - counter exceeds max count - aborting 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant