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
AP_Camera: add CAMx_OPTION support for start/stop recording when arm/Disarm #24193
Conversation
@IamPete1 Thanks for the suggestions. Well the problem with not blocking is that ( atleast what i see in my case in SiYi zr10) if we don't block then It sends recording message to camera again and again that causes camera record 0bytes mp4 files. May be it is due to the fact that SiYi has same message(command) to start and stop video recording. So every time we arm it causes multiple 0Bytes files to write in the memory in those not a single one is playable. |
@rmackay9 I think instead of values we should use a bitmask so in future adding more options will be easier. |
Great, this is much better thanks. Can you fix the commit message to start with "AP_Camera:"? |
The required changes for this also done. |
Great, thanks very much for this. This has been tested to confirm that the ZR10 attempts to start and stop recording when the autopilot is armed/disarmed? I'm sure you have but I just want to check before we merge. |
@rmackay9 Yeah Tested on Zr10. |
Tested on SiYI zr10.