Commit Graph

642 Commits

Author SHA1 Message Date
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
Lorenz Meier c003305472 HRT thread: Fix style 2015-11-22 14:01:52 +01:00
Lorenz Meier cda3c28661 HRT driver: Initialize work struct 2015-11-22 14:01:52 +01:00
Lorenz Meier 274eb39208 Tone alarm: Reset work when resetting notes 2015-11-22 14:01:52 +01:00
Lorenz Meier 0a883fd11d HRT thread: Do not make implicit assumptions about struct members 2015-11-22 14:01:52 +01:00
Lorenz Meier 3af906b9a8 Ensure g_hrt_work is zero-initialized 2015-11-22 14:01:52 +01:00
Lorenz Meier a3e15e161c Gyro sim: do not spam output 2015-11-22 14:01:52 +01:00
Lorenz Meier 2749a57641 Add gyro instrumentation 2015-11-22 14:00:31 +01:00
Lorenz Meier 5a0c09c98d Merge branch 'master' into driver_framework 2015-11-22 13:59:01 +01:00
Roman de22fd4b4b SITL shell: do not save command if it replicates the previous one 2015-11-22 09:40:17 +01:00
Lorenz Meier a521066a0d Fixed accel sim code style 2015-11-21 17:47:18 +01:00
Lorenz Meier 6acb8850d4 Baro sim: Initialize to 100 Hz 2015-11-21 17:46:18 +01:00
Lorenz Meier 3b38004725 Accelsim: fix device ID 2015-11-21 17:45:40 +01:00
Lorenz Meier 4b56587188 Gyrosim: fix rate and device id, also output of info command 2015-11-21 17:45:06 +01:00
Lorenz Meier 7c7ef7f767 Fix system boot commandline handling 2015-11-21 17:10:43 +01:00
Lorenz Meier cbbdb8af9b Gyro sim: add missing call initializer 2015-11-21 14:23:15 +01:00
Lorenz Meier 4576e515e2 Merge branch 'master' into driver_framework 2015-11-20 09:46:25 +01:00