px4-firmware/Tools
Carlo Wood 03d176d097 Bug fixes, typos, indentation.
Over time I made a few changes unrelated to what I'm really working on.
These changes are hereby committed first. The bug fixes are related to
what I'm doing in that I need them to be fixed for future commits.

Tools/sitl_run.sh: rename label to rcS_dir and fix usage help.
cmake/common/px4_base.cmake: Remove the check on OUT_UNPARSED_ARGUMENTS,
  and a few typos and indentation issues.
cmake/configs/posix_sitl_replay.cmake: Set the correct variable
  (config_sitl_rcS_dir) to the correct directory.
cmake/nuttx/px4_impl_nuttx.cmake: typos and indentation issues,
  and removal of a redundant FORCE (INTERNAL implies FORCE).
cmake/posix/px4_impl_posix.cmake: typos and indentation issues.
cmake/qurt/px4_impl_qurt.cmake: typos and indentation issues.
src/modules/mavlink/mavlink_ftp.cpp : possible strict-aliasing breakage.

NOTES

The second argument passed to sitl_run.sh is the value of
config_sitl_rcS_dir. This fact is missing from the usage help.
I renamed 'label' to 'rcS_dir' to better reflect this.
Also, for the 'replay' config the wrong variable was set causing
the call to sitl_run.sh to skip an argument and fail (ie the
debugger was passed as rcS_dir and so on).

The check on OUT_UNPARSED_ARGUMENTS in px4_parse_function_args
basically causes every passed IN variable to be REQUIRED and is
therefore a bug. The test for the presence of the REQUIRED arguments
follows directly after and is sufficient for this job. This bug went
unnoticed because currently every argument to OPTIONS, ONE_VALUE,
and MULTI_VALUE is actually passed to the function(s) calling
px4_parse_function_args (them being REQUIRED or not).

