How to use ArduSub stable version with SITL simulator

Hello,

I have installed the SITL using the following instructions and found that when cloning into the following repository I am getting the latest ArduSub version which is ArduSub 3.6

and due to that 3.6 version in the development stage, I can not control it with MAVROS

I want to use the stable version of the ArduSub with the SITL which is the version 3.5 how that could be done if it is possible

cd ardupilot
git fetch --tags
git checkout ArduSub-stable
git submodule update --init --recursive

I got the following error trying to run :

sim_vehicle.py -L RATBeach --out=udp:0.0.0.0:14550 --map --console

    SIM_VEHICLE: Start
    SIM_VEHICLE: Killing tasks
    Failed to find location (RATBeach)
    SIM_VEHICLE: Killing tasks

Hi,

RATBeach was added in the last versions, you can run SITL without the -L RATBeach parameter. If you want, it’s possible to use -l CUSTOM_LOCATION or --custom-location=CUSTOM_LOCATION

Thank you for your help