Lorenz Meier
9d670dd877
LL40LS: Fixed code style
2015-10-19 13:14:00 +02:00
Lorenz Meier
ca4982a6e8
HoTT: Fixed code style
2015-10-19 13:13:43 +02:00
Lorenz Meier
236a423edd
Fixed MPU6K code style
2015-10-19 13:12:32 +02:00
Lorenz Meier
9a33e6e2aa
Fixed MPU9250 formatting
2015-10-19 10:08:17 +02:00
Lorenz Meier
eb6553d923
Fix POSIX backtrace compile
2015-10-19 09:48:27 +02:00
Mark Charlebois
8e82ced5a4
Added backtrace function
...
Added PX4_BACKTRACE() to display stack trace for debugging
Added backtrace for HRT reschedule with 0 timeout
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-10-19 09:41:49 +02:00
Lorenz Meier
25dfa31374
Mixer: Fix code style
2015-10-19 09:37:01 +02:00
Roman
0158821670
protect from zero division
2015-10-18 21:48:59 +02:00
Lorenz Meier
c4f9318e75
Q attitude estimator: Prevent division by zero
2015-10-18 15:49:01 +02:00
Lorenz Meier
08e37f79dc
Introduce jMAVSim as submodule
2015-10-17 17:33:27 +02:00
Lorenz Meier
507f4d8df5
Merge branch 'velocity_control'
2015-10-16 18:58:24 +02:00
Youssef Demitri
efe82194af
ported control state attitude into mc_pos_ctrl
2015-10-16 16:03:25 +02:00
Youssef Demitri
069c6a82cb
Merge branch 'master' of github.com:wingtra/Firmware into control_state
2015-10-16 15:50:29 +02:00
tumbili
b3f912ecc1
reset position setpoint when in velocity control mode
2015-10-16 12:38:53 +02:00
v01d
8133f8d616
disable pos/alt controllers when following velocity setpoints in offboard mode
2015-10-16 11:13:52 +02:00
v01d
44bb50e9ea
separate _DZ parameter to XY and Z. this allows disabling pos hold for XY and not Z
2015-10-16 11:13:52 +02:00
v01d
9c49b30118
run position controller in main_task, otherwise position setpoints will not be followed
2015-10-16 11:13:52 +02:00
v01d
c010962861
change unit of MPC_HOLD_DZ parameter to "%"
2015-10-16 11:13:52 +02:00
v01d
42ccc654b5
fix float comparison to 0.0f
2015-10-16 11:13:52 +02:00
v01d
da3087e54c
expose pos-hold parameters (also allows different behaviours)
2015-10-16 11:13:52 +02:00
v01d
324c27b941
velocity control implemented: tested in SITL under manual mode
2015-10-16 11:13:52 +02:00
tumbili
759d2a3dff
mc position control:
...
- directly use commanded velocity for control
- use position error to derive desired velocity when in position hold mode
2015-10-16 11:13:52 +02:00
Lorenz Meier
7ce0cbd8cb
Complete HW test instructions
2015-10-16 09:51:31 +02:00
Lorenz Meier
104f38eea8
MC position controller: Guard against invalid setpoints
2015-10-15 22:38:58 +02:00
tumbili
99c1ae12eb
fix limiting of dt
2015-10-15 16:06:42 +02:00
Lorenz Meier
73e9d27acf
Fix incorrect addition of G to attitude EKF
2015-10-15 11:13:24 +02:00
Lorenz Meier
a3552896ca
Fix bug in accel integrator handling in mavlink interface
2015-10-15 09:32:13 +02:00
Lorenz Meier
3105b49b22
FW Pos control: Avoid no symbols warnings
2015-10-14 22:36:19 +02:00
Lorenz Meier
ee77ff4830
FW Att control: Avoid no symbols warnings
2015-10-14 22:36:01 +02:00
Lorenz Meier
e20c683896
Navigator: Advoid no symbols warning
2015-10-14 22:34:24 +02:00
Lorenz Meier
02a21aac04
Fix signed compare for CLANG
2015-10-14 22:31:56 +02:00
Lorenz Meier
b126f00052
Merged master
2015-10-14 22:07:49 +02:00
Lorenz Meier
dbcb226de6
Sensors: Ensure all mag rotations are visible to the GCS
2015-10-14 20:11:00 +02:00
Lorenz Meier
5f69857a57
Merge branch 'master' of github.com:PX4/Firmware
2015-10-14 20:03:18 +02:00
Lorenz Meier
53bbe1920d
Navigator: Make error message less cryptic
2015-10-14 20:02:27 +02:00
Lorenz Meier
336ca86117
Commander: Ensure primary sensor is present if configured
2015-10-14 20:02:02 +02:00
Lorenz Meier
5434d1a9ff
sensors app: Finish preflight update
2015-10-14 19:35:12 +02:00
Lorenz Meier
53ff04e016
Commander: Finish preflight update for prime sensor IDs
2015-10-14 19:35:12 +02:00
Lorenz Meier
e5bb1cff91
Store primary sensor ID to allow cross-check of calibration on next boot
2015-10-14 19:35:12 +02:00
Lorenz Meier
a7c6a343c6
Commander: Do not enforce sensor order, only enforce that all present sensors need to be calibrated.
2015-10-14 19:35:12 +02:00
Lorenz Meier
7238916d03
Sensors: Reload calibration whenever a new sensor instance is detected
2015-10-14 19:35:12 +02:00
Lorenz Meier
ca5e1bd62b
Drivers: Add calibration check IOCTL, not implemented yet in sensor drivers.
2015-10-14 19:35:12 +02:00
Daniel Agar
8e039c4079
cmake uavcan remove whitespace
2015-10-14 12:13:33 -04:00
Lorenz Meier
626edc6a8d
EKF: Add error macro when running into errors
2015-10-14 18:06:41 +02:00
Lorenz Meier
110a630cbd
Fix PX4 log to show error
2015-10-14 18:06:28 +02:00
Lorenz Meier
b83f56bc1d
sdlog2: Allocate log buffer as needed, not on start. This allows the system to leverage the log buffer RAM for UAVCAN first
2015-10-14 17:31:09 +02:00
Lorenz Meier
88a4d0deca
EKF: Reduce excessive stack size
2015-10-14 14:27:49 +02:00
Lorenz Meier
21431cf237
EKF: Fix output commands, fix stack size for commandline tool so we do not run out of space during debug printing
2015-10-14 14:08:03 +02:00
Lorenz Meier
cff6cde47b
UAVCAN: Set default optimization level to -Os because comm protocols should not hog the flash or RAM.
2015-10-14 14:07:17 +02:00
Lorenz Meier
ae65269de9
UAVCAN: Increase stack since its hitting almost the limit
2015-10-14 14:06:42 +02:00