The changes in mavlink_ftp.cpp are to avoid a possible aliasing bug
and (mostly) to avoid the compiler warning/error: dereferencing type-
punned pointer will break strict-aliasing rules [-Werror=strict-aliasing].
2016-09-13 16:31:08 +02:00
..
Matlab Commander: updated mag calibration routine, matlab script updates 2015-06-25 14:44:24 +02:00
dist Update vehicle config mixer URLs 2015-07-02 22:29:19 +02:00
gencpp@26a86f04bc add genmsg and gencpp python modules, ros not required anymore for message generation 2014-12-04 16:40:46 +01:00
genmsg@72f0383f0e add genmsg and gencpp python modules, ros not required anymore for message generation 2014-12-04 16:40:46 +01:00
jMAVSim@744585dfa1 update jmavsim submodule 2016-09-06 16:25:13 +02:00
px4airframes Add helicopter airframe icon (#5234) 2016-08-04 17:26:17 +02:00
px4params Fix build errors (#5436) 2016-09-03 12:34:27 +02:00
sdlog2 Fix README name 2016-08-06 20:42:44 +02:00
sitl_gazebo@dd2dab4972 SITL: Tune standard VTOL to have better position control performance & update gazebo 2016-09-06 11:35:52 +02:00
.gitignore Rework px_process_params.py into a fully featured program. 2014-02-18 22:34:52 +01:00
adb_upload.sh adb_upload: try to sync after uploading (#4669) 2016-05-28 11:35:28 +02:00
adb_upload_to_bebop.sh Update bebop configuration and use parameters 2016-06-20 12:55:01 +02:00
airframes.xml Remove static airframe xml file 2015-07-31 11:27:43 +02:00
astylerc moving astyle options into astyle options file, adding sublime settings for astyle formatter plugin 2015-08-18 11:40:01 +02:00
boot_now.py Tools: added boot_now.py script 2015-03-14 21:12:24 +11:00
check_cmake.sh Fix CMake version check 2016-01-14 12:48:42 +01:00
check_code_style.sh filtering files for code check seperately to enable fast use of git pre-commit hook to check code style 2016-09-07 11:25:51 +02:00
check_code_style_all.sh filtering files for code check seperately to enable fast use of git pre-commit hook to check code style 2016-09-07 11:25:51 +02:00
check_submodules.sh MAVLink submodules: Add v2.0 protocol 2016-05-13 14:51:04 +02:00
clang-tool.sh rename Tools/rpi/clang-check.sh to Tools/clang-tool.sh 2016-08-18 16:11:05 +02:00
decode_backtrace.py Rename mainapp to px4. 2016-07-29 11:05:01 +02:00
fetch_file.py fetch_log.py renamed to fetch_file.py and reworked, works with all files, not only logs, added recursive directory download 2014-07-29 16:02:58 +02:00
files_to_check_code_style.sh filtering files for code check seperately to enable fast use of git pre-commit hook to check code style 2016-09-07 11:25:51 +02:00
fix_code_style.sh filtering files for code check seperately to enable fast use of git pre-commit hook to check code style 2016-09-07 11:25:51 +02:00
fsm_visualisation.py FSM visualisation script: cope with prefixed state names 2014-01-28 12:31:23 +01:00
generate_listener.py fix the bug for double space 2016-09-01 08:44:16 +02:00
jmavsim_run.sh Tools: add separate jmavsim_run.sh script 2016-09-13 11:30:38 +02:00
make_color.sh Add a compiler coloring tool to highlight warning and errors in the output. 2015-01-28 11:19:52 +01:00
mavlink_px4.py Update mavlink_px4.py 2016-01-11 08:37:43 +01:00
mavlink_shell.py Tools/mavlink_shell.py: implement a simple shell with history 2016-08-02 09:10:18 +02:00
parameters_injected.xml Fix param meta info 2015-11-12 11:33:36 +01:00
posix.gdbinit Added local position estimator. 2015-10-24 20:34:33 +02:00
posix_apps.py Tools: revived posix_apps.py and qurt_apps.py 2016-02-19 16:59:48 +01:00
posix_lldbinit POSIX: Provide lldb run target configuring lldb correctly 2015-09-20 15:06:55 +02:00
pre-commit filtering files for code check seperately to enable fast use of git pre-commit hook to check code style 2016-09-07 11:25:51 +02:00
px_generate_params.py Bugfix:#3167 Nested parameter files under xxxx/yyyy/zzzz/kkkk are considered in the scope of xxxx/yyyy 2016-05-01 13:47:41 +02:00
px_generate_uorb_topic_files.py Only Compile and create dependencies for the Messages specified in msg/CMakeLists.txt 2016-08-25 22:30:13 +02:00
px_generate_uorb_topic_helper.py orb message templates: move common code into px_generate_uorb_topic_helper.py 2016-05-14 11:27:07 +02:00
px_generate_xml.sh Make tools executable 2014-11-11 13:45:25 +01:00
px_mkfw.py Add firmware type to .px4 2016-03-05 20:33:16 +01:00
px_process_airframes.py restore px4fmu-v2_test 2016-05-13 13:01:41 +02:00
px_process_params.py restore px4fmu-v2_test 2016-05-13 13:01:41 +02:00
px_romfs_pruner.py ROMFS: Strip README files 2016-07-01 18:03:38 +02:00
px_update_wiki.sh Make tools executable 2014-11-11 13:45:25 +01:00
px_uploader.py Uploader: Make sure to warn about wrong board type 2016-01-21 09:34:54 +01:00
qgc_meta_sync.sh Add small script to sync meta data to QGC build 2016-04-29 11:02:29 +02:00
qurt_apps.py Tools: revived posix_apps.py and qurt_apps.py 2016-02-19 16:59:48 +01:00
scp_upload.sh scp_upload.sh: use ENV variable to set IP of RPi2 2016-06-25 12:00:49 +02:00
setup_gazebo.bash Improvements to SITL to make paths more flexible. (#5181) (#5255) 2016-08-25 21:47:45 +02:00
sitl_multiple_run.sh Rename mainapp to px4. 2016-07-29 11:05:01 +02:00
sitl_run.sh Bug fixes, typos, indentation. 2016-09-13 16:31:08 +02:00
uavcan_copy.sh Use _ prefix o uavcan files in ROMFS , simplify upgrade 2015-12-04 12:25:51 -10:00
upload.sh upload scripts: add TAP for the uploader script 2016-07-12 16:00:33 +02:00
usb_serialload.py Add USB load test from Mark Whitehorn 2014-11-03 08:39:16 +01:00