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

Changing a PWM channel #18775

Closed
Ador2 opened this issue Dec 3, 2021 · 3 comments
Closed

Changing a PWM channel #18775

Ador2 opened this issue Dec 3, 2021 · 3 comments

Comments

@Ador2
Copy link

Ador2 commented Dec 3, 2021

I'm using PX4 with fixed wing airframe, I want to change the throttle channel for example to be channel 6.
is that possible using parameters? or what should i do?

@dagar
Copy link
Member

dagar commented Dec 3, 2021

Currently it's done by setting the mixer in an airframe.

https://github.com/PX4/PX4-Autopilot/blob/master/ROMFS/px4fmu_common/mixers/AETRFG.main.mix

So for right now you can either change the set MIXER AETRFG or pick a different airframe that matches your desired output.

We're currently working on a complete overhaul of the output system that will allow you to directly modify everything via parameters or a GUI. mavlink/qgroundcontrol#9952

@Ador2
Copy link
Author

Ador2 commented Dec 4, 2021

I'm using AAVVTWFF.main.mix actually but for AETRFG.main.mix if I were to copy the content of CH3 here and overwrite CH6 with it, that would consider channel 3 and 6 for throttle, since my CH3 is dead I can use CH6 instead?

@Ador2
Copy link
Author

Ador2 commented Dec 4, 2021

Yeah that works perfectly, thanks

@Ador2 Ador2 closed this as completed Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants