No SPORT mode in SITL | ArduCopterv4.5.0-dev

I use SITL with Gazebo simulation for ArduCopterv4.5.0-dev - everything works except sport mode
No such mode:13
Screenshot from 2023-06-02 20-55-02
How I can fix it?

I think sport mode is compiled out by default. If you want it back, you’ll have to modify ardupilot/APM_Config.h

and add the following line:

#define MODE_SPORT_ENABLED ENABLED

1 Like

Thank you, this helped me!
It’s strange that the sport mod was removed by default

Not strange at all - hardly anyone used it, and a few even showed some disdain for it, so the flash space was decided to be more valuable than its inclusion by default.