Commit Graph

1499 Commits

Author SHA1 Message Date
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