Commit Graph

658 Commits

Author SHA1 Message Date
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 012a66787f Fix includes in px4_tasks.h 2015-12-01 13:10:41 +01:00
Lorenz Meier f32569211d PX4 tasks: Code style fixes 2015-12-01 12:44:33 +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 ffdf5076dd PX4 tasks: Add px4_prctl API 2015-12-01 12:05:15 +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
Lorenz Meier 9ee4760fe0 Barosim: Simplify to a plain loop without reschedules or sub interfaces. Behaves now. The DriverFramework needs closer inspection for busy-running threads. 2015-11-30 00:41:46 +01:00
Lorenz Meier c28f394c3c Gyro sim: Remove unused perf counter 2015-11-29 13:42:42 +01:00
David Sidrane 731daec744 Added missing conditional compilation control for FMUV4 2015-11-28 09:13:15 +01:00
Erik de Castro Lopo 5e9a8d0c03 Baro sim: Add missing initializers 2015-11-26 13:29:11 +11:00
Lorenz Meier e7d2295565 Bumped max SITL args to 10 2015-11-25 22:01:35 +01:00
Lorenz Meier 176fb3b185 Gyrosim: Code style fix 2015-11-25 11:16:28 +01:00
Lorenz Meier 24767547e9 Baro sim: Code style fix 2015-11-25 11:16:16 +01:00
Lorenz Meier 6a80d8b3dc Baro sim: Code style fix 2015-11-25 11:16:00 +01:00
Lorenz Meier 58aa8107de Accelsim: Code style fix 2015-11-25 11:15:43 +01:00
Mark Charlebois f3126e9d3a Fixes for DriverFramework, accelsim and gyrosim
DriverFramework was updated to properly delete nodes in managed lists.

Baro was fixed to use DriverFramework.

Accelsim was fixed with change to DriverFramework to return < 0 when start()
is called and the driver was already started, or stop() is called but the
driver was not running.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-24 22:46:20 -08:00
Mark Charlebois 1aeca4f64d Fixed code format and removed unused std::list
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 23:09:10 -08:00
Mark Charlebois 0a8075ee33 Fixed accelsim
Accelsim runs the accel and mag separately now.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:30:33 -08:00
Lorenz Meier a7cb170cc4 PX4 semaphores: Formatting fix 2015-11-23 22:05:17 +01:00
Lorenz Meier 86a66fe771 POSIX Formatting change 2015-11-23 21:50:51 +01:00
Lorenz Meier 1b91f78430 Add timed wait semaphore 2015-11-23 19:51:15 +01:00
Lorenz Meier e2894c4a46 Added timed wait semaphore 2015-11-23 19:50:44 +01:00
Lorenz Meier 2730d8ab20 Fix HRT init compile error 2015-11-22 15:50:14 +01:00
Lorenz Meier f6a6c41af5 POSIX: More Travis compile fixes 2015-11-22 15:30:36 +01:00
Lorenz Meier 17882cee78 Fix Travis build error 2015-11-22 15:17:07 +01:00
Lorenz Meier 65cca56c29 Code style fix 2015-11-22 14:07:27 +01:00
Lorenz Meier 9c13e4c4be Fix race in task create 2015-11-22 14:01:52 +01:00
Lorenz Meier 734ec9094e Posix tasks: Initialization and locking 2015-11-22 14:01:52 +01:00
Lorenz Meier e3b13e1324 HRT: initialize queue 2015-11-22 14:01:52 +01:00