Commit Graph

13724 Commits

Author SHA1 Message Date
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
Andreas Antener 44b5d17ad0 updated mavlink to latest master, including vtol state message 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
Simon Wilks 99a6dfd926 Add a config for a standard delta VTOL. 2015-08-17 18:03:22 +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 210bb9e996 px4fmu-v2: added mpu9250 driver to the build 2015-08-17 09:17:14 +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 4466b5680a Merge pull request #2682 from PX4/eigen_upgrade
Upgrade Eigen version
2015-08-15 00:25:35 +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 5369d23bc6 POSIX: Bump toolchain version to C++11 2015-08-14 18:37:00 +01:00
Lorenz Meier d426a93e63 Upgrade Eigen version 2015-08-14 18:37:00 +01:00
Roman Bapst 9b442fd0cf Merge pull request #2695 from PX4/vtol_land_detector
use multicopter landing detector for vtol
2015-08-14 09:01:24 +02: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
tumbili 1a2ea94c09 use multicopter landing detector for vtol 2015-08-14 07:36:16 +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 55790d0beb ROMFS: Optimize boot sequencing to work with LL40 and camera trigger or just LL40 and 4 servos 2015-08-13 11:40:14 +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
Lorenz Meier c717e72dde ROMFS: Set up LL40S startup to reserve the pins it uses 2015-08-13 09:45:33 +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
tumbili b3613dea83 - use index definitions to access actuator controls struct for better readability
- defined vector for mc_att_ctrl_weights
- more cleanup
2015-08-12 19:34:44 +02:00
tumbili 17a92b51c7 adapted code for standard vtol to new structure in vtol_att_control_main 2015-08-12 19:34:44 +02:00
tumbili 5a6bcf3834 removed unused functions 2015-08-12 19:34:44 +02:00