Julian Oes
a9c3bce20d
px_uploader.py: fix version check
...
Presumably older versions of pyserial do not implement __version__ but
only VERSION, so we need to check for that as well.
2019-04-24 14:47:10 +02: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
Beat Küng
f542736140
'simulation' category added in srcparser.py
2019-04-12 09:25:07 +02:00
Matthias Grob
e94580711b
check_submodules: fetch in parallel on CI
2019-04-07 18:56:51 +02:00
Julian Oes
4907b87882
sitl_gazebo: update submodule
...
This should fix the macOS build.
2019-04-05 09:42:34 -04:00
Alexis Paques
7a5aaa33b2
Fix @property and super function does not work properly if the 'NewStyle' class type is not used.
...
https://lgtm.com/rules/10030086/
2019-04-03 22:53:10 -04:00
PX4 Build Bot
e8daf93682
Update submodule sitl_gazebo to latest Wed Apr 3 12:38:08 UTC 2019
...
- sitl_gazebo in PX4/Firmware (d36c0e131d ): https://github.com/PX4/sitl_gazebo/commit/2f0070ec6c29c34b9bae10ac03224775627c338a
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/e0dfe7ea45c849e676c201b7428bf8df975d4790
- Changes: https://github.com/PX4/sitl_gazebo/compare/2f0070ec6c29c34b9bae10ac03224775627c338a...e0dfe7ea45c849e676c201b7428bf8df975d4790
e0dfe7e 2019-03-11 Jannik Beyerstedt - Fix compiler error with openCV (C++11) on macOS
2019-04-03 22:59:55 +02:00
bresch
aa8edbc2ba
Parameter update - add -tcpp flag in rg to check C++ files only
2019-04-03 15:38:50 +02:00
bresch
06ab8570ab
Parameter update - Add parameter_update.py script used to rename the BlockParam variables with the new strict naming convention
2019-04-03 15:38:50 +02:00
Nico van Duijn
0b548fa684
Update submodule sitl_gazebo
...
This updates the submodule sitl_gazebo to include the iris_obs_avoid
sdf model
2019-04-02 08:17:13 +02:00
Nico van Duijn
b7784a1439
Add MAVLink stream and cmake sitl target
2019-04-02 08:17:13 +02:00
Julian Oes
be8ad46fc9
px_uploader.py: write timeout workaround
...
This is a workaround for the write timeout that we have seen for some
host computers trying to flash the firmware.
We don't know the root cause of the problem but we do observed the
following:
- For blocking writes with timeout (Pyserial write_timeout=0.5):
write() throws SerialTimeoutException. In systrace we see that the
select() call after write waiting for the write to be finished hangs
and finally times out.
- For blocking writes without timeout (Pyserial write_timeout=None):
write() hangs indefinitely. In systrace we see that the
select() call after write waiting for the write to be finished hangs.
- For non-blocking writes:
write() works but flush() hangs. In systrace we see that
ioctl(fd, TCSBRK, 1) which is (correctly) triggered by termios tcdrain
hangs.
Inspecting USB traffic using usbmon, we can see that the data which is
written actually seems to be sent and looking at responses from the
Pixhawk bootloader and the timings it looks like all the data has
arrived.
This workaround uses non-blocking writes without flushing and this
seemed to prevent the issue from happening so far.
Debugging was done in collaboration with Beat Küng and David Sidrane.
2019-03-27 14:53:00 +01:00
Julian Oes
7be05396ba
px_uploader.py: check for pyserial
...
If we dont explicitly check for pyserial, we can have the case where the
import works but the Serial object creation fails. However, we don't see
this because we have this huge try/catch block which swallows
everything.
2019-03-27 07:55:05 +01:00
johannes
53effd5005
Tools/upload_log: change default upload to public flightreport
2019-03-18 09:52:18 -04:00
Daniel Agar
471e1bc866
serial/generate_config.py specify full loader ( #11667 )
...
- fixes #11666
2019-03-16 11:19:01 -04:00
Beat Küng
bfa0a4a8f1
sitl_gazebo: update submodule (hil fix)
2019-03-15 08:54:42 +01:00
Beat Küng
898664d919
jmavsim: fix HIL, don't add -lockstep by default
2019-03-15 08:54:42 +01:00
Beat Küng
8692d72501
jmavsim: update submodule
...
Brings https://github.com/PX4/jMAVSim/pull/97 .
2019-03-15 08:50:05 +01:00
Anthony Lamping
84c52439e9
jenkins: update all image tags to 2019-03-08
2019-03-08 23:17:06 -05:00
Daniel Agar
37cda4e264
Update submodule jMAVSim to latest Wed Mar 6 00:38:35 UTC 2019 ( #11597 )
...
- jMAVSim in PX4/Firmware (a97151feed ): https://github.com/PX4/jMAVSim/commit/0c25b7c18990a64fc851cfd7fe3aac9a4060aea3
- jMAVSim current upstream: https://github.com/PX4/jMAVSim/commit/8b2f4568e05935af57782fd0db9a434f733cc800
- Changes: https://github.com/PX4/jMAVSim/compare/0c25b7c18990a64fc851cfd7fe3aac9a4060aea3...8b2f4568e05935af57782fd0db9a434f733cc800
8b2f456 2019-02-28 Julian Oes - Merge pull request #95 from PX4/shell-style
3d0174a 2019-02-27 Matthias Grob - Fix shell script style
2019-03-05 23:57:25 -05:00
Matthias Grob
bee1835831
Tools: fix style consistency in shell scripts "if [...]; then"
2019-02-24 11:20:38 -05:00
PX4 Build Bot
d835d122dc
Update submodule sitl_gazebo to latest Fri Feb 22 12:38:23 UTC 2019
...
- sitl_gazebo in PX4/Firmware (4e792b2487 ): https://github.com/PX4/sitl_gazebo/commit/b34a96e7e5572209d21b9445be048c77ef041baa
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/2e80474653bcb7808a7dfced4cf403ef607d69da
- Changes: https://github.com/PX4/sitl_gazebo/compare/b34a96e7e5572209d21b9445be048c77ef041baa...2e80474653bcb7808a7dfced4cf403ef607d69da
2e80474 2019-02-18 Elia Tarasov - fix comment for mag strength table unit
9a9a137 2019-02-18 Elia Tarasov - fix comment for the file name
7c49b2f 2019-02-18 Elia Tarasov - add units to mag variables
c004d94 2019-02-18 Elia Tarasov - fix magnetic field calculation by using geo lookup table
e9a3940 2019-02-18 Elia Tarasov - fix comment on magnetic data source and properties
c76ac17 2019-02-18 Elia Tarasov - copy magnetic data tables and functions from ecl/geo_lookup
28f59c5 2019-02-18 Elia Tarasov - add constrain function
8c869ed 2019-02-18 Elia Tarasov - fix linker complain on multiple definitions
b5213a7 2019-02-18 Elia Tarasov - add getters for mag inclination and strength
d311233 2019-02-15 Elia Tarasov - fix D-component of magnetic field for Zurich according to WMM2015
2019-02-22 21:32:20 +00:00
Beat Küng
64f29fdff8
Tools/sitl_gazebo: update submodule
...
Includes https://github.com/PX4/sitl_gazebo/pull/283
2019-02-19 08:43:42 +01:00
Julian Oes
18f7ee2d50
jMAVSim: update submodule, use -lockstep CLI arg
...
This updates the jMAVSim submodule which includes a fix for HITL.
In order to fix HITL, a CLI argument `-lockstep` was required to enable
lockstep. This has now been added to the command in jmavsim_run.sh.
2019-02-18 20:25:50 +00: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
Daniel Agar
05dc2ba3ec
update px4 dev containers to 2019-02-09
...
- this updates all containers except for px4-dev-snapdragon
2019-02-10 17:33:17 -05:00
Daniel Agar
7c3999e00e
update mavlink and sitl_gazebo to latest with odometry velocity covariance
2019-02-10 16:32:59 -05:00
Beat Küng
4452669614
module documentation: add support for subcategories
2019-02-08 09:29:46 +01:00
Beat Küng
d8b013355c
PRINT_MODULE_USAGE_PARAM_{INT,FLOAT}: add support to ignore the default value
2019-02-08 09:29:46 +01:00
Daniel Agar
25b4b63364
check_submodules.sh don't force update in CI
2019-02-05 14:47:58 -05:00
Daniel Agar
205b0d94ca
Update submodule sitl_gazebo to latest Tue Feb 5 12:38:27 UTC 2019 ( #11377 )
...
- sitl_gazebo in PX4/Firmware (6178ead6ea ): https://github.com/PX4/sitl_gazebo/commit/12fb19ac6e7695ffc3dc9a64fcdd8499a522bd80
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/34d06e042c9dbd336899dbba373e32a6f19828b7
- Changes: https://github.com/PX4/sitl_gazebo/compare/12fb19ac6e7695ffc3dc9a64fcdd8499a522bd80...34d06e042c9dbd336899dbba373e32a6f19828b7
34d06e0 2019-02-05 Tully Foote - create plane_cam world
93159f3 2019-02-01 TSC21 - CMakeLists: install package.xml
c5882f7 2019-01-31 Anthony Lamping - models: plane: split up, adding plane_cam
38fe49a 2019-02-01 TSC21 - Travis CI: do not pass user id env var to the container
0f1221b 2019-02-01 TSC21 - Travis CI: update Ubuntu container tags
bab0de9 2019-01-31 Anthony Lamping - models: remove matrice 100 opt flow meshes
0efbe69 2019-01-23 Oleg Kalachev - Fix building on macOS
2019-02-05 11:58:22 -05:00
Lorenz Meier
3d3a98c803
Add script to set the correct ulimit on Mac OS ( #11247 )
2019-02-05 10:19:55 -05:00
Julian Oes
027d7e632e
sitl_multiple_run.sh: fix port description
...
This has changed as we changed to TCP with the lockstep implementation.
2019-01-30 09:51:30 +01:00
Daniel Agar
0f386ee52a
update all docker containers to latest 2019-01-27
...
- Jenkins compile drop arch until container is updated and maintained
- clang-tidy disable for now, the new version isn't respecting the existing configuration
2019-01-28 13:08:58 -05:00
Angel
7097c0a1b8
Fixed small bug in batch_process_metadata_ekf.py
2019-01-28 08:09:26 +01:00
Daniel Agar
e89779364e
Jenkins update px4-dev-base to 2019-01-26
2019-01-27 21:10:48 -05:00
PX4 Build Bot
cc68775def
Update submodule jMAVSim to latest Wed Jan 23 00:37:45 UTC 2019
...
- jMAVSim in PX4/Firmware (3a7deefe6e ): https://github.com/PX4/jMAVSim/commit/5150bbab6ea3e13907d2ff9eadd2c293d2477d49
- jMAVSim current upstream: https://github.com/PX4/jMAVSim/commit/00bdf6d92b6a8678f5b683a3ebca9e52e88cb5ce
- Changes: https://github.com/PX4/jMAVSim/compare/5150bbab6ea3e13907d2ff9eadd2c293d2477d49...00bdf6d92b6a8678f5b683a3ebca9e52e88cb5ce
00bdf6d 2019-01-21 Beat Küng - jMAVLib: update submodule
2019-01-23 08:23:25 +01:00
Daniel Agar
843443248e
move modules/systemlib to lib/systemlib
2019-01-23 08:23:03 +01:00
Beat Küng
b6ba7b655a
sitl_run.sh: fix for debugger & valgrind invocation: use eval
...
Because $sitl_command contains quotes
2019-01-14 11:08:48 +01:00
Julian Oes
2e3fa30c83
sitl_gazebo: update to revision that doesn't abort on timeout ( #11196 )
...
* this should fix the CI failures where we intermittently saw SIGABRT. (fixes #11144 )
2019-01-11 10:23:16 -05:00
Julian Oes
b0dd55e80b
jMAVSim: update submodule
...
This should fix:
- HITL regression (Init MAVLink forever).
- Starting using default arguments.
2019-01-08 09:49:47 -05:00
PX4 Build Bot
2a7fe22a04
Update submodule sitl_gazebo to latest Wed Dec 26 12:37:45 UTC 2018
...
- sitl_gazebo in PX4/Firmware (1f9b833342 ): https://github.com/PX4/sitl_gazebo/commit/c90e8ad2b27b95dc0b4c45b346509477c5fa593d
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/e945745021a74ae45695a624dfc114a5c7bbd6bc
- Changes: https://github.com/PX4/sitl_gazebo/compare/c90e8ad2b27b95dc0b4c45b346509477c5fa593d...e945745021a74ae45695a624dfc114a5c7bbd6bc
e945745 2018-12-26 Julian Oes - worlds: fix rate for tailsitter and plane
46a3d27 2018-12-14 Jörg Schmidt - Fix bug in groundtruth altitude calculation
2018-12-26 11:06:26 -05:00
Julian Oes
dd54b3a511
jMAVSim: update submodule
...
Now that this is merged to master in jMAVSim.
2018-12-22 10:32:18 +01:00
Julian Oes
736599f362
sitl_gazebo: updated submodule
...
This is just because the branch got merged.
2018-12-22 10:32:18 +01:00
Julian Oes
2d7299043d
sitl_gazebo: update submodule
...
This should fix a race because the use of future/promise wasn't done in
a thread-safe way.
2018-12-22 10:32:18 +01:00
Julian Oes
6435db37c6
sitl_gazebo: update submodule
...
An include was missing.
2018-12-22 10:32:18 +01:00
Julian Oes
73c22bd60e
sitl_gazebo: updated submodule
...
This fixes a HITL bug and uses promise/future instead of sleeping.
2018-12-22 10:32:18 +01:00
Julian Oes
8faf28918c
sitl_gazebo: update submodule
...
This brings build fixes for Gazebo 7.
2018-12-22 10:32:18 +01:00
Julian Oes
f03e938953
sitl_gazebo: updated submodule
...
This fixes all world files at 250 Hz simulation rate.
2018-12-22 10:32:18 +01:00
Julian Oes
a7c2adc877
sitl_gazebo: update submodule
...
This brings support for TCP and lockstep.
2018-12-22 10:32:18 +01:00