Commit Graph

7873 Commits

Author SHA1 Message Date
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
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
tumbili c1025ca44e adapted tailsitter code to structural changes in vtol_att_control_main 2015-08-12 19:34:44 +02:00
tumbili 02fda7a0f5 major cleanup of tiltrotor code 2015-08-12 19:34:43 +02:00
Lorenz Meier 231ab7d690 Rename HIL class to PWMSim 2015-08-12 19:29:31 +02:00
Lorenz Meier ebe91f3243 Update main function name 2015-08-12 19:23:13 +02:00
tumbili 4ecde8661f - removed unnecessary process function calls
- use one function call to fill actuator outputs
2015-08-12 19:18:20 +02:00
Lorenz Meier 8dd8179f4c Update PWM out sim 2015-08-12 19:18:16 +02:00
Lorenz Meier ad9857f885 PWM out simulation: Give it a proper name 2015-08-12 19:18:00 +02:00
Lorenz Meier b81ae9473b HIL driver: Fix output clamping in HIL mode, clean up commented out sections 2015-08-12 19:11:34 +02:00
Lorenz Meier 8a3301c73c HIL: Use smaller task launch stack 2015-08-12 19:10:37 +02:00
Lorenz Meier 5a4df66f52 Downgrade Eigen to 3.2, since its not ready yet 2015-08-12 18:54:21 +02:00
Lorenz Meier 959a6e8367 Update Eigen to 3.2.5 2015-08-12 18:34:57 +02:00
Lorenz Meier 8cd6f3529c Merge pull request #2555 from PX4/uorb_msg
uORB message support
2015-08-12 17:31:44 +02:00
Nghia Ho a4726292b2 fixed double promotion warning when doing printf 2015-08-11 21:30:05 -07:00
Mark Charlebois ce49145c1d Removed DSPAL header include in px4_workqueue.h
This was mistakenly added in a bad merge.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-11 12:50:44 -07:00