7890 Commits

Author SHA1 Message Date
Eddy Scott
bf9bbfa27f Handle turn pitch rate compensation in pitch rate controller instead of pitch controller. Also set inverted flag to true if rolled more than 90 degrees 2015-08-19 10:38:42 +02:00
Eddy Scott
39732abf1f Changed ecl_roll/pitch/yaw_controller.cpp to no longer transform ctl_data.angle_rate to angular acceleration as the angular rates are already angular accelerations as calculated by ekf_att_pos_estimator 2015-08-19 10:38:42 +02:00
Lorenz Meier
a01ca427b0 Fix code style 2015-08-18 23:20:03 +02:00
fpvaspassion
456bdd070a Cleanup of mission item parsing 2015-08-18 23:17:08 +02:00
fpvaspassion
fef432d852 Actuator limits and channels corrrection 2015-08-18 23:17:08 +02:00
fpvaspassion
477625a53c Last corrections of PWM mission control 2015-08-18 23:17:08 +02:00
fpvaspassion
158c260c43 update loitering coordinates when 183 mission item is lastone 2015-08-18 23:17:07 +02:00
fpvaspassion
60be6a577f git status 2015-08-18 23:17:07 +02:00
fpvaspassion
e6ffa16125 Implementation of 183 mission intem 2015-08-18 23:17:07 +02:00
Simon Wilks
384047787a Fix travis/clang report of overloaded virtual functions. 2015-08-18 23:01:52 +02:00
Simon Wilks
4eef65f313 Enable ms5611 driver and fix build errors. 2015-08-18 23:01:52 +02:00
Andreas Antener
9aca1701f4 code-style fixes 2015-08-18 11:44:01 +02:00
Andreas Antener
80a3c74cfc evaluate transition command in vtol controller instead of vtol type, use distinct state variables instead of additional command struct 2015-08-18 11:44:01 +02:00
Andreas Antener
8fc52fea22 added vtol state to list of streams 2015-08-18 11:44:01 +02:00
Andreas Antener
ea56edca22 implemented vtol state message 2015-08-18 11:44:01 +02:00
Andreas Antener
5463c6767d reset transition command to current state when not in offboard 2015-08-18 11:44:01 +02:00
Andreas Antener
1da703a13d implemented MAVLink command for VTOL transitions, pulled switch up for each type 2015-08-18 11:44:01 +02:00
Roman Bapst
1b50aba43f Merge pull request #2693 from PX4/transition_flag_fix
mc_pos_controller: fix logic for att sp publication
2015-08-17 18:59:07 +02:00
Andreas Antener
f1ab7cc880 wait until back transition time has passed 2015-08-17 16:27:20 +02:00
Lorenz Meier
b56eaeaf8d Merge pull request #2653 from oberion/px4fix/masterMultiMavlinkFix
Px4fix/master multi mavlink fix
2015-08-17 09:27:21 +02:00
Mohammed Kabir
10360a93b7 sensors : add sensor priority order 2015-08-17 09:25:33 +02:00
Andrew Tridgell
41b3452e22 ll40ls: added support for 'blue label' lidars
the key is splitting up read_reg() into two transfers
2015-08-17 09:18:38 +02:00
Andrew Tridgell
f77620c3f4 mpu6000: check WHOAMI register
this prevents a mpu9250 being seen as a mpu6000
2015-08-17 09:17:07 +02:00
Andrew Tridgell
0e6cdecfad drv_sensor: added MPU9250 sensor defines 2015-08-17 09:16:58 +02:00
Andrew Tridgell
39e0a487bb mpu9250: first cut at a MPU9250 driver 2015-08-17 09:16:47 +02:00
TSC21
2afa499c66 test_eigen: correct some issues regarding type casts on POSIX build 2015-08-17 00:57:57 +02:00
TSC21
c5dfff1e6f test_eigen: reformulate and enhance eigen math tests on firmware 2015-08-17 00:57:57 +02:00
Lorenz Meier
90ecc942ce WIP: Debugging of the Eigen quaternion tests. A bunch of the issues were incomplete porting, but the assertion is real. 2015-08-17 00:57:57 +02:00
Lorenz Meier
698af71482 Upgraded Eigen to 3.2.90 2015-08-15 00:02:48 +02:00
TSC21
055ea4fffd include EIGEN_MAX_STATIC_ALIGN_BYTES 16 macro 2015-08-14 18:37:00 +01:00
Lorenz Meier
1d3a5ec350 System cmds: Include cmath before eigen to make std::isfinite available. This needs further inspection 2015-08-14 18:37:00 +01:00
Lorenz Meier
d426a93e63 Upgrade Eigen version 2015-08-14 18:37:00 +01:00
Roman Bapst
4fa8394031 Merge pull request #2692 from PX4/logging_fix
logging fix: do not use same ID for two messages
2015-08-14 09:00:02 +02:00
Lorenz Meier
133f5a38a9 Commander: Do not spam console when not connected 2015-08-13 23:27:16 +02:00
Lorenz Meier
1ef7d13487 Increase NSH back-off time 2015-08-13 23:26:35 +02:00
tumbili
044097afbb mc_pos_controller: fix logic for att sp publication 2015-08-13 22:58:32 +02:00
Lorenz Meier
14b923b454 Att pos EKF: Fix init logic, only set local reference if GPS lock present 2015-08-13 21:34:19 +02:00
Lorenz Meier
3fd0ddf1b0 Fix coning handling in att_pos EKF. Fixes #2663 2015-08-13 21:24:41 +02:00
tumbili
1dab361c2d logging fix: do not use same ID for two messages 2015-08-13 18:51:55 +02:00
Lorenz Meier
cbada5198d sdlog2: Do not use permission flags on NuttX 2015-08-13 12:25:18 +02:00
Lorenz Meier
e577ad582b FMU driver: Fix comment 2015-08-13 11:39:16 +02:00
Lorenz Meier
588146e536 PWM input driver: Add missing GPIO config for pin reset 2015-08-13 11:38:46 +02:00
Lorenz Meier
4e2bcf3315 LL40S: Remove printf in interrupt context 2015-08-13 09:50:47 +02:00
Lorenz Meier
a4f1970775 FMU driver: Provide the 4 pwm mode as help text 2015-08-13 09:45:50 +02:00
Roman Bapst
ba51f19cde Merge pull request #2652 from PX4/vtol_cleanup
WIP: Vtol cleanup
2015-08-12 21:34:58 +02:00
Simon Wilks
d786fd4a1b mc pos reset yaw when vtol transitions 2015-08-12 20:33:17 +02:00
tumbili
04f55ce784 vtol fixes:
- mc pos control: publish attitude setpoint when vtol is in trans mode
- fw att control: do not publish attitude setpoint when in transition mode
- introduce flag in_transition_mode in vehicle status message for vtol
- improve tiltrotor code based on flight testing
2015-08-12 20:33:17 +02:00
Simon Wilks
c448f955e0 Position control needs to be deactivated during the transition otherwise it will fight itself. 2015-08-12 20:33:16 +02:00
Simon Wilks
e7364d302a Allow the user to provide the motor/channel numbers that should be disabled in fixed wing mode in the airframe config. 2015-08-12 20:33:16 +02:00
tumbili
c21dd735ed replaced tiltrotor defines by parameters 2015-08-12 20:33:16 +02:00