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
Mark Charlebois
be0c5aaef5
Fixed documentation for decode_backtrace.py
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:37:55 -08:00
Mark Charlebois
08714d2c75
Fixed whitespace
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:31:50 -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
Mark Charlebois
5f4ee6ad9d
Fixed decode_backtrace.py to return proper index
...
The algorithm was returning the function after the desired function
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:30:33 -08:00
Mark Charlebois
92e47eba76
Added tool to decode stack backtraces
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:30:33 -08:00
Lorenz Meier
da47e8ade8
Validator: Reset error state if no error condition triggers
2015-11-24 00:11:49 +01: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
f42b338f16
VDev: Switch to a timed wait semaphore
2015-11-23 19:51:45 +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
fb24a54ca4
SITL run: Always execute cleanup action
2015-11-23 13:51:18 +01:00
Lorenz Meier
23cfe5c41f
SITL run: Abort on first error
2015-11-23 13:38:05 +01:00
Lorenz Meier
5b278b0b15
Update Gazebo version
2015-11-23 12:45:08 +01:00
Lorenz Meier
6b5ba23db8
Makefile: Extend make clean with submodule sync which will save some developers
2015-11-23 12:41:44 +01:00
Lorenz Meier
0ec334128c
Gazebo tailsitter config: Start correct RGB sim
2015-11-23 12:41:13 +01:00
Lorenz Meier
885635ed0c
Gazebo iris config: start correct RGB sim
2015-11-23 12:40:54 +01:00
Lorenz Meier
4ae15e3d84
SITL run: Better Gazebo output, less CMake warnings
2015-11-23 12:40:33 +01:00
Lorenz Meier
35af171575
Update sitl_gazebo version
2015-11-23 10:41:41 +01:00