Drone Programming Primer, Ardupilot Installation Part I

Following the Ardupilot Installation Part I, my screen did not react the same as the tutorials screen. Upon entering
“git submodule update --init --recursive”
there was only a slight pause before getting a new command line, as opposed to the tutorial screen, which had a bunch of stuff happen before the new command line, and was supposed to take a few minutes.

Has the procedure changed, or did I do it wrong? After that, I have had trouble, specifically when the Python script comes up in the same tutorial, and the new path for the “apm” is entered. I notice there are large chunks of the tutorial code that I don’t have, both above and below. Are these differences related?

Please advise. Thank you.

I have erased the Virtual Machine entirely, gone through the steps again (still missing win32 api binding) and am now close to the end of the same tutorial.

Upon entering the Python script to change the paths (sudo vi ~/.bashrc), I notice again that your script is different than mine. My script has 117 lines and is missing all three “export” lines (apm=, courseRoot= and PATH==). I am also missing the final line “–INSERT–”.

At this point there is a jump in the video, and all of a sudden there are 174 lines in the tutorial. I can’t see the whole script on the tutorial, but I can tell there are a lot of lines missing.

Can anyone please explain to me what happens during the cut? Up to this point the only thing that hasn’t been the same was “git submodule update --init --recursive” didn’t seem to do anything but just went to the next command line.

Any help clearing this up would be much appreciated.

Thanks.

Near the beginning of the video [https://dojofordrones.com/topic/ardupilot-installation-part-1/] at 1:00 Caleb states there have been issues using “git submodule update --init --recursive” and suggests using "git clone -b Copter-4.5.7 --recursive https: //github.com/ardupilot/ardupilot " instead. (Yet later at 2:00 he does use the old command.)

I tried running the ‘old method’ myself and did not have any issues with the install. But like he mentions elsewhere, there might be differences in user experiences depending on their own system configuration. I was able to continue to successfully install the code without any issue.

I am unable to see where there is a jump in the video or missing lines. Perhaps if you direct me to the link and time I can take a look.

Let me know if you are not able to complete the install or have any other questions.

Jack

Additional references:

https://community.dojofordrones.com/t/git-submodule-update-init-recursive/1003

https://community.dojofordrones.com/t/failed-for-submodule-update-init-recursive/947

Thanks so much for getting back.

The cut happens at 3:47 in the video Ardupilot Installation Part 1. The line count in the bottom right goes from 119 to 174. After that there is a bunch of extra code.

Thanks for clearing up the rest of it. Much appreciated.

No need to worry about that. Make sure the last lines look like:

Note: I used ‘drone’ as my drone folder in-lieu of course root.

Some of these just provide shortcuts for getting around and aren’t even required to run the drone code.

Thank you.