Ok, so I got a second PC and installed Ubuntu 17.04 on it for this purpose (is 17.04 ok?). I'm a beginner at Ubuntu, so please help. Note, this is for using a Pixhawk; I want to be able to make my own firmware for an 8 vert prop, 2 horiz prop UAV.
I started up the Terminal and started with stepping through the steps here: https://dev.px4.io/en/setup/dev_env_linux.html
by copying and pasting in each step, but am having some problems in some steps below. Can you please tell me what to change below (maybe correct the command line naming/wording on these command lines that didn't work, or tell me what must be done prior to them?) to get what I need so this will work and enable me to do a build?
Here is each line I wrote followed by ... and my notes on what happened:
1. sudo usermod -a -G dialout $USER ...this showed no messages, I have no idea if it worked.
sudo add-apt-repository ppa:george-edison55/cmake-3.x -y ....this appeared to work
sudo apt-get update ...seemed to work except it "failed to find the "Packages" file on launchpad.net, and some index files did not download
sudo apt-get install python-argparse git-core wget zip \
python-empy qtcreator cmake build-essential genromfs -y ...started ok but it
selected 'libpython2.7-stdlib' instead of 'python-argparse'. It also was unable to
locate package 'python-empy'. I didn't notice this and proceeded to the next
sudo apt-get install ant protobuf-compiler libeigen3-dev libopencv-dev openjdk-8-jdk openjdk-8-jre clang-3.5 lldb-3.5 -y ...this failed to fine packages 'clang-3.5' and 'lidb-3.5', so on a hunch I retyped it but used 'clang-4.0' and 'lidb-4.0' and that seemed to work fine.
sudo apt-get install python-pip ...seemed to work fine
sudo -H pip install pandas jinja2 ...seemed to work fine
I then proceeded with the NuttX based hardware instructions since this is for a Pixhawk.
sudo apt-get remove modemmanager ..seemed to work fine.
sudo apt-get install python-serial openocd \
flex bison libncurses5-dev autoconf texinfo build-essential \
libftdi-dev libtool zlib1g-dev \
python-empy -y ....it read the package list, but failed to find the packages 'flex', 'libftdi-dev', and 'python-empy' ... it seemed to work fine I guess (lots of lines in there)
sudo apt-get remove gcc-arm-none-eabi gdb-arm-none-eabi binutils-arm-none-eabi gcc-arm-embedded ...failed to locate package 'gcc.arm-embedded'
sudo add-apt-repository --remove ppa:team-gcc-arm-embedded/ppa ... gave me a lecture about PPA being an alternative to toolchain, steps to install toolchain from this PPA, and some notes about questions and bugs.