I’m building an underwater drone that steers like a plane.
So therefore I’m trying to make a firmware build, combining the safety features of the SUB, with the steering of the plane, firmware.
So my problem is, that when building the standard firmware for a SUB, with waf, from ardupilot GIT repository, and flash it to the navigator board, then I lose the heartbeat.
What is the name for the BlueRobotic navigator bord, when building firmware with waf?
Sounds like an interesting project
I suppose it’s somewhat related to our broader goal of advanced control options for ArduSub - I’m interested to know how you go!
I have the result from the terminal but I cant upload it, as I’m new to the forum
Where did I go wrong?
In the end I need firmware for a vehicle that acts like an underwater plane, with the sub failsafes. would it then be easier to implement failsafes from a sub on a plane or the other way around?
Is there a main build file with what to include, in the respective vehicle firmware?
I’ve just gone to the link @williangalvani provided. The big general “download” button doesn’t seem to be working, but it worked fine for me to scroll down to the individual links and download the relevant one. In this case you’re after
Then I went back to the " Setting up the Build Environment" page and tried to follow it again with gcc-arm-none-eabi-6-2017-q2-update-linux from ArduPilot firmware : /Tools/STM32-tools (because it was the closest version from 2019 which you advised me. I put it in /opt and unziped it with :
$ sudo tar -xjvf gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
I modified my .bashrc and added the line export PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update-linux/bin at the end of it.
Did you UnZip it in windows or thru WLS?
That might cause a problem.
Also I cant remember but I thin I ended up putting it in the ardupilot/opt
for it to work.
Yes this was my mistake and this morning I decided to start from scratch.
So I’ve redownloaded ubuntu, cloned the repo, launched the “install-prereqs-ubuntu.sh” and at this point I deleted the folder “gcc-arm-none-eabi-10-2020-q4-major-aarch64-linux” that was in /opt and I copied the file “gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz”. I did the
tar -xJf gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf.tar.xz -C /opt
thing and then I did
echo export ‘PATH=/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin:$PATH’
Finaly I was able to configure my board as navigator and lanch sub (adding the wonderfull --toolchain=… and this time everything seems okay.
I am having the same problem. I am downloading the file
Added the /opt to ardupilot. unzipped with tar and it created the right folders.
I looked for the file arm-none-linux-gnueabihf from this command: ./waf configure --board=Navigator --toolchain=/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf
There is a folder called /opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin/ with files inside it but arm-none-linux-gnueabihf is not one of them.
Its located in opt/bin
I tried to run ./waf configure --board=Navigator --toolchain=/opt/bin/arm-none-linux-gnueabihf but that still doesn’t work.
I tried to add echo export ‘PATH=/opt/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin:$PATH’ but it doesn’t do anything.