PX4-Autopilot: Can’t use pwm command to test AUX Pwm pins
operating system: windows 7 board: pixhawk4
I need to test the IOpins and auxpins,I follow https://dev.px4.io/en/middleware/modules_command.html
Question1:
new start,I use
pwm test -c 12 -p 1200
I got this,sawtooth wave
It seems some program press pwm value in channel 1&2 from 1200 to 900, I don’t know why
I use
mc_att_control stop
fw_att_control stop
same result too
but After when I use
motor_ramp sine 1100 0.5
and use
pwm test -c 12 -p 1200
again
the result changed
seems works well, why this happened?
Question2:
I test auxpwm as I do in testing IOpwm
use
pwm test -c 12 -p 1200 -d /dev/pwm_output1
It does not work at all
who can tell me why? many thanks!!!
@julianoes Could you can give me some advise??
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (11 by maintainers)
I have no strong opinion but I would like have one way only, or if we really need both ways then both need to be implemented everywhere. We can discuss it in today’s devcall.
is this??