Lorenz Meier
da190f31fe
SITL: Use stable version for gazebo
2015-12-01 12:30:13 +01:00
Lorenz Meier
4beef62337
Update sitl_gazebo repo
2015-12-01 12:18:40 +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
d5541ee2a7
sdlog2 writer: Use new prctl syntax
2015-12-01 12:01:52 +01:00
Lorenz Meier
58d5fdc853
Simulator: All app names are lowercase!
2015-12-01 12:01:31 +01:00
Lorenz Meier
eb64a6813f
Sim MAVLink: Return correct type, remove very uninformed comment
2015-12-01 12:01:10 +01:00
Lorenz Meier
05d5292641
MAVLink receiver: Set thread name
2015-12-01 11:56:49 +01:00
Lorenz Meier
1feb30fd39
commander: Set process name on all OS
2015-12-01 11:53:59 +01:00
Lorenz Meier
aa36e54c93
VDEV: More active reporting
2015-12-01 11:53:00 +01:00
Lorenz Meier
5126f81aed
Fix corner cases in timing and in handling poll list iteration in VDEV posix
2015-12-01 10:28:49 +01:00
Lorenz Meier
4b319d2fc6
PWM out sim: Fix corner cases in startup and timeout handling
2015-12-01 10:28:24 +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
989b65912b
jMAVSim: Drop sim rate to 400 Hz
2015-11-30 00:40:41 +01:00
Lorenz Meier
a9fb11829f
Commander: Fix scheduling so its not running at higher prio than control apps
2015-11-29 18:50:02 +01:00
Lorenz Meier
65002d279f
Commander: Allow setting home position faster
2015-11-29 18:49:58 +01:00
Lorenz Meier
3c26ca99a0
Q estimator: Increase phase margin
2015-11-29 18:45:48 +01:00
Lorenz Meier
c28f394c3c
Gyro sim: Remove unused perf counter
2015-11-29 13:42:42 +01:00
Lorenz Meier
f4f143927f
MPU9K: Remove unused perf counter
2015-11-29 13:41:17 +01:00
Lorenz Meier
44d32a31d1
MPU6K: Remove unused perf counter
2015-11-29 13:41:02 +01:00
Lorenz Meier
2341d56927
Merge pull request #3278 from erikd/driver_framework
...
Driver framework
2015-11-27 08:15:51 +01:00
Erik de Castro Lopo
67d61488da
sensors: Initialize _parameters
2015-11-27 17:51:12 +11:00
Erik de Castro Lopo
fb4bf7c59c
MAVLink: Fix call to orb_advertise_multi
...
Previously, pointer to an uninitialized int was being passed as the
instance pointer. Now we pass a NULL pointer instead and the code
being called will use the default instance value of zero.
2015-11-27 17:51:12 +11:00
Erik de Castro Lopo
6c2c2b19a7
MAVLink: Only update rx count on successful read
2015-11-27 17:51:12 +11:00
Erik de Castro Lopo
0b3889e2e3
INAV: Valgrind fix
...
Make sure `struct position_estimator_inav_params params` is properly initialized.
At first there was no indication that this struct was un-initialized because valgrind
was issuing warnings about values that were derived (via float calculations) from
values in this struct. Maybe instruction re-ordering during optimization caused
this disconnect between the source of the problem and the symptom.
2015-11-27 17:51:12 +11:00
Lorenz Meier
1c6a7fb360
Merge pull request #3276 from erikd/driver_framework
...
Two uninitialized data fixes
2015-11-26 09:22:12 +01:00
Erik de Castro Lopo
4f7ab6f4f3
uORBManager: Make orb_check fail safely
...
The `orb_check` function takes a pointer to a `bool` which it then passes
to `px4_ioctl`. However, if the call to `px4_ioctl` fails, the bool
doesn't get updated (neither set nor cleared). Therefore, in `orb_check`
we explicitly set the bool to `false` before passing the pointer to
`px4_ioctl`.
2015-11-26 15:42:09 +11:00
Erik de Castro Lopo
5e9a8d0c03
Baro sim: Add missing initializers
2015-11-26 13:29:11 +11:00
Erik de Castro Lopo
87202a08b1
Navigator: Reorder data members to fix valgrind warnings
...
During construction of an Navigator object, a pointer to the incomplete
object was passed to the RTL constructor which then called a method on
the incomplete Navigator object accessing uninitialized data.
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
Lorenz Meier
c1a2d19459
MAVLink Sim: Use time delta
2015-11-25 11:13:32 +01:00
Lorenz Meier
1216efc5b4
Estimator Q: Fixed code style
2015-11-25 11:12:36 +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
Lorenz Meier
17caae00aa
Attitude estimator Q: Add performance counters for delay
2015-11-24 14:24:18 +01:00
Lorenz Meier
bd4497f883
Simulator: Add performance counters for delay
2015-11-24 14:23:59 +01:00
Lorenz Meier
1de4403686
Enable perf command
2015-11-24 14:23:42 +01:00
Lorenz Meier
d4c8be3933
Update driver framework with fixed DF list deletion
2015-11-24 09:29:00 +01:00
Lorenz Meier
92d701a1fe
Fix Travis syntax
2015-11-24 09:03:55 +01:00
Lorenz Meier
6ccdc2c6fa
Fix Travis
2015-11-24 08:52:29 +01:00
Mark Charlebois
36208255bd
Address Sanitizer found delete vs delete[] issue
...
mavlink_main.cpp used new char[n] and delete vs delete[].
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 23:23:02 -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