Daniel Agar
d3a1225c98
Tools: Ubuntu setup remove "set -e" to prevent grep early exit
...
- the gcc version grep was causing the script to exit early
2020-08-15 23:40:20 +02:00
Daniel Agar
fe06eaf8d9
Tools: Ubuntu setup update arm-none-eabi-gcc to 9-2020-q2-update
2020-08-15 23:40:20 +02:00
Matthias Grob
aad7e88af2
setup scripts: install dmidecode before using it
...
On normal desktop distributions dmidecode is preinstalled
and I was assuming it's part of the core tools. Thanks to a hint
https://github.com/PX4/Firmware/pull/15241#issuecomment-659395458
I found out it's not and am installing the package before using it.
2020-07-21 10:22:52 -04:00
Julian Oes
9723b26d72
workflows: OSX.sh is now called macos.sh
2020-07-17 14:58:31 -04:00
Julian Oes
7c49afa716
setup: only install homebrew if not already there
2020-07-17 14:58:31 -04:00
Julian Oes
7667298c86
setup: move the OSX.sh script to macos.sh
...
It's called macOS for a while now, and no longer OSX.
2020-07-17 14:58:31 -04:00
Julian Oes
6acf279085
setup: we no longer need Java 8
...
However, Java 11 or 14 depending on the Ubuntu version are just fine.
2020-07-17 14:58:31 -04:00
Julian Oes
000c0c5905
setup: mark Ubuntu 16.04 as unsupported
...
Ubuntu was already unsupported, now that 20.04 is out, however, the
change was not reflected yet in this script.
2020-07-17 14:58:31 -04:00
Julian Oes
cece343cf7
setup: Java 14 is fine now
2020-07-17 14:58:31 -04:00
Julian Oes
aed114465e
setup: clean up macOS setup script
...
- Spaces -> tabs.
- Remove "brew install python" because it's already a dependency of the
px4-dev tap.
- Remove "brew install ccache" as we can also add it to the px4-dev tap.
- Don't try to update pip installation, it works fine as is.
- Install pip dependencies as user, no need for system-wide install.
2020-07-17 14:58:31 -04:00
Matthias Grob
547bd4c667
ubuntu.sh: add fix for gazebo's OpenGL problem in VMs
...
That makes gazebo crash in VMWare 3D graphics accelration.
2020-06-29 19:21:56 -04:00
Matthias Grob
9fed9f534e
ubuntu.sh: style, 20.04 comment and message wording
2020-06-29 19:21:56 -04:00
Matthias Grob
c9b82ad184
ubuntu.sh: source .profile before checking for ARM GCC
...
to avoid downloading and installing ARM GCC again if the script is
reran immediately after e.g. because it failed the first time.
2020-06-29 19:21:56 -04:00
Matthias Grob
c8d7027546
ubuntu.sh: don't upgrade pip outside of system package manager
...
This can lead to inconsistency with the installed package.
E.g. also if the package is remove the upgraded pip stays
but the symbolic links are gone.
2020-06-29 19:21:56 -04:00
Matthias Grob
47de2419a3
setup: don't require exact matplotlib version
...
Because this older version fails to install on Ubuntu 20.04
and makes the entire setup script fail.
2020-06-29 19:21:56 -04:00
Daniel Agar
e6f6d39198
Tools/setup: ubuntu updates to sync with px4io/px4-dev-base container
2020-06-23 12:53:34 -04:00
Daniel Agar
033c5d0110
Github Actions add MacOS build and fix Tools/setup/OSX.sh
...
- Tools/setup/OSX.sh wasn't installing px4-dev on fresh run
2020-06-22 15:23:29 -04:00
Jonathan Hahn
e6bec31890
add GNU screen to NUTTX dependencies in ubuntu setup
2020-06-15 10:16:08 +02:00
David Jablonski
e409ec0038
install bc for all simulations
2020-05-20 09:04:41 +02:00
Beat Küng
982d2a3180
ubuntu.sh: minor simplifications
2020-05-20 08:57:37 +02:00
Julian Oes
d4de0e1219
Tools: fix ubuntu setup script
...
This fixes the error:
line 149: [: missing `]'
2020-05-18 11:53:26 +02:00
Hamish Willee
8804dae480
Ubuntu.sh - report Ubuntu 20.04 in setup
2020-05-12 13:13:36 +02:00
Hamish Willee
0a4e7142ee
ubuntu setup script: add gstreamer1.0-libav
...
This was needed in order to display video in QGC
2020-05-01 10:35:10 -04:00
Hamish Willee
95779ea670
ubuntu.sh: No automatic removal of modemmanager
2020-04-21 09:34:05 +02:00
Matthias Grob
0a7cde4819
arch.sh: use binary repository for gazebo
...
This makes installation a lot faster and less error prone.
2020-04-08 16:33:49 +02:00
Julian Oes
e34b452bab
setup: only run usermod if $USER is available
...
This always triggered an error when using in docker as root.
2020-04-03 10:10:02 -04:00
TSC21
975227c52a
Tools: setup: add 'packaging' to the requirements list
2020-03-24 13:31:41 +00:00
斯东Stone
032b9909fa
Fix a typo in Ubuntu setup script
2020-03-08 11:56:33 +01:00
Julian Oes
a8c3944485
setup: select Java 8 after installation
2020-01-30 22:45:29 -05:00
Julian Oes
98f0ba33d2
setup: prevent prompt during install
...
This should prevent debconf from asking questions during install.
Presumably, the exported env variable DEBIAN_FRONTEND is not taken into
account in a sudo command, hence we need to add it every time.
2020-01-18 11:10:55 +01:00
Julian Oes
09c3fc3e71
setup: add pyros-genmsg, sort list
2020-01-18 11:10:55 +01:00
Julian Oes
ca7327056c
setup: prevent debconf asking about tzdata
2020-01-18 11:10:55 +01:00
Julian Oes
83ccc4e61e
setup: fix script fail if check fails
2020-01-18 11:10:55 +01:00
Julian Oes
7a0ba7f0ca
setup: remove duplicate
2020-01-18 11:10:55 +01:00
Julian Oes
26d4169b7c
setup: remove unused dependencies
2020-01-18 11:10:55 +01:00
Julian Oes
8353d609cb
setup: don't forget to install wheel
2020-01-18 11:10:55 +01:00
Julian Oes
d764cfcb6d
setup: remove unusual Python dependencies
...
As far as I know these dependencies are only ever required when doing
analysis in ECL. At that point developers should be confident to add
what is required.
2020-01-18 11:10:55 +01:00
Julian Oes
fcbf2e8f9e
setup: remove Python 2 requirements for Ubuntu
2020-01-18 11:10:55 +01:00
Julian Oes
ac6d7e6730
setup: another try to install pip dependencies
2020-01-18 11:10:55 +01:00
Julian Oes
8112a5c417
setup: fix call to pip/pip3
...
This should prevent the error:
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
from pip import main
ImportError: cannot import name 'main'
As described in:
https://github.com/pypa/pip/issues/5447#issuecomment-407693701
2020-01-18 11:10:55 +01:00
Julian Oes
bac4854424
setup: stop on error
2020-01-18 11:10:55 +01:00
Julian Oes
126b7a5642
setup: we need a newer pip
2020-01-18 11:10:55 +01:00
Julian Oes
bf62b0f5e6
setup: use pip as user, don't forget python3-dev
...
In my opinion we should not mess with someones system Python
dependencies.
2020-01-18 11:10:55 +01:00
Daniel Agar
30a73416dc
mavsdk SITL testing code coverage and upload to codecov.io
2019-12-26 14:31:33 -05:00
Christian Clauss
6dc55f97d4
More fixes for Python 3 compatibility ( #13008 )
...
* More fixes for Python 3 compatibility
* Workaround if the six module is not pip installed
* Lose the semicolons
2019-12-19 02:05:55 -08:00
Matthias Grob
f317d227ef
arch.sh: get rid of ignition-cmake workaround
...
The AUR repository got fixed upstream after
I reported the issue. I tested on a fresh machine
so we can get rid of the workaround that was necessary. See
https://aur.archlinux.org/packages/ignition-cmake/#comment-712301
2019-10-24 08:50:18 +02:00
Matthias Grob
cefa7ec5dc
arch.sh: use nproc instead of grepping /proc/cpuinfo
2019-10-17 12:48:04 -04:00
Matthias Grob
7e2fb6b4da
arch.sh: switch permissions of pip install (again)
...
after testing the right solution on a fresh installation
2019-10-14 10:54:09 -04:00
Matthias Grob
c09ea2a9b0
arch.sh: don't execute pip as root
...
otherwise packages get installed in
/root/.local/lib/python3.7/site-packages
2019-10-12 08:38:39 +02:00
Matthias Grob
50c5150471
arch.sh: work around gazebo AUR build error and correct comments
2019-10-12 08:38:39 +02:00
Matthias Grob
bba464d722
arch.sh: enable multicore gazebo compilation
2019-10-12 08:38:39 +02:00
Matthias Grob
7dd1be65ca
arch.sh: add gazebo installation
2019-10-12 08:38:39 +02:00
Matthias Grob
7f63ed8202
Arch setup script ( #13111 )
...
* ubuntu.sh: fix space and capitalization
* Add setup script for Arch Linux
* arch.sh: remove numerous confirmations, added some base packages
* setup scripts: adjust messages according to review
2019-10-10 08:59:11 +02:00
Matthias Grob
05446c0875
ubuntu.sh: correct output during ccache installation ( #13106 )
2019-10-07 09:14:00 +02:00
Daniel Agar
26364d44c9
px4_work_queue: command line status output and shutdown empty queues
...
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items
* WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
2019-10-02 12:23:17 -04:00
Hamish Willee
0c0b261ff2
ubuntu.sh - remove modemmanager
2019-09-17 00:38:14 -04:00
Hamish Willee
fd10220a34
Ubuntu.sh: check for requirements.txt
2019-09-11 09:15:44 -04:00
Hamish Willee
eb81f4bce2
ubuntu.sh: Add note to reboot computer
2019-09-06 08:02:02 +02:00
Hamish Willee
0b049fa4d7
Add updated ccache for Ubuntu 16.04 dev scripts
2019-09-06 08:02:02 +02:00
Hamish Willee
a77fc9aca9
Add docker gazebo dependencies
2019-09-01 20:18:52 -04:00
Hamish Willee
ceaf134092
Change java to openjdk like docker
2019-09-01 20:18:52 -04:00
Hamish Willee
33ae0bb705
ubuntu.py: update to dual install to Python2
2019-09-01 20:18:52 -04:00
Daniel Agar
4b3f68f90c
cmake and Tools/setup.sh default to python3
2019-05-29 20:48:22 -04:00
Daniel Agar
6d30b13afa
update Tools/setup/ dev environment setup scripts
...
- Ubuntu install NuttX toolchain, gazebo, and switch to python3
- OSX switch to python3
2019-04-12 10:43:21 -04:00
Matthias Grob
bee1835831
Tools: fix style consistency in shell scripts "if [...]; then"
2019-02-24 11:20:38 -05:00
JohannesBrand
b01e470ff9
refactor ecl ekf analysis ( #11412 )
...
* refactor ekf analysis part 1: move plotting to functions
* add plot_check_flags plot function
* put plots in seperate file
* use object-oriented programming for plotting
* move functions for post processing and pdf report creation to new files
* add in_air_detector and description as a csv file
* refactor metrics and checks into separate functions
* refactor metrics into seperate file, seperate plotting
* ecl-ekf tools: re-structure folder and move results table generation
* ecl-ekf-tool: fix imports and test_results_table
* ecl-ekf tools: bugfix output observer tracking error plot
* ecl-ekf-tools: update batch processing to new api, fix exception handling
* ecl-ekf-tools: use correct in_air_detector
* ecl-ekf-tools: rename csv file containing the bare test results table
* ecl-tools: refactor for improving readability
* ecl-ekf tools: small plotting bugfixes
* ecl-ekf tools: small bugfixes in_air time, on_ground_trans, filenames
* ecl-ekf-tools: fix amber metric bug
* ecl-ekf-tools: remove custom function in inairdetector
* ecl-ekf-tools: remove import of pandas
* ecl-ekf-tools: add python interpreter to the script start
* ecl-ekf-tools pdf_report: fix python interpreter line
* px4-dev-ros-kinetic: update container tag to 2019-02-13
* ecl-ekf-tools python interpreter line: call python3 bin directly
* ecl-ekf-tools: change airtime from namedtuple to class for python 3.5
* ecl-ekf-tools: update docker image px4-dev-ros-kinetic
* ecl-ekf-tools: fix memory leak by correctly closing matplotlib figures
2019-02-18 16:52:02 +01:00
TSC21
02454e5ffc
update OSX install script to fit arg options to reinstall formulas and install install sim tools
2018-12-02 10:32:40 +01:00
TSC21
3e90c37d05
add nose and tornado to fit the requirements of matplotlib
2018-12-02 10:32:40 +01:00
Daniel Agar
8b76a87f98
OSX setup helper install pip python dependencies with sudo
2018-09-12 10:06:41 -04:00
Daniel Agar
16a23c5527
ubuntu env setup script install python deps system wide in docker
2018-09-11 15:24:55 -04:00
Daniel Agar
c7ff4a87a3
ubuntu env setup script add file utility
...
- needed for cmake packaging
2018-09-11 15:24:55 -04:00
Daniel Agar
33e68b3331
update ubuntu.sh setup script and python requirements.txt
2018-09-10 13:50:18 -04:00
Daniel Agar
a4a0ccf7f7
initial dev env setup scripts for Ubuntu and OSX ( #8818 )
2018-05-24 15:57:43 -04:00