Servers by jDrones

Need to use 4.09 plane firmware in SITL

Hello friends,

Does anyone know how to use the plane firmware 4.09 in SITL?

Whenever I try to load my parameters using the current SITL firmware, I notice that some of my parameters that are normally present when using the hardware (pixhawk 2.4.8) are missing in SITL and that some other parameters are present when they should not be there. This has led me to believe that SITL is not using the latest stable plane firmware version for whatever reason…

Thanks,

Shef

You will need to select the correct SITL (4.0.9) to get 4.0.9.

Or you can do it like I do it, compile it yourself, after checking out the correct git label. Works like a charm :slight_smile:

If you’re using SITL though Mission Planner, I would suggest updating to the latest beta version. There is a new option to skip downloading the master build from firmware.ardupilot.org (specifically here). Now getting the elf file of the vehicle and version that you want to use and placing it in the correct directory is an extra step. Getting the correct elf file to use with Mission Planner means that you need to install and compile it yourself. Which at that point I recommend using WSL for SITL.

Hello again Lucas!

Select SITL 4.09? I can’t see an option for that in mission planner…currently I’m trying tunalobster’s suggestion for downloading the beta updates for mission planner however I keep getting “update failed The request was aborted: The request was canceled” after it makes some progress then gets stuck…

How do you checkout the correct git label? Could you walk me through it?

Thanks,

Shef

Hello again Charlie!

I took you up on your suggestion to update mission planner (i am using mission planner btw) to the beta version however as I said in the above post, I keep getting “update failed The request was aborted: The request was canceled” after it makes some progress then gets stuck.

Is that normal?

Is this elf file thing an alternative method or is this something you have to do in conjunction with using the beta version of mission planner?

Thanks,

Shef

You’ll have to leave skip download unchecked the first time to have a cygwin elf file to run.

Currently there is not a cache of previous versions of the cygwin builds that Mission Planner needs to run. It’s been a requested feature, but it’s not a high priority since there are other parts that a GCS needs to do.

If you can run WSL I would suggest that route. Other wise you’ll need to work out how to build the Mission Planner elf file in cygwing. Setting up the WSL to SITL route starts here, then here, and finally here. That documentation should get you up and running whatever version of ArduPilot you want.

Wow, I’m just…a tad confused…

Well, i can’t seem to update mission planner with any beta features, i think because my internet download speed is so pitiful at the moment. So I’ll be needing to do this “git checkout” thing everyone seems to know, could you explain to me how to do it? If you could be specific too, I’m still quite new to mission planner and ardupilot in general.

Much appreaciated,

Shef

The basics of git that you need to know to work with the code are here in documentation. There is a ton more information in the docs that might help you. Learning the lingo for git might be a little difficult. If you have questions about the code you can ask in the Discord server or on the forums.

https://ardupilot.org/dev/docs/where-to-get-the-code.html

Thanks Tuna I’ll check it out.

Shef

Servers by jDrones