-
Notifications
You must be signed in to change notification settings - Fork 3
Camera Manager + UART Configuration #75
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
base: main
Are you sure you want to change the base?
Conversation
| void CameraManager ::TAKE_IMAGE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq) { | ||
|
|
||
| // Prepare the "snap" command to send over UART via out_port | ||
| const U8 size = sizeof(this->snapArray); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than sending a custom snap bytearray to the camera to command a picture, consider just writing the F Prime opCode. This brings the functionality closer to the Hub Pattern that we would one day want between the Flight Controller and downstream payloads.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah the snap bytearray was just for first pass testing. We can pass an argument through the command for custom command handling that get's handled whatever's on the other side of the uart.
boards/bronco_space/proves_flight_control_board_v5/proves_flight_control_board_v5-pinctrl.dtsi
Show resolved
Hide resolved
180d732 to
6bb525a
Compare
Camera Manager + UART Configuration
Description
This PR introduces the UART configuration that allows the FC to communicate with the payload.
The Columbia team is looking to communicate with the Arduino Nicla Vision Camera. This PR also adds the CameraManager Component to do so. Finishing this component is blocked by File Manager.
TODO:
Related Issues/Tickets
How Has This Been Tested?
So far this has just been manually tested by sending the TAKE_IMAGE command to the flight computer, and manually verifying that the Nicla Vision takes a picture.
Checklist
Further Notes / Considerations