Home        Store        Docs        Blog

How to use ArduSub stable version with SITL simulator


(ShehabAldeen Housein) #1

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


(Jacob) #2
cd ardupilot
git fetch --tags
git checkout ArduSub-stable
git submodule update --init --recursive

(ShehabAldeen Housein) #3

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

(Patrick José Pereira) #4

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


(ShehabAldeen Housein) #5

Thank you for your help