Commit Graph

1740 Commits

Author SHA1 Message Date
PX4 BuildBot 064511c2df Update submodule flightgear_bridge to latest Fri Jan 8 00:39:45 UTC 2021
- flightgear_bridge in PX4/Firmware (168468c12a): 44b51d5b1c
    - flightgear_bridge current upstream: 7c2c623da9
    - Changes: 44b51d5b1c...7c2c623da9

    7c2c623 2021-01-06 slimonslimon - Switch Ign-math to Eigen3 (#5)
2021-01-07 21:21:02 -05:00
Daniel Agar b94e346488
Update submodule sitl_gazebo to latest Tue Jan 5 12:40:40 UTC 2021 (#16493)
- sitl_gazebo in PX4/Firmware (850d0bc588): 054e0a1be6
    - sitl_gazebo current upstream: 44de4acc3f
    - Changes: 054e0a1be6...44de4acc3f

    44de4ac 2021-01-02 Lorenz Meier - Update README.md

Co-authored-by: PX4 BuildBot <bot@px4.io>
2021-01-05 19:34:11 +01:00
PX4 BuildBot a1b81df445 Update submodule sitl_gazebo to latest Fri Jan 1 12:39:16 UTC 2021
- sitl_gazebo in PX4/Firmware (a444d2610a): ca6c738fff
    - sitl_gazebo current upstream: 054e0a1be6
    - Changes: ca6c738fff...054e0a1be6

    054e0a1 2021-01-01 pjdewitte - Jinja generation: add protection against accidental overwriting (#682)
869225e 2020-12-31 JaeyoungLim - Fix lightsource for high fidelity worlds (#680)
2021-01-01 21:57:05 +01:00
Lorenz Meier 00e6d11dfa PX Uploader: Disable windowed mode
The windowed mode has been added for Windows targets originally. It gets very often incorrectly detected and slows down flashing considerably. This even applies to serial links. We are disabling it now in most circumstances.
2021-01-01 14:26:36 +01:00
Lorenz Meier 3d809134f5 Updating SITL gazebo (Mac OS fixes) 2020-12-28 20:41:48 +01:00
Ramón Hernán Roche Quintana 5c93403db7 Tools: Python >3.7 requires the wheel packge
currently installing pymavlink witouth the wheel package results in an
error when using Python 3.7 or later

https://github.com/ArduPilot/pymavlink/issues/486
2020-12-23 23:56:05 -05:00
PX4 BuildBot ec79361548 Update submodule sitl_gazebo to latest Mon Dec 21 00:39:43 UTC 2020
- sitl_gazebo in PX4/Firmware (5868463d06): 563f0876a5
    - sitl_gazebo current upstream: 4043287bbe
    - Changes: 563f0876a5...4043287bbe

    4043287 2020-12-20 Silvan Fuhrer - tiltrotor: increase wing area to 0.5 per side (#678)
f004811 2020-12-20 JaeyoungLim - Update mavsdk version for SITL tests (#673)
2020-12-20 21:23:34 -05:00
PX4 BuildBot 2a187a76d6 Update submodule sitl_gazebo to latest Thu Dec 17 23:05:03 UTC 2020
- sitl_gazebo in PX4/Firmware (90f61c2f9a): 19981d61cf
    - sitl_gazebo current upstream: 563f0876a5
    - Changes: 19981d61cf...563f0876a5

    563f087 2020-12-17 JaeyoungLim - Fix tiltrotor model (#675)
0e2d63a 2020-12-17 JaeyoungLim - Fix wind transmormations for motor model (#674)
e5d0d65 2020-12-13 JaeyoungLim - Update container versions for tests (#672)
bccb487 2020-12-12 BazookaJoe1900 - mavlink_interface: rename serial link related function to include 'serial' (#670)
2020-12-17 18:45:08 -05:00
Daniel Agar cf010f44d0
Update submodule sitl_gazebo to latest Wed Dec 9 00:39:59 UTC 2020 (#16354)
- sitl_gazebo in PX4/Firmware (cd1ffa63cd): e01ba8f78c
    - sitl_gazebo current upstream: 19981d61cf
    - Changes: e01ba8f78c...19981d61cf

    19981d6 2020-12-08 Flavio Tonelli - Fix plugin misspelling (#665)

Co-authored-by: PX4 BuildBot <bot@px4.io>
2020-12-09 08:43:45 +01:00
JaeyoungLim e8cefcafbc
Fix gazebo_sitl_multiple_run.sh scripting (#16340)
This commit fixes the problem when using scripting options. This regression was introduced by #15463
2020-12-07 06:17:15 +01:00
PX4 BuildBot 3783ab4a6a Update submodule sitl_gazebo to latest Fri Dec 4 00:39:14 UTC 2020
- sitl_gazebo in PX4/Firmware (25c113a527): cd8ba25c81
    - sitl_gazebo current upstream: e01ba8f78c
    - Changes: cd8ba25c81...e01ba8f78c

    e01ba8f 2020-12-03 JaeyoungLim - Add macos build tests for Bigsur (#663)
a6698f5 2020-11-19 Daniel Agar - update gitignore (#658)
2020-12-03 23:50:40 -05:00
JaeyoungLim c5486ca47e
sitl: fix sitl_run to run on macOS (#16287)
This commit removes the readarray command from the Tools/sitl_run.sh.
This fixes the issue where SITL was not able to run due to readarray not being available on macOS
2020-11-27 10:49:22 +01:00
Daniel Agar 71306f7f83 update all container tags to 2020-11-18 2020-11-19 13:37:57 -05:00
jaeyoung fb3b1f8bd9 Update sitl_gazebo submodule 2020-11-19 10:03:59 -05:00
JaeyoungLim 5e693180d9
Fix bash error when running SITL Gazebo (#16221) 2020-11-18 04:23:19 +01:00
Sander Swart 387659d615
Added support for models located in all paths defined in GAZEBO_MODEL_PATH (#16214)
Co-authored-by: Sander Swart <sander.swart@live.nl>
2020-11-17 16:12:31 +01:00
bbworld1 5e6f8a9606
Add typhoon h480 support to gazebo multiple sim (#16210)
* Add typhoon h480 support to gazebo multiple sim

This commit adds support for the typhoon_h480 model for the
gazebo_sitl_multiple_run.sh script.

* Update sitl_gazebo to latest version
2020-11-17 04:20:45 +01:00
Daniel Agar 22fbcf98cf
Tools/setup: requirements.txt add pymavlink
- needed for Tools/mavlink_shell.py
2020-11-16 12:14:41 -05:00
PX4 BuildBot 37567bbee0 Update submodule sitl_gazebo to latest Mon Nov 16 00:38:40 UTC 2020
- sitl_gazebo in PX4/Firmware (eb3135e79c): 27e06e2a49
    - sitl_gazebo current upstream: 0a4d0708e8
    - Changes: 27e06e2a49...0a4d0708e8

    0a4d070 2020-11-13 BazookaJoe1900 - clean build warning due to wrong string size
2020-11-15 21:32:51 -05:00
PX4 BuildBot 683fcdc910 Update submodule sitl_gazebo to latest Fri Nov 13 20:14:29 UTC 2020
- sitl_gazebo in PX4/Firmware (40bf460717): ee7661eeab
    - sitl_gazebo current upstream: 27e06e2a49
    - Changes: ee7661eeab...27e06e2a49

    27e06e2 2020-11-12 JaeyoungLim - Add catkin build test (#652)
6f6f420 2020-11-12 JaeyoungLim - Replace water level to ocean model (#649)
2020-11-13 19:00:32 -05:00
Daniel Agar dd3c1a3653 Tools/HIL: relax command retry for now 2020-11-13 18:03:09 -05:00
Jaeyoung-Lim 40bf460717 Update jsbsim bridge to latest
This commit updates the jsbsim bridge to the latest
2020-11-13 12:45:21 -05:00
Daniel Agar 3cf072debc HIL tests remove deleted smoothz test 2020-11-11 20:22:06 -05:00
Daniel Agar 3924792c20
Jenkins: HIL improve run_tests.py and run_nsh_cmd.py helper
- switch to python3
 - run_nsh_cmd.py return error if command fails
 - decrease timeout in checking for output
 - Jenkins hardware tests tolerate certain command failures that aren't available on all boards (flash constrained, etc)
2020-11-10 22:45:50 -05:00
PX4 BuildBot f4964aea52 Update submodule sitl_gazebo to latest Tue Nov 10 19:18:06 UTC 2020
- sitl_gazebo in PX4/Firmware (79ad5eab34b76fbe54c2056974230a122362a62f): 487f6283f4
    - sitl_gazebo current upstream: ee7661eeab
    - Changes: 487f6283f4...ee7661eeab

    ee7661e 2020-11-06 Julian Oes - cmake: don't link to protobuf
2020-11-10 18:54:08 -05:00
Daniel Agar b491929ad6
Jenkins: HIL tests only finish on PASSED, FAILED, or timeout 2020-11-10 16:41:13 -05:00
SalimTerryLi 6728a3a05a
boards: rename AirPi2 to PilotPi, add arm64 support, add to CI
* rename all
* add arm64 support
* change internal ist8310 onto I2C-1
2020-11-10 11:04:47 -05:00
Hamish Willee ffa38f1b4f module markdownout - explicit anchor not heading 2020-11-05 08:56:31 +01:00
Hamish Willee 425b8a1733 markdownout - change Firmware to PX4-Autopilot 2020-11-04 08:31:28 +01:00
Daniel Agar ea2fced6ad
Tools/check_submodules.sh: always update if within vscode cmake configure
- the interactive portion of check_git_submodule with hang waiting for user input
2020-11-03 23:40:12 -05:00
JaeyoungLim 9e5cf3a598
Enable multiple rover simulations (#15904)
This commit allows running multiple simulations with rovers
2020-11-03 14:55:32 +01:00
Lorenz Meier a39bead740 Update SITL (compile fix)
This fixes the linker command for protobuf libraries for plugins.
;
2020-11-02 18:39:31 -05:00
Martin Povišer d2145917e7 setup: add Nix derivation with build environment 2020-11-02 13:52:42 -05:00
PX4 BuildBot 4df3931bd1 Update submodule sitl_gazebo to latest Thu Oct 29 20:40:02 EDT 2020
- sitl_gazebo in PX4/Firmware (6b9dde59d6): 2451437c19
    - sitl_gazebo current upstream: 06e801fe8b
    - Changes: 2451437c19...06e801fe8b

    06e801f 2020-10-29 Nuno Marques - add missing generated models to git ignore (#644)
eafc98b 2020-10-28 JaeyoungLim - Move boat model to jinja templates (#641)
2020-10-29 22:00:05 -04:00
Daniel Agar 0f411d6820
Multi-EKF support (ekf2)
- ekf2 can now run in multi-instance mode (currently up to 9 instances)
    - in multi mode all estimates are published to alternate topics (eg estimator_attitude instead of vehicle_attitude)
 - new ekf2 selector runs in multi-instance mode to monitor and compare all instances, selecting a primary (eg N x estimator_attitude => vehicle_attitude)
 - sensors module accel & gyro inconsistency checks are now relative to the mean of all instances, rather than the current primary (when active ekf2 selector is responsible for choosing primary accel & gyro)
 - existing consumers of estimator_status must check estimator_selector_status to select current primary instance status
 - ekf2 single instance mode is still fully supported and the default

Co-authored-by: Paul Riseborough <gncsolns@gmail.com>
2020-10-27 10:56:11 -04:00
PX4 BuildBot 53b5e2d863 Update submodule sitl_gazebo to latest Sun Oct 25 20:37:27 EDT 2020
- sitl_gazebo in PX4/Firmware (945c17bc3f): 4f03afc7de
    - sitl_gazebo current upstream: 2451437c19
    - Changes: 4f03afc7de...2451437c19

    2451437 2020-10-24 Igor Campos - fix #638 - geotagging plugin not working: subscribed to wrong topic
9f832e5 2020-10-09 JaeyoungLim - Add groundtruth plugin
dcae3ed 2020-09-29 JaeyoungLim - Switch tiltrotor to jinja templates
928169c 2020-09-28 JaeyoungLim - Move where the gps joint is being defined
60897b7 2020-08-24 JaeyoungLim - Fix tiltrotor model
9f82ad4 2020-10-22 JaeyoungLim - Move rover models to jinja templates (#629)
00d6f2f 2020-10-21 Thies Lennart Alff - Adding Model of BlueROV2 (heavy configuration) (#637)
b15784d 2020-10-19 Vojtech Spurny - gazebo_gps_plugin fix and enhancement (#635)
2020-10-25 23:54:33 -04:00
Lorenz Meier b14d0e4326 Update MAVLink shell default device for modern Mac OS
The enumeration changed from usbmodem1 to usbmodem01 and this tracks this OS-level naming change.
2020-10-21 12:11:31 -04:00
Tomasz Domański 887486d4fa
Tools/setup: Add apt-get update after adding gazebo list 2020-10-19 17:19:18 -04:00
PX4 BuildBot b4a22437ab Update submodule sitl_gazebo to latest Sun Oct 18 08:37:29 EDT 2020
- sitl_gazebo in PX4/Firmware (224be8ba24): b943edadde
    - sitl_gazebo current upstream: 4f03afc7de
    - Changes: b943edadde...4f03afc7de

    4f03afc 2020-10-16 Apurva Joshi - Update typhoon_h480.sdf (#636)
2020-10-18 11:44:54 -04:00
CUAVcaijie 70b67ddbff Add a USB ardupilot * type 2020-10-17 11:36:36 -04:00
Jaeyoung-Lim 3c20580533 Add support for malolo flying wing in JSBSim SITL
This commit adds SITL target for malolo flying wing and updates the jsbsim_bridge submodule to include the necessary changes.
2020-10-16 13:31:09 +02:00
David Sidrane b846ddffd8 Tools:Use . for (source) and ${R} for pathing 2020-10-15 17:11:08 -04:00
JaeyoungLim 34ced0c26c
Cleanup jsbsim run scripts (#15959)
* Cleanup startup scripts

This commit cleansup the run script for the jsbsim_bridge

* Update jsbsim_bridge submodule
2020-10-14 16:41:11 +02:00
Jacob Dahl 74c9ba8d55
fix px_uploader bytes and char comparison & remove python 2 support (#15859) 2020-10-13 09:30:37 +02:00
James Goppert 98c30dff44
Fixes for ROS based multi sim with jinja. (#15938) 2020-10-12 09:33:51 +02:00
Benjamin Perseghetti 8350fa702b
Tools/setup/ubuntu.sh: fix for Ubuntu 20.04 - use gazebo11 2020-10-11 17:05:32 -04:00
PX4 BuildBot 68dca4b158 Update submodule sitl_gazebo to latest Sat Oct 10 16:43:28 UTC 2020
- sitl_gazebo in PX4/Firmware (dfbaf6607a): c3b15b7c9b
    - sitl_gazebo current upstream: 6b9c8f15c2
    - Changes: c3b15b7c9b...6b9c8f15c2

    6b9c8f1 2020-10-10 Daniel Agar - mavlink interface round double sim time when converting to microseconds
b4cebfc 2020-10-09 JaeyoungLim - Support HIL configurations for generated models (#625)
b4d2d58 2020-10-09 Daniel Agar - mavlink interface poll until actuator received (#631)
2020-10-10 19:12:40 -04:00
JaeyoungLim 85e8c4801b
Add techpod SITL Gazebo target (#15919)
* Add techpod SITL target

This adds a SITL target forthe techpod fixedwing model

* Update sitl_gazebo submoudle

This submodule update includes the techpod UAV model
2020-10-09 16:20:01 +02:00
Daniel Agar eecf2e7a1e
sensors: allow up to 4 accels, gyros, and baros and add configurable rotations for accel & gyro 2020-10-08 19:01:44 -04:00
PX4 BuildBot 9940937636 Update submodule sitl_gazebo to latest Thu Oct 8 12:40:32 UTC 2020
- sitl_gazebo in PX4/Firmware (3f56cfe66e): 9f74919d4d
    - sitl_gazebo current upstream: e4e32117df
    - Changes: 9f74919d4d...e4e32117df

    e4e3211 2020-10-07 Daniel Agar - cmake: support ccache explicitly
97b90df 2020-10-07 Thies Lennart Alff - Add buoyancy in uuv_plugin (#627)
5e03a40 2020-10-07 JaeyoungLim - Deprecate xacro macros (#623)
30e3d6a 2020-10-07 JaeyoungLim - Only add accel/gyro turn on bias on startup (#626)
2020-10-08 09:39:06 -04:00
JaeyoungLim e0dc9900aa Fix mavros tests by updating sdf version of the iris model
This commit switches the sdf version of the iris model from 1.7 to 1.6 so that it can be run on ROS melodic, which the MAVROS tests were running in
2020-10-06 09:56:32 -04:00
jaeyoung c7072b61a3 Update jsbsim bridge to latest master
Update jsbsim bridge to latest master
2020-10-05 20:20:04 -04:00
jaeyoung b7c1f6a857 Update sitl_gazebo to latest master
Update sitl_gazebo to latest master
2020-10-05 20:18:59 -04:00
Daniel Agar 8ee0c62e57
examples: add Gyro FFT using CMSIS 5 on Cortex-m (#15104)
- this is a work in progress experiment to compute real time FFTs from raw gyro FIFO data on Cortex-m hardware (stm32f4/f7/h7, etc)
2020-10-02 11:47:27 -04:00
SalimTerryLi 25eca31e3a
New board Scumaker AirPi HAT for Raspberry Pi B series 2020-10-01 11:22:47 -04:00
JaeyoungLim ff6b82cb6b
Replace xacro macros to jinja templates for multivehicle (#15831)
This commit switches xacro macros to jinja templates for multivehicle simulations.
2020-09-29 15:45:57 +02:00
JaeyoungLim 9d3e159e65
Make mavsdk test runner handle generated sdf files (#15797)
Update sitl_gazebo
Fix indent errors
Fix syntax error
Fix indentation errors
Fix syntax errors
use autopep8
2020-09-29 15:44:58 +02:00
Daniel Agar faccb0d948
Jenkins: HIL script minor improvements
- periodically send newline while checking for output or command completion (back to nsh prompt)
 - mtd test
 - fix adc test (now board_adc)
2020-09-28 16:41:28 -04:00
JaeyoungLim c342ab91b3 Fix the world path being corrupting when spawning none-default world
This fixes a bug, where the world file path was being corrupted when using non-default world paths
2020-09-28 13:07:29 -04:00
JaeyoungLim f7356d0286 Update jsbsim_bridge to latest master 2020-09-28 13:05:20 -04:00
Daniel Agar c57a48682e
Tools: ecl analysis handle estimator_innovations/estimator_innovation_variances size inconsistencies 2020-09-25 10:35:01 -04:00
jaeyoung 1dbd7df83b Switch VERBOSE to VERBOSE_SIM
This changes the environment variable `VERBOSE` to `VERBOSE_SIM`, to explicitly state that it configures the verbose output of the simulation
2020-09-25 10:42:35 +02:00
Daniel Agar abbd335e4e uavcannode: use correct PYTHON_EXECUTABLE and support stm32h7
- sync CMakeLists.txt with drivers/uavcan
2020-09-18 13:03:07 -04:00
Daniel Agar d61fd0e4ca update all px4-dev-base and px4-dev-nuttx container usage uniformly 2020-09-18 13:03:07 -04:00
Beat Küng 5fdff6a0e4 i2c drivers: add '-k' flag for keep_running directly to BusCLIArguments 2020-09-18 09:45:06 -04:00
JaeyoungLim 458420f9cb
Add jsbsim bridge to enable jsbsim for px4 SITL on jsbsim (#15748)
* Add jsbsim bridge to enable jsbsim for px4 SITL/HIL on jsbsim

This is a PX4 HIL/SITL integration into JSBSim. JSBSim is an open source flight dynamics model (http://jsbsim.sourceforge.net/)

Currently there are three models available which is the rascal, quadrotor_x, hexarotor_x integrated into the bridge.

The simulation can be run with the firmware with the following command for example
```
make px4_sitl jsbsim_rascal
```

The visualization is done flightgear and is done by the bridge sending UDP packets to flightgear. To disable the visualization `HEADLESS=1` when running the make command.

The simulation can be configured through the configuration files under the `config` directory through a xml file. Senor configurations,  The xml file name should match the name of the model.

* Update Tools/sitl_run.sh

Co-authored-by: Beat Küng <beat-kueng@gmx.net>

Co-authored-by: Beat Küng <beat-kueng@gmx.net>
2020-09-17 20:32:42 +02:00
David Sidrane f0b8bc9dd6 run-shellcheck appease shell check 2020-09-16 21:32:04 -04:00
David Sidrane 185ffe9e13 nsh scripting:source (.) cmd supported 2020-09-16 21:32:04 -04:00
David Sidrane fbf110f6be Use EXTRAFLAGS instead of EXTRADEFINES 2020-09-16 21:32:04 -04:00
Daniel Agar 033f74b1c8 sitl_run.sh remove xtrace leftover from debugging 2020-09-16 10:43:29 -04:00
Daniel Agar 2b18b05a8a
vscode updates and improvements
- fix gazebo SITL debug
     - now prompts you to select vehicle
 - devcontainer.json container support https://code.visualstudio.com/docs/remote/containers
     - this allows you to jump straight into working within a container (px4-dev-nuttx) on a fresh machine
     - also helps with Codespaces https://github.com/features/codespaces
 - plugin updates
    - cpp extension pack, spell checking, CTest support
 - cleanup intellisense
     - the backup tag parser was a resource hog and didn't work very well
 - fix problemMatcher support so that you can click on a build failure
2020-09-16 09:07:54 -04:00
Beat Küng 0a061160f7 cmake px4_add_board: add EMBEDDED_METADATA
Allowing to put additional metadata into the ROMFS, the first is
parameters.json.gz.
2020-09-15 09:30:16 +02:00
Beat Küng d5b8f6cdf9 sitl_run.sh: cleanup, kill jmavsim only if $program == jmavsim 2020-09-15 09:30:16 +02:00
Beat Küng 055fa768d8 posix: enable ROMFSROOT
This will copy the ROMFS into the build directory under etc/, and thus
needs a change of the PX4 startup parameters and mixer paths.
2020-09-15 09:30:16 +02:00
PX4 BuildBot 8bc512dc93 Update submodule sitl_gazebo to latest Mon Sep 14 00:39:41 UTC 2020
- sitl_gazebo in PX4/Firmware (ac732cdeba): 78bba3f25e
    - sitl_gazebo current upstream: 9d2b19784c
    - Changes: 78bba3f25e...9d2b19784c

    9d2b197 2020-09-12 JaeyoungLim - Use jinja templates for standard_vtol and plane model (#590)
01587e6 2020-09-12 Lorenz Meier - Include GLib2 properly The previous approach did not actually search for glib2 in the system but hardcoded the name.
e49fac5 2020-09-12 bazooka joe - cleanups: rename class vars to be with underscore
6fb9bd9 2020-09-12 bazooka joe - move initializers to h file
29999c6 2020-09-12 JaeyoungLim - Update boat gps sensor (#595)
a208640 2020-09-09 petertheprocess - fix the rudder deflection bug. (#588)
2020-09-13 21:41:22 -04:00
Jaeyoung-Lim 0d4d21cd67 Allow gzserver verbose options through command line
Allows verbose option for gzserver with VERBOS=1 on command line.
2020-09-12 20:19:21 +02:00
Daniel Agar 60d613ea04
sensors: sensor_preflight_imu -> sensors_status_imu and run continuously
- inconsistency checks now run continuously instead of only preflight
 - keep inconsistencies for all sensors
 - add per sensor data validator state as overall health flag
2020-09-06 22:06:13 -04:00
Daniel Agar 9ccc1db649 estimator_status split out estimator_states 2020-09-04 10:48:26 -04:00
Beat Küng 787f9c1213 i2c: use board-specific bus numbering for '-X -b <bus>' CLI
As boards don't have their external buses labeled consistently, it was not
useful to use an abstraction.
2020-09-03 15:32:35 -04:00
Daniel Agar 0b0d23e8fa process_sensor_caldata.py: skip accel or gyro if temperature is NAN 2020-08-31 07:59:03 -04:00
Nicolas MARTIN 1dec1e6262 process_sensor_caldata.py: add regularly weighted over temperature fit
the option '--no_resample' allows to disable resampling and have the
previous behavior
2020-08-28 16:39:11 -04:00
PX4 BuildBot 8ba7bbf3af Update submodule jMAVSim to latest Fri Aug 28 00:39:40 UTC 2020
- jMAVSim in PX4/Firmware (8eb46b0eb8): 14ce7868fb
    - jMAVSim current upstream: 358b6cca40
    - Changes: 14ce7868fb...358b6cca40

    358b6cc 2020-08-24 Hamish Willee - Merge pull request #122 from farhangnaderi/patch-1
42b5cd3 2020-08-23 FARHANG - Update README.md
2020-08-27 21:42:36 -04:00
Kabir Mohammed c319bbd6f7
drivers/optical_flow: Thoneflow 3901U Driver
* srcparser.py: Add optical flow subcategory for module docs
* thoneflow : Initial support
2020-08-26 13:10:38 -04:00
Beat Küng 4088c2581f
i2c_spi_buses: add '-q' for quiet startup flag (#14969)
* [WIP] i2c_spi_buses: add '-q' for quiet startup flag

And enable for optional board sensors.

* ROMFS: rc.sensors try starting all optional I2C sensors quietly

Co-authored-by: Daniel Agar <daniel@agar.ca>
2020-08-26 08:46:35 +02:00
Anton Erasmus 1ae579b5d5
Update sitl_run to check for -gen.sdf files (#15232)
Co-authored-by: Anton Erasmus <antonerasm@gmail.com>
2020-08-24 17:01:11 +02:00
JaeyoungLim 5c040582db Update sitl_gazebo 2020-08-21 21:49:42 +02:00
Daniel Agar 971b1e4b4d sensors: move mag aggregation to new VehicleMagnetometer WorkItem
- purge all reminaing magnetometer IOCTL usage
 - mag calibration add off diagonal (soft iron) scale factors
2020-08-21 10:12:13 -04:00
JaeyoungLim cbbde2e4a2
Update sitl_gazebo (#15586) 2020-08-20 15:45:16 +02:00
isidroas f4e147964b
Tools/setup: ubuntu.sh added jmavsim dependency 2020-08-18 15:09:16 -04:00
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
Daniel Leonard Robinson fa4818e467
vehicles: add new vehicle type: Airship (#14862)
Co-authored-by: Anton Erasmus <anton@flycloudline.com>
Co-authored-by: Beat Küng <beat-kueng@gmx.net>
2020-08-10 08:52:51 +02:00
SungTae Moon 9707ac5316
implement gazebo simulation based on RTPS for multiple UAVs (#15463)
- add t option for target
   - add iris_rtps model (PX4/sitl_gazebo#558)
2020-08-08 13:19:19 +02:00
PX4 BuildBot d3a14b3ff1 Update submodule sitl_gazebo to latest Sun Aug 2 16:36:22 UTC 2020
- sitl_gazebo in PX4/Firmware (1191a0efe6): ce1eca2bd0
    - sitl_gazebo current upstream: 037ce1b3b8
    - Changes: ce1eca2bd0...037ce1b3b8

    037ce1b 2020-07-24 Jan-Hendrik Ewers - Oversight fix from #544 (#553)
2020-08-02 13:40:34 -04:00
Julian Oes b108adc5f1 Tools: retry gz model if gzserver is not ready yet
This should prevent the race between gzserver and gz model and fix the
integration tests which sometimes timeout because the model is not
spawned correctly.

This patch also changes the shebang to what's generally recommended.
2020-07-28 11:51:51 +02:00
Julian Oes 26021b01cb Tools: abort SITL start if gzserver fails
Sometimes gzserver seems to not start or not start fast enough. In this
case, instead of stalling forever, it would be nice to abort.
2020-07-23 07:42:09 +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
Jan-Hendrik Ewers 0b50f85096
Update gazebo_sitl_multiple_run.sh (#15382)
If `make px4_sitl_default` is run, and not `make px4_sitl_default gazebo` then each model instance will throw the following errors:
```
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_gps_plugin.so: libgazebo_gps_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_multirotor_base_plugin.so: libgazebo_multirotor_base_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_motor_model.so: libgazebo_motor_model.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_groundtruth_plugin.so: libgazebo_groundtruth_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_magnetometer_plugin.so: libgazebo_magnetometer_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_barometer_plugin.so: libgazebo_barometer_plugin.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_mavlink_interface.so: libgazebo_mavlink_interface.so: cannot open shared object file: No such file or directory
[Err] [Plugin.hh:178] Failed to load plugin libgazebo_imu_plugin.so: libgazebo_imu_plugin.so: cannot open shared object file: No such file or directory
```
2020-07-21 09:36:15 +09:00
PX4 BuildBot 11614f789d Update submodule sitl_gazebo to latest Sun Jul 19 12:39:36 UTC 2020
- sitl_gazebo in PX4/Firmware (f4d7052bec): 629e5f5c23
    - sitl_gazebo current upstream: ce1eca2bd0
    - Changes: 629e5f5c23...ce1eca2bd0

    ce1eca2 2020-07-19 Daniel Leonard Robinson - New vehicle type: Airship (#490)
df186d2 2020-07-18 TSC21 - use 'EnableC++XX' and remove duplicated compiler sets
60e5d4e 2020-07-18 TSC21 - remove the check for the 'px4' binary (it's never found since it's built in parallel with sitl_gazebo)
a3b5c5e 2020-07-19 JaeyoungLim - Fix moment calculation (#545)
07820ee 2020-07-19 JaeyoungLim - Fix gimbal imu sensors intefering with each other (#549)
2020-07-19 15:46:53 +01: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
PX4 BuildBot b5ffdc6d35 Update submodule sitl_gazebo to latest Wed Jul 15 12:39:34 UTC 2020
- sitl_gazebo in PX4/Firmware (d791c8baad): 1af7e29dbb
    - sitl_gazebo current upstream: 629e5f5c23
    - Changes: 1af7e29dbb...629e5f5c23

    629e5f5 2020-07-15 Morten Fyhn Amundsen - Barometer drift (#544)
4ec5caa 2020-04-26 JaeyoungLim - Make wind plugin a world plugin
2020-07-15 12:42:11 -04:00
Daniel Agar 6bdcca6a85 systemcmds/tests: add simple atomic microbenchmark 2020-07-10 10:59:50 -04:00
Julian Oes aea94ff57b jMAVSim: try new libs with newer Java versions
This is an attempt to get jMAVSim to run with Java9+.
2020-07-06 13:07:11 +01:00
Daniel Agar 7398d174d2
Update submodule sitl_gazebo to latest Tue Jun 30 14:39:57 UTC 2020 (#15248)
- sitl_gazebo in PX4/Firmware (38588f0c37): 309f7b0ace
    - sitl_gazebo current upstream: 1af7e29dbb
    - Changes: 309f7b0ace...1af7e29dbb

    1af7e29 2020-06-25 JaeyoungLim - Do not validate r1_rover
5e8ddfb 2020-06-25 Benjamin Perseghetti - fixes for R1 SDF https://github.com/PX4/sitl_gazebo/issues/533 (#534)
726c066 2020-06-23 Supakorn Suttiruang - Remove the incorrect force generated by moment (#532)

Co-authored-by: PX4 BuildBot <bot@px4.io>
2020-06-30 15:44:38 -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
JaeyoungLim ae4ed87a31 Simplify getting sim PID
Follow up of https://github.com/PX4/Firmware/pull/15206#pullrequestreview-436356707
2020-06-24 10:13:37 +02:00
JaeyoungLim 3ef852c8e3
sitl: enable spawning different vehicle types for multivehicle SITL in gazebo (#15147)
This can be run with the command `Toos/gazebo_multiple_sitl_run.sh -s plane:3,iris:1
2020-06-24 08:23:16 +02:00
JaeyoungLim 481b23c811 Use SIM_PID for gzserver, not gzmodel 2020-06-23 22:44:16 +01:00
Daniel Agar c25b2e11fe Github Actions start migrating Jenkins metadata (airframe, parameter, etc) jobs 2020-06-23 13:41:57 -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 32887193d6
systemcmds/tests: remove autodeclination test (moving to PX4/ecl) 2020-06-23 10:34:25 -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
JaeyoungLim d677b9460b Update sitl_gazebo 2020-06-21 11:31:03 +01:00
JaeyoungLim 82a6047506 Update sitl_gazebo 2020-06-21 11:10:33 +01:00
TSC21 6c558260e9 update submodule Tools/sitl_gazebo 2020-06-20 22:37:33 +01:00
TSC21 b3bbc351ca mavlink: DISTANCE_SENSOR: propagate signal_quality metric 2020-06-20 22:25:37 +01:00
PX4 BuildBot 0d68e1316e Update submodule sitl_gazebo to latest Fri Jun 19 00:38:14 UTC 2020
- sitl_gazebo in PX4/Firmware (6b343c1f5e): 97106007eb
    - sitl_gazebo current upstream: 846190e8a3
    - Changes: 97106007eb...846190e8a3

    846190e 2020-06-18 Daniel Agar - cmake set build type and C/C++ standard
1cd16d7 2020-06-18 JaeyoungLim - Set GPS utc time to use utc time (#522)
2020-06-18 21:01:48 -04:00
Daniel Agar f55ed0992c
accel and gyro calibration refactor and cleanup
- remove all remaining IOCTLs for accel and gyro and handle all calibration entirely in sensors module with parameters
 - sensor_accel and sensor_gyro are now always raw sensor data
 - calibration procedures no longer need to first clear existing values before starting
 - temperature calibration (TC) remove all scale (SCL) parameters
    - gyro and baro scale are completely unused
    - regular accel calibration scale can be used (CAL_ACC*_xSCALE) instead of TC scale
2020-06-17 22:50:09 -04:00
TSC21 6add0fff7f add iris_dual_gps config and the possibility of testing GPS blending through simulation 2020-06-16 09:57:05 +01:00
Jonathan Hahn e6bec31890 add GNU screen to NUTTX dependencies in ubuntu setup 2020-06-15 10:16:08 +02:00
PX4 BuildBot 3f995efae9 Update submodule sitl_gazebo to latest Tue Jun 9 20:35:27 UTC 2020
- sitl_gazebo in PX4/Firmware (0fcb873636): 3ba325b00f
    - sitl_gazebo current upstream: e2bf962b5e
    - Changes: 3ba325b00f...e2bf962b5e

    e2bf962 2020-06-08 JaeyoungLim - Fix typhoon h480 internals (#512)
2020-06-09 17:21:17 -04:00
PX4 BuildBot ee32ded222 Update submodule sitl_gazebo to latest Mon Jun 8 00:39:29 UTC 2020
- sitl_gazebo in PX4/Firmware (39a33a35ae): 20e8dbe115
    - sitl_gazebo current upstream: 3ba325b00f
    - Changes: 20e8dbe115...3ba325b00f

    3ba325b 2020-06-03 Julian Oes - geotagged_images: actually report number of images
92453d1 2020-05-21 JaeyoungLim - Cleanup
9aef888 2020-05-21 JaeyoungLim - Translate yaw to point at the right direction
2020-06-08 08:19:56 -04:00
TSC21 562d57fee8 mavlink: fix odometry frames of reference setup 2020-05-28 15:45:13 +01: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
bresch 76de299302 Offboard temp cal: add support for 3rd baro 2020-05-14 09:16:37 +02:00
bresch a103c4305b Offboard temp cal: check topic instance
Not checking the id can lead to sensor ordering swap
2020-05-14 09:16:37 +02:00
Hamish Willee 8804dae480 Ubuntu.sh - report Ubuntu 20.04 in setup 2020-05-12 13:13:36 +02:00
PX4 BuildBot 495dc7f8d0 Update submodule sitl_gazebo to latest Wed May 6 00:44:20 UTC 2020
- sitl_gazebo in PX4/Firmware (ca998c1822): d76ac7f9f9
    - sitl_gazebo current upstream: 2736a9134d
    - Changes: d76ac7f9f9...2736a9134d

    2736a91 2020-05-05 JaeyoungLim - Add aion_robitcs_r1_rover model (#394)
2020-05-05 23:31:55 -04:00
kritz 33dc0fd146
Add vision velocity integration test (#14818) 2020-05-05 11:14:30 +02:00
JaeyoungLim 4282832222
Update flightgear bridge (#14816)
Fix vehicle spawning issue with updating the submodule paths
2020-05-03 17:09:22 +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
PX4 BuildBot 3135f7e1cf Update submodule flightgear_bridge to latest Fri May 1 00:39:36 UTC 2020
- flightgear_bridge in PX4/Firmware (3ea52fecd3): f7eb676108
    - flightgear_bridge current upstream: 13dde0b4a4
    - Changes: f7eb676108...13dde0b4a4

    13dde0b 2020-04-30 JaeyoungLim - Test build without flightgear (#2)
566c7c3 2020-04-30 JaeyoungLim - Add simple build test with github actions (#1)
2020-04-30 21:06:34 -04:00
Jakub Kákona dfa5ca1710
FlightGear simulator support (#14539)
- Add flightgear_bridge submodule.
- Add traget px4_sitl_nolockstep with disabled  LOCKSTEP simulation.
- Add flightgear viewer targets and startup scripts
- Add a few possible vehicles plane (rascal), autogyro (tf-g1), and rover (tf-r1))

Co-authored-by: Vit Hanousek <vithanousek@seznam.cz>
2020-04-29 08:46:59 +02:00
JaeyoungLim e669e999e2
Add options to spawn multiple vehicles in different worlds (#14764)
Since SITL gazebo now has the ability to spawn vehicles to different worlds, this can be done for simulating multiple vehicles
2020-04-27 11:57:47 +02:00
Lorenz Meier b3afb325d8 Update Gazebo to latest
This includes a relevant compile fix for a recent MAVLink update.
2020-04-26 22:55:51 -04:00
PX4 BuildBot a96bc6a145 Update submodule sitl_gazebo to latest Wed Apr 22 00:38:48 UTC 2020
- sitl_gazebo in PX4/Firmware (c5eefc6b2e): 2f83192e70
    - sitl_gazebo current upstream: c2d7d2609f
    - Changes: 2f83192e70...c2d7d2609f

    c2d7d26 2020-04-12 JaeyoungLim - Incorporate wind in lift calculation and airspeed measurements (#375)
2020-04-21 22:39:59 -04:00
Hamish Willee 95779ea670 ubuntu.sh: No automatic removal of modemmanager 2020-04-21 09:34:05 +02:00
TSC21 c3ebb1a584 px4.py: signal it as being used by the PX4 Homebrew formulae 2020-04-21 09:21:56 +02:00
TSC21 4923e5ce3a px4.py: case the script is run outside of the cloned repo, get it from remote 2020-04-21 09:21:56 +02:00
TSC21 18df0240df px4.py: get release version from Git 2020-04-21 09:21:56 +02:00
Hamish Willee 8236b8da81 Fix up doc links to point to master branch 2020-04-21 08:58:40 +02:00
Beat Küng c48c1c4cef Tools/px_uploader: exit if unsuitable board is connected
Avoids endless looping, and is mostly useful when used in automated
upload scripts.
2020-04-20 09:05:57 +02:00
PX4 BuildBot 3a2c4094be Update submodule sitl_gazebo to latest Fri Apr 10 12:39:18 UTC 2020
- sitl_gazebo in PX4/Firmware (ed0c25a562): e4f6bff206
    - sitl_gazebo current upstream: 2f83192e70
    - Changes: e4f6bff206...2f83192e70

    2f83192 2020-04-09 Ricardo Marques - Remove uuv_hippocampus from uuv_hippocampus world (#455)
bab4880 2020-04-08 JaeyoungLim - Remove boat from boat world (#454)
7cb466c 2020-04-07 JaeyoungLim - Remove rubble and uneven world
a928906 2020-04-02 JaeyoungLim - Fix race condition in gimbal controller
2020-04-10 13:06:01 -04:00
Hamish Willee 0a2c48c69a airframe markdown script: Improve header text. 2020-04-09 08:21:25 +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
baumanta 0d8c011d91 update sitl_gazebo to include realistic iris drag coeff 2020-04-08 10:39:56 +02:00
Hyon Lim 5f86ea71bc UVify bootloader was not recognized properly because of wildcard string format in upload.sh.
It has more generalized to recognize UVify bootloader properly.
2020-04-03 13:18:31 -04: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 e9aba642fe CI: bump container tags to 2020-04-01 2020-04-02 14:28:38 +01:00
Daniel Agar aa2f3a6624 sensors: complete move to uORB::Subscription 2020-04-01 16:17:14 -04:00
TSC21 40a99f940a bump container tags to 2020-03-29 2020-03-30 09:51:57 +01:00
JaeyoungLim a938410c15 Add world targets and update submodules
Add world names as make targets and include the worlds by updating the submodules
2020-03-29 13:29:07 +01:00
Beat Küng f4ab1b8a78 fix px4moduledoc: typo in 'External I2C bus(es)' 2020-03-24 09:46:20 -04:00
TSC21 975227c52a Tools: setup: add 'packaging' to the requirements list 2020-03-24 13:31:41 +00:00
TSC21 6598ce5a46 CI: bump container tags to 2020-03-16 2020-03-24 13:31:41 +00:00
JaeyoungLim 315135c07e Fix indentation in run script and update submodule 2020-03-23 10:55:13 +01:00
JaeyoungLim 2ef37cd065 Spawn models separately from gazebo models
Detach model spawning process from the world description file, so that the same model can be used with different worlds
2020-03-23 10:55:13 +01:00
Julian Oes 9b61ce1006 Tools: check style of mavsdk_tests files 2020-03-18 17:57:41 +00:00
Julian Oes 0989e90b4a Tools: exit as straightaway with DONT_RUN set 2020-03-18 17:57:41 +00:00
Beat Küng d1f5b23a5a module docs: add PRINT_MODULE_USAGE_PARAMS_I2C_{SPI_DRIVER,ADDRESS}
For SPI/I2C driver default options
2020-03-17 23:31:17 -04:00
Beat Küng f851f65f8d i2c spi: add type to I2CSPIInstance
Needed to distinguish runtime instance types of the same driver (e.g.
bmi055 accel vs gyro).
2020-03-17 23:31:17 -04:00
PX4 BuildBot ed7d97bdeb Update submodule sitl_gazebo to latest Sun Mar 15 12:39:22 UTC 2020
- sitl_gazebo in PX4/Firmware (64c7b4d489): 458e58f797
    - sitl_gazebo current upstream: 11b6409df9
    - Changes: 458e58f797...11b6409df9

    11b6409 2020-03-13 JaeyoungLim - Update usv dynamics headers to Apache
5d0356a 2020-03-13 JaeyoungLim - Fix typhoon not taking off
2020-03-15 17:39:32 +00:00
Lorenz Meier 3aec557b42 Gazebo: Do not run verbose
There is no need in day-to-day development to run verbose and it is preventing regular PX4 status output from properly rendering
2020-03-15 09:29:34 +01:00
Daniel Agar 5fcd7932e9
mavlink: replace MavlinkOrbSubscription with uORB::Subscription
* uORB orb_stat() and update(uint64_t *time, void *dst) are now obsolete and have been deleted
 * mavlink messages add more advertised checks in streams get_size() check to improve data rate calculation across different scenarios
2020-03-14 12:52:46 -04:00
PX4 BuildBot 190ee042eb Update submodule sitl_gazebo to latest Wed Mar 11 12:38:07 UTC 2020
- sitl_gazebo in PX4/Firmware (88c9761f1f): 8569aec5bb
    - sitl_gazebo current upstream: 458e58f797
    - Changes: 8569aec5bb...458e58f797

    458e58f 2020-03-10 JaeyoungLim - Fix sweep cosine (Continuing #302) (#429)
ea2568d 2019-12-27 JaeyoungLim - Increase rudder angle limit
8b905c9 2019-12-27 JaeyoungLim - Add rudder control to sitl
08f8e6f 2020-03-10 Jan-Hendrik Ewers - Update README.md
de10edd 2020-03-10 iwishiwasaneagle - Fixes PX4/sitl_gazebo#424 for arch and ubuntu
4f596be 2020-03-10 Christian Clauss - Remove unused function isstring() in scripts/names.py (#346)
89db01c 2020-03-09 Matej Frančeškin - Handle MAV_CMD_SET_CAMERA_MODE
dae26ba 2020-03-08 JaeyoungLim - Handle videostream info and status
c13057d 2020-03-07 JaeyoungLim - Clear formatting and cleanups
639a6bb 2020-03-07 JaeyoungLim - Add parachute plugin
42d05bd 2020-03-09 RomanBapst - standard vtol: decrease rotorDragCoefficient to more realistic values
5669e5c 2020-03-07 leftytechie - Version check (#418)
82657d3 2020-03-07 Lorenz Meier - Fix geotagged images GPS position The GPS position was invalid, leading to incorrectly displayed geotag markers and to incorrect geotags in images.
8794a70 2020-03-02 Julian Oes - cmake: remove warning
7aba744 2020-02-26 TSC21 - gazebo_mavlink_interface: use class enum; use binary notation with the bitmask operations
0dc43a4 2020-02-26 TSC21 - gazebo_mavlink_interface: make sure to always send gyro and accel data in the HIL_SENSOR msgs
0c954a2 2020-02-25 TSC21 - mavlink_interface: split groundtruth stream from sensor stream; only apply rotations where needed
bc92d96 2020-02-25 TSC21 - set baro rate at 50Hz (averaging the PX4 baro drivers ODR)
94d16e6 2020-02-25 TSC21 - update magnetometer rate to 100Hz (fitting the ODR in most of the support PX4 mag drivers)
6cae120 2020-02-25 TSC21 - mavlink_interface: send HIL_SENSOR messages with the bitmask correctly defined IOT set each sensor stream rate separately
2020-03-11 09:45:35 -04:00
JacobCrabill b186614857 airframes srcparser.py: Allow non-param comments
Add a "@desc" tag that gets ignored by the parameter parser.  This
allows you to add (multi-line) documentation to airframe init files.
2020-03-08 12:00:29 +01:00
斯东Stone 032b9909fa Fix a typo in Ubuntu setup script 2020-03-08 11:56:33 +01:00
Julian Kent 770c724f17 Adapt run-clang-tidy.py to Python3 2020-03-02 13:26:03 -05:00
TSC21 39317e9207 update submodule Tools/jMAVSim 2020-03-02 14:59:45 +00:00
TSC21 8a999fecfc update submodule Tools/sitl_gazebo 2020-02-28 10:59:50 +00:00
TSC21 b3ea28c8e4 update submodule Tools/sitl_gazebo 2020-02-28 10:59:50 +00:00
TSC21 bcb6056a12 simulator: make sensor update rate dependent of the HIL_SENSOR bitmask 2020-02-28 10:59:50 +00:00
Daniel Agar e6ab5fc2a8 HIL test runner temporarily disable uORB test and fix typo 2020-02-28 10:03:39 +01:00
JaeyoungLim a38b167614 Update: sitl_gazebo 2020-02-26 07:29:16 +01:00
BazookaJoe1900 27471d90ca
Jenkins: hardware test exit from failed hardware check with error, so the check will fail 2020-02-25 09:58:02 +01:00
JaeyoungLim 01b280f7ae Limit the number of vehicles 2020-02-19 14:23:17 +01:00
Julian Oes 9a96ca14be Tools: make Python import error more readable
The problem with printing the exception was that starting with
Python 3.6 the ImportError is yet another (sub) exception called
ModuleNotFoundError which can't be printed as a string and then triggers
another exception:

```
Traceback (most recent call last):
  File "/home/julianoes/src/Firmware/Tools/serial/generate_config.py", line 11, in <module>
    import jinja2
ModuleNotFoundError: No module named 'jinja2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/julianoes/src/Firmware/Tools/serial/generate_config.py", line 13, in <module>
    print("Failed to import jinja2: " + e)
TypeError: must be str, not ModuleNotFoundError
```

As per @bkueng's suggestion the easiest is to cast the exception to str
and that way prevent the second exception.
2020-02-14 11:40:05 +01:00
Nuno Marques 7cafbc824e
simulator: add support for multi-distance_sensor instances (#14143)
* simulator: add support for multi-distance_sensor instances

* update submodule Tools/sitl_gazebo

* sitl_gazebo: add updated iris_obs_avoid; simulator: cleanup distance_sensor topic init

* update submodule Tools/sitl_gazebo

* simulator: delete _dist_pubs uORB::PublicationMulti<distance_sensor_s> in simulator destructor
2020-02-14 11:32:28 +01:00
Ricardo Marques 225a3a0cba Update sitl_gazebo submodule to latest 2020-02-06 09:38:35 +00:00
Julian Oes a8c3944485 setup: select Java 8 after installation 2020-01-30 22:45:29 -05:00
Julian Oes 733e73e185 Tools: check for Java 8 on Linux
This allows us to print an error message instead of a weird Java failure
further down the road.

Better yet would be if this would take down everything, so a user does
not have to scroll up to read the message.
2020-01-30 22:45:29 -05:00
PX4 BuildBot a141e4062b Update submodule sitl_gazebo to latest Thu Jan 30 00:37:59 UTC 2020
- sitl_gazebo in PX4/Firmware (931a3f2684): 029722989e
    - sitl_gazebo current upstream: dfbc28badc
    - Changes: 029722989e...dfbc28badc

    dfbc28b 2020-01-29 kamilritz - Reduce airspeed noise
55d74c3 2020-01-11 JaeyoungLim - Add plane catapult model
2020-01-29 23:31:40 -05:00
kritz 92e75452f5
Flow mockup (#14054)
* Add optical flow mockup model

* Update Tools.sitl_gazebo
2020-01-29 14:06:46 +01:00
Roman Dvořák 497ab07daf airframes: add ThunderFly Auto-G2 autogyro (#14015) 2020-01-27 16:21:52 +01:00
kamilritz 0d2e5f1c50 Update sitl_gazebo: Vision fix 2020-01-27 14:09:45 +00:00
JaeyoungLim 15835ce7a3 Add standard_vtol as supported model for multivehicle sim gazebo
Fix
2020-01-27 09:16:24 +01:00
PX4 BuildBot dedb4e8267 Update submodule sitl_gazebo to latest Tue Jan 21 00:39:16 UTC 2020
- sitl_gazebo in PX4/Firmware (635ceccfdb): a5b33417f7
    - sitl_gazebo current upstream: 2f4b32723c
    - Changes: a5b33417f7...2f4b32723c

    2f4b327 2019-10-21 Martina Rivizzigno - typhoon sonar fix rotation such that the reported orientation metches the gazebo model
7db52d7 2019-10-18 Martina Rivizzigno - typhoon_h480: rotate sonar such that is forward facing
2020-01-20 21:01:45 -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
Julian Oes c77816aef2 cmake: move jinja2 check to Python modules
This removes the cmake check for jinja2 and moves it to the respective
Python scripts.
2020-01-16 16:25:26 +01:00
Julian Oes b04f68553e Tools: use Python 3, improve import checks
In more detail:
- Change shebang to Python 3.
- Suggest installation using pip3 as user.
2020-01-16 16:25:26 +01:00
Daniel Agar 13fc6fa04c Update submodule sitl_gazebo to latest Thu Jan 16 00:39:21 UTC 2020 (#13784)
- sitl_gazebo in PX4/Firmware (d6cff809f3): 5b031e1019
    - sitl_gazebo current upstream: a5b33417f7
    - Changes: 5b031e1019...a5b33417f7

    a5b3341 2019-12-22 Lorenz Meier - MAVLink interface: Fix init
484bc8d 2020-01-15 Lorenz Meier - Only support Mac OS Mojave
62fdd48 2020-01-14 Julian Oes - travis: use pip3 as user
bb9b3f7 2020-01-14 Julian Oes - travis: unlink Python2, install Python3
5d27757 2020-01-13 Lorenz Meier - Fix Mac OS CI
193a4d2 2020-01-13 Gus Grubba - Update gazebo_video_stream_widget.h
7cb9e2e 2020-01-07 Morten Fyhn Amundsen - gazebo_lidar_plugin: Rename class to LidarPlugin
6f5d19b 2020-01-06 bozkurthan - Update typhoon_h480.sdf
32fa459 2020-01-06 bozkurthan - Update gazebo_gst_camera_plugin.h
0058204 2020-01-06 bozkurthan - Change udpDstIP -> udpHost
b443319 2020-01-06 bozkurthan - Update typhoon_h480.sdf
0d98f07 2020-01-06 bozkurthan - Update gazebo_gst_camera_plugin.cpp
1a94d78 2020-01-06 bozkurthan - Update gazebo_gst_camera_plugin.h
57c829c 2020-01-06 bozkurthan - Update typhoon for custom IP

Co-authored-by: PX4 Build Bot <bot@px4.io>
2020-01-16 09:08:28 +01:00
Julian Oes 5aa696839d jMAVSim: link to devguide instead of issue
This should be less confusing and point to a source of truth rather than
a long discussion.
2020-01-14 22:56:20 +01:00
Julian Oes d4d90e0488 jMAVSim: accept AdoptOpenJDK Java version
This should work with AdoptOpenJDK installed via brew:
    brew tap adoptopenjdk/openjdk
    brew cask install adoptopenjdk8
2020-01-14 22:56:20 +01:00
TSC21 13c0c618f3 px4modulesdoc: move to Python3 2020-01-13 21:48:35 +00:00
TSC21 502be605fd update submodule sitl_gazebo 2020-01-13 21:48:35 +00:00
Julian Oes 065fa1244d Update Snapdragon docker tag 2020-01-13 21:48:35 +00:00
Julian Oes 19bd7b29d6 Tools: use Python3 for upload_log.py 2020-01-13 21:48:35 +00:00
Julian Oes 8897c69c8f Tools: use Python 3 in validate_yaml.py 2020-01-13 21:48:35 +00:00
Julian Oes c5fb0e77cd Tools: update sitl_gazebo submodule 2020-01-13 21:48:35 +00:00
TSC21 d447f15ac6 bump Docker container tags to 2019-11-25 2020-01-13 21:48:35 +00:00
TSC21 3ea62ff53b bump Docker container tags to 2019-11-22 2020-01-13 21:48:35 +00:00
Daniel Agar de4f594937 DriverFramework purge
The bulk of this change was tightly coupled and needed to be deleted in one pass. Some of the smaller changes were things that broke as a result of the initial purge and subsequently fixed by further eradicating unnecessary platform differences. Finally, I deleted any dead code I came across in the related files I touched while going through everything.

 - DriverFramework (src/lib/DriverFramework submodule) completely removed
 - added dspal submodule in qurt platform (was brought in via DriverFramework)
 - all df wrapper drivers removed
 - all boards using df wrapper drivers updated to use in tree equivalents
 - unused empty arch/board.h on posix and qurt removed
 - unused IOCTLs removed (pub block, priv, etc)
 - Integrator delete methods only used from df wrapper drivers
 - commander: sensor calibration use "NuttX version" everywhere for now
 - sensors: update to px4_{open, read, close} instead of DevMgr wrapper (adc open for analog differential pressure)
 - battery_status: update to px4_{open, read, close} instead of DevMgr wrapper (adc open for analog differential pressure)
 - cdev cleanup conflicting typedefs and names with actual OS (pollevent_t, etc)
 - load_mon and top remove from linux boards (unused)
 - delete unused PX4_MAIN_FUNCTION
 - delete unused getreg32 macro
 - delete unused SIOCDEVPRIVATE define
 - named each platform tasks consistently
 - posix list_devices and list_topics removed (list_files now shows all virtual files)
2020-01-13 14:07:03 -05:00
romain-chiap ba28ef5809 jmavsim_run.sh: add -o flag for SIH display only 2020-01-13 16:09:40 +01:00
Julian Oes 3527870333 Tools: fix 'Assistive technology not found error'
On Ubuntu we often saw the error
Assistive technology not found AWTError when starting jMAVSim.

This should be fixed by appending this cli argument to java.

As suggested in https://github.com/PX4/containers/issues/206
2020-01-10 17:30:28 -05:00
RomanBapst 4d4481a384 gazebo_sitl_multiple_run.sh: fixed comment
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2020-01-10 16:51:33 +01:00
JaeyoungLim 528141a78e Make more space between vehicles 2020-01-10 16:51:33 +01:00
JaeyoungLim 0324889cf7 Add support for plane 2020-01-10 16:51:33 +01:00
JaeyoungLim eb7cdb4c4e Use sdf files instead of urdf files
Fix
2020-01-10 16:51:33 +01:00
Daniel Agar 44f9de5e37
delete parrot bebop board support
This target was never fully supported and is heavily dependent on a number of DriverFramework drivers that have no in tree equivalents (bebop bus, flow, rangefinder, etc). Deleting this will make it easier to fully drop DriverFramework shortly.
2020-01-05 19:46:51 -05:00
Daniel Agar ce1e9762b0 deprecate df_hmc5883_wrapper and replace with in tree hmc5883
- deprecate DriverFramework hmc5883 driver (df_hmc5883_wrapper)
 - update aerotenna ocpoc and snapdragon flight eagle boards to use in tree hmc5883
2020-01-05 15:17:26 -05:00
Daniel Agar 7241eebd80
cmake merge linux cross compile targets (cross + native) and cleanup
- consolidate cross and native variants (only a single default is needed)
   - beaglebone_blue_cross + beaglebone_blue_native => beaglebone_blue_default
   - emlid_navio2_cross + emlid_navio2_native => emlid_navio2_default
   - px4_raspberrypi_cross + px4_raspberrypi_native => px4_raspberrypi_default
 - move upload helpers to cmake/upload.cmake
2020-01-05 14:03:57 -05:00
Daniel Agar cc7a0cd69d beaglebone blue: build librobotcontrol with cmake 2019-12-29 17:32:06 -05:00
Daniel Agar 30a73416dc mavsdk SITL testing code coverage and upload to codecov.io 2019-12-26 14:31:33 -05:00
JaeyoungLim d5100b10dc Update comments 2019-12-26 12:03:32 +01:00
RomanBapst eeb47f6148 gazebo multiple sim script: cleanup
- make sure to kill all px4 instances and gazebo client when exiting
- add arguments to specify number of vehicles and vehicle model
- exit for now if vehicle model is not iris, since needs changes in
sitl_gazebo submodule

Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-12-26 12:03:32 +01:00
JaeyoungLim 876f42c171 Source environment inside the script 2019-12-26 12:03:32 +01:00
JaeyoungLim 155a212109 Update comments 2019-12-26 12:03:32 +01:00
JaeyoungLim f653be75c0 gazebo multiple sim: use xacro from the sitl_gazebo repository
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-12-26 12:03:32 +01:00
JaeyoungLim 0b649326c3 Support multi vehicle sitl gazebo without ros 2019-12-26 12:03:32 +01:00
Lorenz Meier adf7aee762 Harden autostart logic for non-existent airframe values
This ensures that the user is pushed back to the airframe configuration stage.
2019-12-26 10:16:58 +01:00
Lorenz Meier 2e7221cd22 Style check commit hook: Ensure that formatted files need to be re-added. 2019-12-24 15:16:26 +01:00
Julian Oes a9ca16cafe
Fix a couple of flake8 Python warnings (#13763)
* Tools: fix flake8 error

* platforms: fix flake8 error

This is just guessed.
2019-12-19 07:36:16 -08: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 904ab16558 Fix trailing whitespace, EOF newline, indentation 2019-12-09 13:22:19 +01:00
kamilritz b73c80428e ECL: Clean velPos logging, deprecate ekf2_innovations msg 2019-12-05 11:29:29 +01:00