-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Air frame init script files attempt to set rates that will fails on all FMU PWM #7261
Comments
I'm not sure I completely understand all the details here, but here are a few thoughts.
|
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Hi @dagar Is there any progress on this issue? we are experiencing issues on vtol configuration. |
There are 2 issue:
Issue 1:
Air frame script
set PWM_OUT 5
Later command
pwm rate -c ${PWM_OUT} -r ${PWM_RATE}
FMUv2 HW: default is /dev/pwm_output0
FMUv2
It would have to be
pwm rate -c 5678 -r 400
On V2FMUv4
It would have to be
pwm rate -c 56 -r 400
On V4Issue 2:
Assuming FMUv2 or FMUv4
pwm rate -g 0 -r 400
Sets group 0 toalternative
rate of 400 Hz and ALL other groups todefault rate
50 Hzpwm rate -g 1 -r 25
Sets group 1 toalternative
rate of 25 Hz and ALL other groups todefault rate
50. Thus undoing the Group 0 rate of 400.The text was updated successfully, but these errors were encountered: