-
Notifications
You must be signed in to change notification settings - Fork 42
Camera control #241
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
Merged
Merged
Camera control #241
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add STARTUP_LOCK flag. Minor tidyup of code changes.
…switch development version.
Modify lifetime OSD display to show only hours after first hour of life. Fix manual mode camera selection.
Set register 7 properly.
Request MSP_BOXIDS every 500ms when not armed. Only requests MSP_RC messages when not armed. Remove a few redundant variables.
…parse new message from iNav. Calculate the position of the ARM bit in the status messages using boxids. Update MSP_STATUS to process the additional boxid bits supplied when variant is BTFL. Simplify the lock flags used during startup. Minor code optimisation in the msp_send_command and msp_send_response functions.
Speed up BOXID parsing. Display VTX Lifetime in minutes for the first hour, hours only thereafter.
Add support for 3 camera switch based on the PCA9557.
Swap cam1 and cam3 selection for 3-cam switch. Only wait for camera power-up on 3-cam switch. Ensure default camera (camera1) is selected during startup.
Minor code changes/optimisations.
Add isp_reset checks for HVFLIP changes in the camera menu. Add more camera initialisation when switching between cameras.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add control for 2 and 3 camera switches.
Use CAMERA CONTROL 1 to select a camera on a 2 camera switch.
Use CAMERA CONTROL 2 to select camera 3 on a 3 camera switch.
Disable camera control when in camera menu and switch detected.
Assign each camera profile to each camera on the switch (ex, profile 1 for camera 1) when switch detected.
Synchronize video mode across all profiles when switch detected.
Display switch type detected on the VTX menu.
Display camera type detected on the VTX menu.
Additional.
Ensure Nano90 HV Flip is actioned when changed in the camera menu (will only change on save/exit at this time).
Use BOXID to determine location of ARM flag in status messages.
Correct spelling and/or clarify some function names and variables.
Add an UNUSED(param) definition to avoid gcc/g++ warnings when a parameter is not used in a function.
Update lifetime display in VTX menu to show minutes for the first hour and then only hours.