-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
[WIP] camera trigger: add support for fmu pins 7 and 8 #10857
Conversation
Awesome! CI doesn’t like it yet |
@davids5 In the timer_config.c for fmu-v5 these two timer channels are marked as "need revision". Do you think something is missing? |
@LorenzMeier yes I just noticed. I don't have the pwm number in SITL. I will push a fix asap. |
|
@dagar FYI even before this pr when I build sitl on Mac I get the following messages:
|
dd2edd9
to
5cd181d
Compare
5cd181d
to
70eb91c
Compare
@DanielePettenuzzo This has a docs implication. Can you make it clear what will need to happen in this section of the camera trigger doc? (ideally create PR for it and I can edit as needed). |
@hamishwillee yes I need to create a new camera capture section and update the camera trigger. Camera capture pr: #10295 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@DanielePettenuzzo What's happening with this? |
Ping @DanielePettenuzzo |
@hamishwillee sorry for the late reply. I will document all the new things that were added with the camera capture pr and with this one. I need to rebase and test this pr again. I will probably be able to update the documentation some time this week. |
@DanielePettenuzzo Awesome, thank you. I will be away on holiday for 3 weeks. Can you please CC in @bkueng to your docs PR for review? |
@DanielePettenuzzo This PR was useful. Were you really intending to allow it to lapse? |
@hamishwillee sorry I was on holiday and totally missed this one. No I should rebase and test it again. @RomanBapst if we plan on doing some mapping with the seagull in the near future we can test this in flight |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
@dagar I saw few users they want to use Generic Quadplane VTOL with camera trigger out of box, this frame already use AUX1~5, so they choose to buy Pixhawk4 which have AUX1~8, but camera trigger seems would not work with AUX 78 yet. |
I agree with you. In my case, I have to set a new main and aux mixer to empty aux pin 5 and 6. It would be great if pin 7 and 8 could be assigned as a camera trigger pin. |
@bys1123 @saengphet thanks for the update. Let's figure out a way to make it as configurable as it needs to be across different boards. |
Done in #15482 |
This pr adds support for fmu pwm pins 7 and 8. It was currently just tested on fmu-v5 (Pixhawk 4) for both GPIO and PWM triggering.