Commit Graph

6292 Commits

Author SHA1 Message Date
Lorenz Meier a9fb11829f Commander: Fix scheduling so its not running at higher prio than control apps 2015-11-29 18:50:02 +01:00
Lorenz Meier 65002d279f Commander: Allow setting home position faster 2015-11-29 18:49:58 +01:00
Lorenz Meier 3c26ca99a0 Q estimator: Increase phase margin 2015-11-29 18:45:48 +01:00
Lorenz Meier ce1b35d024 Q estimator: Fix scope of sensor voting scheme 2015-11-29 18:41:18 +01:00
Lorenz Meier 66e9abc774 SDLOG2: increase stack size as needed 2015-11-29 17:38:48 +01:00
Lorenz Meier 3515e6ae91 INAV: Increase stack size as needed 2015-11-29 17:38:26 +01:00
Lorenz Meier f99e14144e Q estimator: Increase stack size as needed 2015-11-29 17:38:08 +01:00
Lorenz Meier 00e9804b5a Mixer: Fix dependencies 2015-11-29 17:05:39 +01:00
Lorenz Meier 94eff8d9a8 Commander: Fix scheduling so its not running at higher prio than control apps 2015-11-29 17:05:01 +01:00
Lorenz Meier d07c69d329 MAVLink: Output RC inputs faster 2015-11-28 11:16:21 +01:00
Lorenz Meier a3eeafebeb Enable UART6 and enable S.BUS. Tested to work. 2015-11-28 09:13:15 +01:00
Lorenz Meier 6bc6eda295 Fixed drivers 2015-11-28 09:13:15 +01:00
Lorenz Meier 10a3954232 IO firmware: Depend on external RC lib 2015-11-28 09:13:15 +01:00
Lorenz Meier ba4fdf197e Move S.BUS and DSM decoders into RC lib 2015-11-28 09:13:15 +01:00
David Sidrane fa3cccc96a Start mpu6000 driver before mpu9250 -> need to change cal code 2015-11-28 09:13:15 +01:00
David Sidrane a67097731a Renamed pax4fmu-v3 to pax4fmu-v4 2015-11-28 09:13:15 +01:00
David Sidrane 30bc968ed6 Ran Astyle 2015-11-28 09:13:15 +01:00
David Sidrane 32ae638974 Support GPIO_CAN2_RX not defined 2015-11-28 09:13:15 +01:00
David Sidrane 09f83e78e5 Support PX4IO_DEVICE_PATH not defined 2015-11-28 09:13:15 +01:00
Erik de Castro Lopo 67d61488da sensors: Initialize _parameters 2015-11-27 17:51:12 +11:00
Erik de Castro Lopo fb4bf7c59c MAVLink: Fix call to orb_advertise_multi
Previously, pointer to an uninitialized int was being passed as the
instance pointer. Now we pass a NULL pointer instead and the code
being called will use the default instance value of zero.
2015-11-27 17:51:12 +11:00
Erik de Castro Lopo 6c2c2b19a7 MAVLink: Only update rx count on successful read 2015-11-27 17:51:12 +11:00
Erik de Castro Lopo 0b3889e2e3 INAV: Valgrind fix
Make sure `struct position_estimator_inav_params params` is properly initialized.

At first there was no indication that this struct was un-initialized because valgrind
was issuing warnings about values that were derived (via float calculations) from
values in this struct. Maybe instruction re-ordering during optimization caused
this disconnect between the source of the problem and the symptom.
2015-11-27 17:51:12 +11:00
Erik de Castro Lopo 4f7ab6f4f3 uORBManager: Make orb_check fail safely
The `orb_check` function takes a pointer to a `bool` which it then passes
to `px4_ioctl`. However, if the call to `px4_ioctl` fails, the bool
doesn't get updated (neither set nor cleared). Therefore, in `orb_check`
we explicitly set the bool to `false` before passing the pointer to
`px4_ioctl`.
2015-11-26 15:42:09 +11:00
Erik de Castro Lopo 87202a08b1 Navigator: Reorder data members to fix valgrind warnings
During construction of an Navigator object, a pointer to the incomplete
object was passed to the RTL constructor which then called a method on
the incomplete Navigator object accessing uninitialized data.
2015-11-26 13:29:11 +11:00
Roman Bapst ab95b4706e Merge pull request #3090 from PX4/vtol
Vtol work
2015-11-25 17:06:49 +01:00
Youssef Demitri b83170b7c3 use indicated airspeed instead of tas 2015-11-25 15:25:39 +01:00
Roman Bapst 621c5b3e62 Merge pull request #2702 from PX4/vtol_land_detector
extend multicopter landing detector to consider airspeed for vtol
2015-11-25 15:02:19 +01:00
Roman Bapst 7de36b0264 Merge pull request #3267 from PX4/control_state_airspeed_fix
channel airspeed meas over control state for q estimator
2015-11-25 13:53:45 +01:00
Roman c6408924cf add vtol land detector to CMakeLists.txt 2015-11-25 13:41:57 +01:00
tumbili 8832e178b0 added class for vtol landing detection 2015-11-25 13:41:57 +01:00
Roman 7cb7245a84 corrected tailsitter actuator control outputs 2015-11-25 13:28:23 +01:00
tumbili 990eb68bbf allow direct switch to fw if disarmed 2015-11-25 13:28:23 +01:00
tumbili 330f174967 fix 2015-11-25 13:28:23 +01:00
tumbili 27f027b3e4 ported vtol module to posix 2015-11-25 13:28:23 +01:00
Roman 7127f6a92f fixed code style 2015-11-25 13:28:23 +01:00
tumbili 0a0a074194 use virtual attitude setpoint
Conflicts:
	src/modules/vtol_att_control/tailsitter.cpp
	src/modules/vtol_att_control/tiltrotor.cpp
	src/modules/vtol_att_control/vtol_att_control_main.cpp
	src/modules/vtol_att_control/vtol_att_control_main.h
	src/modules/vtol_att_control/vtol_type.h
2015-11-25 13:28:22 +01:00
tumbili d1dc8ed432 if vtol, publish virtual attitude setpoint
Conflicts:
	src/modules/mc_pos_control/mc_pos_control_main.cpp
2015-11-25 13:28:22 +01:00
davidvor 945dda04ca comments 2015-11-25 13:28:22 +01:00
davidvor 76c479170a add transition back throttle value and angular rate 2015-11-25 13:28:22 +01:00
davidvor 19b9606486 simplifying transition for mc control only 2015-11-25 13:28:22 +01:00
davidvor 89b01fd45a turning on fw controler during p2 front transiion
turning on fw controler during p2 front transiion
simpling the weight for testing
setting output more like fw for transition
2015-11-25 13:28:22 +01:00
davidvor 059cffeb40 name change 2015-11-25 13:28:22 +01:00
davidvor c32f5910e0 name change 2015-11-25 13:28:22 +01:00
davidvor 2642b3fbea limit for pitch angle set point during transition 2015-11-25 13:28:22 +01:00
davidvor 2bf460cdfe adding variables for tailsitter transition 2015-11-25 13:28:22 +01:00
davidvor 0d58429565 poll on att_sp and att 2015-11-25 13:28:22 +01:00
davidvor c129ebb0ea adding poll for att_sp and make the MC attitude controller work in transition 2015-11-25 13:28:22 +01:00
davidvor 28cc7521ff unnecessary parameter 2015-11-25 13:28:22 +01:00
davidvor 9e28365bbb adding pitch weight for tailsitters 2015-11-25 13:28:22 +01:00