When I tested Autotune for several copter frames, I noticed that y6 and hexa frames fail to do Autotune. It keeps showing “AutoTune: failing to level, please tune manually” error for more than 40 minites.
Yes, it really is an issue of the tune for the simulated vehicles. You should be able to get it working by modifying these parameters
ATC_RAT_PIT_P, I, D
ATC_RAT_RLL_P, I, D
I suspect the vehicle gains are too high so you could try reduing these parameters by 10%, 20%, etc until it starts working. I can’t be sure but I suspect this is the issue.
Coincidentally we had another PR that fixed a bug in our SITL model so I had to go through and re-test all the models. This PR will likely be merged later today and I think it will resolve the issue you’re seeing. https://github.com/ArduPilot/ardupilot/pull/17695