PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
7.85k stars 13.22k forks source link

[Bug] Rover module not included in fmu-v6x #22130

Open eogks8921 opened 9 months ago

eogks8921 commented 9 months ago

Describe the bug

Hello. I am conducting research related to rovers using Pixhawk6X. I was trying to carry out my research with firmware version 1.14.0-rc1, but I encountered an issue where there was no PWM change after selecting the airframe and attempting to arm. While inspecting the source code, I found a bug.

In the following code:

PX4-Autopilot/boards/px4/fmu-v6x/default.px4board

I noticed that CONFIG_MODULES_ROVER_POS_CONTROL=y was missing.

To Reproduce

Error in the 1.14.0-rc1 firmware version itself.

Expected behavior

Even after selecting the rover airframe, arming, and changing the throttle, there is no PWM output change.

Screenshot / Media

default px4board

Flight Log

None

Software Version

1.14.0-rc1

Flight controller

Pixhawk6X

Vehicle type

Rover

How are the different components wired up (including port information)

No response

Additional context

No response

giangthewalkingman commented 8 months ago

same, my rover model use skid-steering, I use main 1 and main 2 to connect to those ESCs. And, when I run Actuator testing at Actuator setup menu of QGcontrol, the motors act as normal. However, when I use RC control or try controlling at the main menu (using those sticks in the display), the PWM out keeps at 1500 though I move those sticks. When the firmware at 1.13.3, my rover acts normally. I think it is a bug.

AlbertoJimenezUC3M commented 4 months ago

Hello, has anyone been able to solve it? I can´t use a rover with 1.14 :(

eogks8921 commented 4 months ago

@AlbertoJimenezUC3M hello, to solve this problem. you need to write CONFIG_MODULES_ROVER_POS_CONTROL=y in default.px4board and build again. If you face some kind of memory error, delete no use modules.

AlbertoJimenezUC3M commented 3 months ago

@eogks8921 Thanks for your help, it worked fine!

maxpolzin commented 1 month ago

@AlbertoJimenezUC3M: Thx for raising the issue, I ran into the same issue. @eogks8921 Thx for your inputs, that indeed resolves the problem.