1017 Commits

Author SHA1 Message Date
Beat Küng
873e036e85 px_romfs_pruner: reduce multiple consecutive spaces into a single space for mixers (#9457)
Reduces FLASH usage by about 3kb.

Plus add a missing cmake dependency.
2018-05-14 14:05:29 -04:00
TSC21
7220fb1b21 update sitl_gazebo submodule 2018-05-11 14:25:28 +02:00
Matthias Grob
58dd7be12a Cygwin: enable arm nuttx upload within cygwin
In the Cygwin environment the native Windows serial COM# ports get mapped
to /dev/ttyS# for POSIX compatibility. While # is one number lower inside
the environment than the COM port number because it's 0 indexed instead
of 1.

I added the necessary handling to all the dependent parts I found which
allows uploading to /dev/ttyS# when the cygwin platform is detected.
Now the usual "make px4fmu-v4 upload" and
"./Tools/upload.sh build/px4fmu-v4_default/px4fmu-v4_default.px4" work.
2018-05-09 11:31:42 +02:00
Matthias Grob
2c56ceec93 astyle: switch condition to empty string check
Thanks to @bkueang 's review comment I switched to an explicit check for
an empty sting instead of a condition that could be theoretically true
in other cases and is less readable.

Type "man test" on your terminal to read up what -n stands for.
2018-05-09 07:54:22 +02:00
Matthias Grob
72db7d3396 astyle: fix display language dependency
The shell script which checks the style relies on greping for the
keyword "Formatted" in the output of astyle. But the program has
localization support and will output in other languages e.g. german.
This leads to all style checks always succeeding. I only tested this
on Windows in Cygwin but I can imagine the problem also exists in
non-english Ubuntu installations.

Solution is the parameter --formatted of astyle which only produces
any output if there was something to fix. This allows for a display
language independent condition for an empty string inside the shell
script.
2018-05-09 07:54:22 +02:00
johannes
b98cd6ecb5 ecl-ekf tools: separate the analysis from the visualization and preprocessing
- move the analysis parts of the process_logdata_ekf script to
the 'analyse_ekf' function in a new file analyse_logdata_ekf.py
- return a test_results dictionary from analyse_ekf
- still process log loading, preprocessing and results file output in
process_logdata_ekf
- add command line argument to toggle plotting
- add command line argument to use different dictionary to check_level_dict.csv
2018-04-27 22:34:17 +02:00
johannes
a0b4bbed5e ecl-ekf tools: clean up - move code to correct scope
- move code that is needed for general analysis out of plot scope
2018-04-27 22:34:17 +02:00
Beat Küng
e46e6f99f3 module template: move documentation to a new category 'template' (#9324) 2018-04-18 08:53:52 -04:00
PX4 Jenkins
8c9b941e60 Update submodule sitl_gazebo to latest Fri Apr 13 20:26:27 CDT 2018
- sitl_gazebo in PX4/Firmware (4ffa98aa2a1418c9eab5bf72ec6f0e93ef2f9860): 28921bca9d
    - sitl_gazebo current upstream: 0df46c53b1
    - Changes: 28921bca9d...0df46c53b1

    0df46c5 2018-04-13 Tully Foote - Only use catkin env hook command if building with catkin.
38c0d07 2018-04-12 Tully Foote - Add package to GAZEBO_RESOURCE_PATH to make the worlds accessible.
5811488 2018-04-11 Tully Foote - updating OpticalFlow submodule
7c79bd7 2018-04-10 Tully Foote - Add environment hooks to export paths for plugins and resources.
2018-04-13 23:21:05 -04:00
PX4 Jenkins
5a93f07829 Update submodule sitl_gazebo to latest Mon Apr 2 17:13:58 UTC 2018
- sitl_gazebo in PX4/Firmware (d05bc28576ad99973ac59af3d4f7c81289519bcc): 7c5a7bb226
 - sitl_gazebo current upstream: 28921bca9d
 - Changes: 7c5a7bb226...28921bca9d

28921bc 2018-03-27 amy wagoner - Added fpv_cam.sdf as an exception.
c84d79c 2018-03-26 amy wagoner - removed unexpected element 'torsional'
4d777a7 2018-03-26 amy wagoner - Removed 'pose frame'
771265b 2018-03-26 amy wagoner - Added iris fpv world.
016a612 2018-03-26 amy wagoner - Added generic camera model and iris fpv model.
2018-04-02 13:43:47 -04:00
PX4 Jenkins
9fc1755c33 Update sitl_gazebo submodule Sun Apr 1 00:19:14 UTC 2018 2018-03-31 21:54:00 -04:00
Daniel Agar
ebed380998 process_logdata_ekf don't use Xwindows backend 2018-03-30 18:54:04 -04:00
Daniel Agar
2e207801d8 ecl process logdata script always use correct check_level_dict path 2018-03-30 18:54:04 -04:00
Daniel Agar
04ecc81a70 docker images update to 2018-03-30 tag 2018-03-30 15:49:41 -04:00
Julian Oes
e08ab0646f sitl_gazebo: update submodule
This brings Gazebo 9 compatibility.
2018-03-28 16:26:54 +02:00
ksschwabe
500a1c808d ROMFS list files explicitly instead of using GLOB_RECURSE (#9107)
* Lists ROMFS files explicity instead of using GLOB_RECURSE

Previously, when ROMFS files that were not airframes were touched, the ROMFS
would not be rebuilt. The ROMFS files are now specified explicityl in a
CMakeLists.txt file that is located in the root ROMFS directory.

Now when one of the ROMFS files is touched the whole ROMFS is rebuilt.

When new files are added to the ROMFS, they need to be explicity added to
the CMakeLists in the ROMFS root directory.

* ROMFS: adds individual CMakeLists files in each subdirectory

Also moves the temporary ROMFS build directory to ${PX4_BINARY_DIR}/ROMFS/genromfs
so that the cmake_install.cmake files and the CMakeFiles directories (generated whenever
are not add_subdirectory() is called) are not generated in the temporary ROMFS directory
from which the ROMFS binary is created.

* cmake ROMFS generate add px4_add_romfs_files function

* ROMFS CMakeLists: adds explanatory comment to px4_add_romfs_files function

* ROMFS CMakeLists: updates copyright headers
2018-03-26 11:19:00 -04:00
Beat Küng
d75087572c jMAVSim: update submodule
Fixes a mavlink 2 parsing bug
2018-03-22 08:27:27 +01:00
Roman
49e349c753 updated sitl_gazebo: small tiltrotor fix to enable turns
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-27 16:28:22 +01:00
Julian Oes
38e5a06136 jMAVSim: update submodule again
This gets rid of a printf.
2018-02-26 10:37:34 +01:00
PX4 Jenkins
91d6f35fc8 Update jmavsim submodule Sat Feb 24 23:05:44 CST 2018 2018-02-25 19:07:23 +01:00
ChristophTobler
6a987b5a15 update submodule sitl_gazebo to include isinf() fix 2018-02-23 09:10:39 +01:00
Roman
a1f169f752 updated sitl_gazebo for tiltrotor support
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-22 15:10:22 -05:00
Daniel Agar
97815df1a8 uorb_graph update fw_att_control special case 2018-02-21 21:07:29 -05:00
Julian Oes
a6e863ac89 sitl_gazebo: updated submodule (#8917)
* This includes the new basic camera control.
2018-02-19 09:28:34 -05:00
Roman
d63a8033d0 updated sitl_gazebo: tailsitter fixes
Signed-off-by: Roman <bapstroman@gmail.com>
2018-02-13 20:47:40 -05:00
Beat Küng
782ed5d324 modules documentation script: add anchor for '### Usage' sections
So that they are unique.
2018-02-09 09:53:25 -05:00
johannes
b69a4df20c tools-ecl-ekf: remove commas to prevent csv file import errors
- remove commas from a csv table file string to avoid import errors
2018-02-08 17:18:41 +01:00
ChristophTobler
bce08334d0 update sitl_gazebo submodule
includes range finder topic fix
2018-02-08 17:05:26 +01:00
Lorenz Meier
0413f407a5 Gazebo: Update to fix geotagging 2018-02-07 08:09:18 +01:00
johannes
26f9e56014 change short option for overwrite to be a single letter 2018-02-05 15:34:03 +01:00
johannes
5357d680d2 print "skipping files" information to console 2018-02-05 15:34:03 +01:00
johannes
0e82e2ec67 update the batch process script for the ekf analysis tool to support resumed analysis:
- ulog files are skipped from the analysis, if a corresponding .pdf file already exists
	- an overwrite flag can be set to analyse all the files
2018-02-05 15:34:03 +01:00
Julian Oes
d646abcee7 px_uploader: improve silicon check
- Move check to proper location, out of the try catch block for OTP.
- Add Pixhawk specific check to notify users that want to flash
  px4fmu-v3_default on Pixhawks with older v4 bootloaders that do not
  support the silicon errata check.
2018-02-04 18:14:51 +01:00
Julian Oes
a1ab84e5b9 px_uploader: make rev check a bit more intuitive 2018-02-04 18:14:51 +01:00
Lorenz Meier
6d00de7b25 Uploader: Move flash size check into appropriate bootloader version region 2018-02-04 18:14:51 +01:00
Lorenz Meier
df32297162 Gazebo SITL: Make Rospack optional 2018-02-03 19:20:51 +01:00
Julian Oes
d175a75691 px_uploader: fix Python3 upload
This fixes the error below when using Python3:

  File "Tools/px_uploader.py", line 128, in
  __init__
      self.image.append('\xff')
      TypeError: an integer is required
2018-02-03 09:33:13 -05:00
Daniel Agar
102c0ead53 cmake consolidate px4 executable builds and upload 2018-02-01 09:00:13 -05:00
Daniel Agar
2ff81393bc move posix, nuttx, qurt components into platforms 2018-01-31 17:17:07 +01:00
PX4 Jenkins
a916a6c2db Update sitl_gazebo submodule Wed Jan 31 00:19:55 UTC 2018 2018-01-31 01:36:11 -05:00
ChristophTobler
c272feb71d update sitl_gazebo submodule 2018-01-28 21:07:48 +01:00
ChristophTobler
1f5d6c7117 update sitl_gazebo submodule to include opt_flow fixes 2018-01-27 10:04:16 -05:00
Beat Küng
44d0cba6aa modules documentation: ignore comments in source files 2018-01-27 00:43:04 +01:00
PX4 Jenkins
ca6d8fefd8 Update sitl_gazebo submodule Fri Jan 26 14:19:36 CST 2018 2018-01-26 15:41:49 -05:00
PX4 Jenkins
9a32ca2307 Update sitl_gazebo submodule Wed Jan 24 00:19:13 UTC 2018 2018-01-24 08:27:49 +01:00
Beat Küng
e11008f30e px_uploader: minor text message update 2018-01-17 10:14:04 +01:00
ritul jasuja
fed06955bc Update debug message as per connection link 2018-01-17 10:10:33 +01:00
PX4 Jenkins
49c838ffeb Update sitl_gazebo submodule Mon Jan 15 18:19:28 CST 2018 2018-01-15 19:53:36 -05:00
Daniel Agar
9b5ae1ef7a NuttX upgrade default compiler to GCC 7 2018-01-15 12:57:29 -05:00
Paul Riseborough
b2046ffd6b Tools: fix errors in thermal calibration script 2018-01-15 08:38:54 +01:00