Board: Pixhawk 2.1
Compiler: Make on Win10
Symptoms:
-Using px4-v3, very slow parameters getting (~1minute per param) or won’t connect or won’t boot at all and will prevent PC from discovering the Pixhawk.
I tried using AUTO port scan and it connected with 9600 baud.
-Using px4-v2, Connect fine but MP keeps saying “Check firmware or FRAME_CLASS”.
FRAME_CLASS is set to 11 https://github.com/ArduPilot/ardupilot/blob/Copter-3.5/libraries/AP_Motors/AP_Motors_Class.h#L40
Update: The problem seems to be with default parameters but still no real solution.
It will only works when upgrading from previously working 3.4.5 firmware.
A clean install (by installing Rover/Plane then install Copter) will lead to symptoms above.
Resetting to default parameters also lead to the same result.
It is interesting that it is not setting it properly in 3.5 but it seems to be ok for your code in 3.4. It appears that this parameter was available in 3.4. Sorry that I’m not much help. Just thought I’d point that out.
This also happened to me once with 3.4 code but as far as I know, only SCHED_LOOP_RATE is affected.
I managed to change the parameter back to 400 after waiting for an hour and it’s back to normal speed.
More likely compiler issue.
However, something else is broken in the heli_dual code that all servo outputs are over-responsive.
I need to lower CYC_MAX from 1800 to 500, old PIDs become unflyable.