Matt Beall
220fb19eb7
Removed actuator_control_mode flags...Using pre-existing flags instead
2015-02-28 15:19:16 +01:00
Matt Beall
d7dc3a3ee8
Cleaned up some chunky code
2015-02-28 15:19:16 +01:00
Matt Beall
e2de72b882
Added offboard actuator controls flags to offboard control mode and vehicle control mode to disable controls in att_control apps
2015-02-28 15:19:16 +01:00
Thomas Gubler
2b2f7e9407
introduce offboard control mode topic
...
Replace offboard_control_setpoint with offboard_control_mode
Remove all setpoint data from the topic as it's not used anymore
(setpoint data is directly routed into position/attitude setpoint topics
for some time now)
Remove mode enum and replace with ignore booleans which map better to
the mavlink message
Mavlink: Rework parsing of offboard setpoints
Commander: in offboard mode set control flags based on ignore flags
instead of enum
2015-02-28 15:19:15 +01:00
Lorenz Meier
e4830eb53f
mag detection (sensors / commander): Default all sensors to internal, set the ones which have been found explicitely to zero if they were -1.
2015-02-28 04:01:10 +01:00
Johan Jansen
76901c6414
AttPosEKF: Moved data collection to separate function
2015-02-12 11:49:45 +01:00
Johan Jansen
dc522f217f
Commander: Fix GPS loss not handled properly
2015-02-11 16:42:01 +01:00
Lorenz Meier
06b582f11e
Accel calibration: Ensure GCC 4.7 compliance
2015-02-09 23:26:38 +01:00
Lorenz Meier
3079b5560f
commander: Mag calibration provides feedback on console as well
2015-02-09 22:56:25 +01:00
Lorenz Meier
d3dd4a21e2
commander: Support commandline sensor calibration
2015-02-09 22:56:25 +01:00
Lorenz Meier
22d80a80f4
Accel calibration: Better output
2015-02-09 22:56:25 +01:00
Lorenz Meier
66fced90de
commander: Fix new-style accel calibration
2015-02-09 22:56:25 +01:00
Lorenz Meier
8fde33bcf7
commander: Fix new-style mag calibration, tested.
2015-02-09 22:56:25 +01:00
Lorenz Meier
807cf7bd16
Commander: Implement calibration routines for multi-sensor setups
2015-02-09 22:56:23 +01:00
Lorenz Meier
dc46736ead
Merge ROS into master
2015-02-03 20:07:55 +01:00
Lorenz Meier
19cd496157
Commander: Use indexed sensor names in calibration routines
2015-02-03 08:55:16 +01:00
Thomas Gubler
84ff3c671d
Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
...
Conflicts:
src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
hauptmech
0b784c20c8
Save and check device id for acc and gyro calibration parameters.
...
Fix config utility to work with all devices of each type.
Accel, gyro and mag devices correctly set their device_id devtype.
Combo devices (mpu6000 lsm303d) now correctly return their devtype.
config util shows device id for all sensor types.
Add, save during calibration and check during preflight ID parameters for accelerometer and gyro
2015-01-31 15:53:34 +01:00
Lorenz Meier
7f299ea0cc
Move commander to multi pub/sub API
2015-01-29 16:33:53 +01:00
Lorenz Meier
801e9ed4fb
Commander: move sensor interface for mag to new multi-sub
2015-01-29 16:33:52 +01:00
Thomas Gubler
8e7974e2e2
fix uorb constants for test functions
2015-01-28 16:32:47 +01:00
Thomas Gubler
2d124852c1
propagate uorb contants change through all modules/drivers
2015-01-28 16:31:41 +01:00
Thomas Gubler
14aa5f9441
add topic header includes
2015-01-25 15:00:35 +01:00
Lorenz Meier
859b345314
Mag cal: Make error handling more explicit
2015-01-21 08:58:47 +01:00
Simon Wilks
b8b0d1d4ae
Remove a noisy debugging statement.
2015-01-20 22:28:58 +01:00
Lorenz Meier
7d13318df8
Fix coverity CID 12451
2015-01-19 13:22:44 +01:00
Lorenz Meier
9dbcea4b1f
Merge branch 'land_detector'
2015-01-17 23:32:14 +01:00
hauptmech
e18e5ca5b5
Add SENS_MAG_ID parameter
...
Record devid to SENS_MAG_ID during mag calibration
Verify devid matches SENS_MAG_ID during preflight_check
2015-01-17 18:41:43 +01:00
Johan Jansen
9ecadcd9b4
Astyle: Fix format for commander.cpp
2015-01-16 16:46:16 +01:00
Johan Jansen
a581ae8ed6
Commander: Remove duplicate code for setting home position
2015-01-16 16:43:11 +01:00
Johan Jansen
818ccf7a04
Commander: Fix for resetting home timestamp on arm
2015-01-16 15:51:57 +01:00
Johan Jansen
28adc88500
Commander: Subscribe and use land detector
2015-01-15 14:37:51 +01:00
Johan Jansen
ddf65bae04
Commander: Play tune on disarm and when safety switch is toggled
2015-01-15 11:09:31 +01:00
Lorenz Meier
1507d479e0
commander: Refresh safety tests to avoid false positives in unit tests.
2015-01-10 19:50:44 +01:00
Lorenz Meier
bb1e082781
Commander: be less chatty
2015-01-09 09:09:24 +01:00
tumbili
72eafad510
introduced vtol_fw_permanent stabilization: allows vtol to be attitude-stabilized in manual mode
2014-12-31 16:40:16 +01:00
Lorenz Meier
ef065808a3
Merged master
2014-12-30 11:01:09 +01:00
Thomas Gubler
c583f1fe8b
increase commander framesize
2014-12-28 23:22:02 +01:00
Lorenz Meier
6fae021a00
Merge pull request #1527 from dagar/Werror
...
turn on -Werror and fix resulting errors
2014-12-25 17:44:44 +01:00
Lorenz Meier
d8eefa3053
VTOL: Do not allow manual override
2014-12-23 21:50:16 +01:00
Daniel Agar
5b600a815c
Replace use of -Wno-error and only ignore specific warnings
2014-12-23 11:18:36 -05:00
Daniel Agar
d511e39ea7
turn on -Werror and fix resulting errors
2014-12-22 17:56:59 -05:00
Ban Siesta
2a09473e5f
topics: move geofence status to its own topic
2014-12-19 22:26:31 +00:00
Thomas Gubler
32675ff1c1
fix flag_external_manual_override_ok
...
The flag should not depend on the vtol state anymore. The intended
functionality of this is by now handled via the is_rotary_wing flag
2014-12-18 15:05:33 +01:00
Thomas Gubler
e18065081a
is_vtol flag in vehicle_status
...
Getting rid of the autostart based checks if the system is a vtol
Fixes #1503
2014-12-18 14:46:31 +01:00
tumbili
736f57f436
Merge branch 'master' of https://github.com/PX4/Firmware into vtol_merge
2014-12-15 22:34:01 +01:00
Friedemann Ludwig
4c25051edc
changed telementry connection lost warnings to info in order to avoid audio message flooding in case of instable connections.
2014-12-12 22:36:01 +01:00
Roman Bapst
fbedd3ed20
removed whitespaces removed small unused code block
2014-12-04 14:23:19 +01:00
Roman Bapst
9a64004d7f
let commander know if VTOL is in fw or in mc mode (important because of external_override)
2014-12-02 10:47:07 +01:00
Andreas Antener
45c52b51ee
move natural position to the front of the pending list for QGC
2014-12-02 01:42:12 +01:00