Commit Graph
297 Commits
Author SHA1 Message Date
Mark Charlebois dab1f835c7 Code cleanup and ifdefs required for qurt build
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.

Changes include code cleanup for shmem_posix.c.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois 8b22bde071 Code format fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois 0d62646ecb More bad merge fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 7fb5f4d45c Whitespace fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 304caead99 Fixed bad merge artifacts
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 014f15d8b0 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois a495e3442c Resolved missing symbols for qurt build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois fea910d45a Code cleanup and ifdefs required for qurt build
Code that was previously out of tree that was #if 0, is now #ifdef __PX4_QURT.
These changes were required for flight using the qurt build.

Changes include code cleanup for shmem_posix.c.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois 5846a22a8f Code format fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois c06d51d02a More bad merge fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois 7860c959a5 Whitespace fixes
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois ff1a38dba6 Fixed bad merge artifacts
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois 9f3bf8e9f4 Rebase changes on upstream master
This brings in many of the changes from the PX4 fork on ATLFLight.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Lorenz Meier 62d685440a Posix: Do not spam console with tone alarm 2016-02-09 21:46:10 +01:00
Lorenz Meier 39ee36a8ea Pre-empt HRT execution in SITL if simulator is slow 2016-02-05 09:24:59 +01:00
Lorenz Meier 5f93f04627 HRT: Fix code style 2016-02-05 09:16:53 +01:00
Lorenz Meier 61fac4a127 HRT: Support delay API 2016-02-05 00:53:08 +01:00
Julian Oes 166f6e2e7a posix sitl: bring the pxh back 2016-01-25 21:22:10 +01:00
Julian Oes 6ce5e1be49 posix sitl: don't exit if a command fails 2016-01-25 19:03:48 +01:00
Stefan 6e1bf506ad Update dq_rem.c
spelling mistakes
2016-01-11 08:37:43 +01:00
Stefan 41abe9221e Update main.cpp
spelling mistakes
2016-01-11 08:37:43 +01:00
Mark Charlebois 5bc2019fd5 Fixes for qurt build
Added missing functions that were added for other targets but not for qurt.

Added workaround for missing sem_timedwait(). This may have a performance
impact until a sem_timedwait is supported.

std::to_string is not supported by the hexagon compiler

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-01-08 08:49:36 +01:00
Lorenz Meier d0735eae25 Fix SITL Linux compile error 2015-12-22 13:28:42 +01:00
Lorenz Meier e18c497513 POSIX: Add missing header 2015-12-22 10:18:32 +01:00
Lorenz Meier 23e9693641 Allow chrooting the application 2015-12-22 09:48:11 +01:00
Lorenz Meier 2e10351fcc Fix HRT abstraction for Mac OS 2015-12-06 11:40:22 +01:00
Roman 644ce51956 gyrosim: calculate delta angles and delta velocities 2015-12-02 13:02:33 +01:00
tumbili f91af2221f fix sem error for linux 2015-12-01 16:51:38 +01:00
tumbili 33f85a5024 fixed unused variable 2015-12-01 15:01:15 +01:00
Lorenz Meier 905edfd9c9 HRT: Do not set thread name on Linux 2015-12-01 14:24:43 +01:00
Lorenz Meier 119c82de4e Baro sim: Code style fix 2015-12-01 14:14:47 +01:00
Lorenz Meier 2db915080c Linux compile fix 2015-12-01 14:14:17 +01:00
Lorenz Meier a880725bd7 Baro sim: Fix up struct use 2015-12-01 14:07:11 +01:00
Lorenz Meier c140c2b59c Baro sim: Ensure struct is initialized to zero 2015-12-01 13:58:28 +01:00
Lorenz Meier bc1639386b Fix compilation of baro sim on Linux 2015-12-01 13:54:37 +01:00
Lorenz Meier a54b40c457 Do not redefine GNU source in platform for POSIX 2015-12-01 13:50:12 +01:00
Lorenz Meier 754aa6e94f Work thread: Add missing header for Linux 2015-12-01 13:42:06 +01:00
Lorenz Meier 855dcf7069 Add missing header for Linux 2015-12-01 13:41:48 +01:00
Lorenz Meier a048832d55 HRT thread: Linux: Add missing macro 2015-12-01 13:35:54 +01:00
Lorenz Meier bd0fcfb07a Work queue: Fix for Linux build 2015-12-01 13:26:26 +01:00
Lorenz Meier 1b65bba083 Work queue: Code style fixes 2015-12-01 12:44:22 +01:00
Lorenz Meier 069ebebb27 PX4 layer: Code style fixes 2015-12-01 12:44:06 +01:00
Lorenz Meier 9fb2a408bf baro sim: Code style 2015-12-01 12:43:49 +01:00
Lorenz Meier f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
Lorenz Meier b170467a1d HRT thread: Set thread name 2015-12-01 12:04:53 +01:00
Lorenz Meier 79a030ec50 Work threads: Ensure they have proper names 2015-12-01 12:04:34 +01:00
Lorenz Meier 85079125f4 posix tasks: Add px4_prctl() call 2015-12-01 12:03:21 +01:00
Lorenz Meier 72287aab3f Main app: set thread name 2015-12-01 12:02:43 +01:00
Lorenz Meier cf17ef4d41 PX4 semaphores: Add excellent debugging output on failure for Mac OS 2015-12-01 10:28:05 +01:00
Lorenz Meier 0c2b6bf9d1 POSIX: Set the thread name for better debugging 2015-12-01 10:27:39 +01:00