3875 Commits

Author SHA1 Message Date
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
Thomas Gubler
8fdd694f12 fw pos ctl: compile with -Os 2014-12-17 21:13:50 +01:00
Thomas Gubler
262b9fc754 fw pos ctl: make loop performance counter more meaningful 2014-12-17 21:13:13 +01:00
tumbili
89e2e08de0 removed white space noise 2014-12-15 22:47:10 +01:00
tumbili
736f57f436 Merge branch 'master' of https://github.com/PX4/Firmware into vtol_merge 2014-12-15 22:34:01 +01:00
tumbili
51a7fbeee0 added sanity checkto prevent false low airspeed readings during transition 2014-12-15 22:12:11 +01:00
Thomas Gubler
ea4876da38 mavlink: distance sensor: fix max value 2014-12-13 18:19:12 +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
tumbili
9bf19c8d1e merged with caipi_airspeed_scale 2014-12-10 21:23:06 +01:00
Thomas Gubler
1c0f850fac add sched.h to systemlib includes
SCHED_RR and SCHED_FIFO are defined in sched.h
2014-12-10 15:11:49 +01:00
tumbili
d0fb862a01 fixed _loop_perf message 2014-12-06 20:13:42 +01:00
Lorenz Meier
33725ecc6a uORB home position: Add AMSL as clarificaiton in docs 2014-12-06 18:18:47 +01:00
Lorenz Meier
350e2549df uORB mission topic: Add AMSL as clarificaiton in docs 2014-12-06 18:18:25 +01:00
Lorenz Meier
8af6ab2713 Fix vehicle command docs to AMSL 2014-12-06 18:17:37 +01:00
Lorenz Meier
b4a3dcb2f0 Merge pull request #1391 from PX4/vfr_fix
mavlink: use altitude AMSL in VFR message
2014-12-06 17:51:10 +01:00
tumbili
945c8df18b added scaling of mc pitch control with airspeed 2014-12-06 17:37:46 +01:00
Thomas Gubler
72d5f2b245 Merge pull request #1476 from friekopter/vel_alt_hold
Implemented altitude and velocity hold mode
2014-12-05 19:36:27 +01:00
Roman Bapst
590489d498 make sure vtol attitude control module is started with idle speed set for multicopter mode 2014-12-04 17:36:16 +01:00
Roman Bapst
bed53e810b introduced vtol_motor_count and idle_pwm_mc parameter 2014-12-04 16:57:06 +01:00
Roman Bapst
7ea4d10bc9 added parameter file to makefile 2014-12-04 16:56:08 +01:00
Roman Bapst
4fd3e0720f added parameter file for vtol attitude control module 2014-12-04 16:55:12 +01:00
Roman Bapst
fbedd3ed20 removed whitespaces removed small unused code block 2014-12-04 14:23:19 +01:00
Simon Wilks
f3fb32bc47 Unsubscribe from the topic. 2014-12-03 10:43:17 +01:00
Simon Wilks
7a344b9337 Display ESC data in the status output 2014-12-03 10:30:49 +01:00
tumbili
563de3b49c in fw mode, publish also yaw and throttle on control group 1 for logging 2014-12-03 09:47:56 +01:00
tumbili
f7ca1d36d2 renamed FWC to ATC1 2014-12-03 09:46:52 +01:00
tumbili
0e33e52d4a use uORB ID to determine the correct rate_sp- and actuator topic to publish on 2014-12-03 09:44:34 +01:00
Lorenz Meier
d5debc2f42 Merge master into attitude EKF update 2014-12-02 15:12:11 +01:00
Lorenz Meier
8d1a0700f2 Merge pull request #1475 from hsteinhaus/gps_time
Corrected time_gps_usec values description.
2014-12-02 12:30:46 +01:00
Roman Bapst
887ed69099 added VTOL attitude control module 2014-12-02 10:50:25 +01:00
Roman Bapst
0dc202502d added VTOL geometries to determine number of motors 2014-12-02 10:49: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
Roman Bapst
15ad9e441e compute secondary attitude with reference frame rotated -90 degress around pitch axis of original reference frame (used for VTOL) 2014-12-02 10:38:39 +01:00
Roman Bapst
285a0e7be9 added more mixer geometries and took v-mixer out of multi_tables script 2014-12-02 10:36:30 +01:00
Roman Bapst
ff55652f9a adapted attitude controllers to support VTOL 2014-12-02 10:34:39 +01:00
Roman Bapst
ad204bbb5d log secondary attitude and fixed wing controls for VTOL 2014-12-02 10:33:43 +01:00
Roman Bapst
35c985e523 extended uORB structs with VTOL specific control topics 2014-12-02 10:32:13 +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
Andreas Antener
b1bd813978 swap fron/back > the "side" being measured is facing downwards 2014-12-02 01:37:54 +01:00
Andreas Antener
3ce7abe9d8 use consistent orientation naming in messages 2014-12-02 01:01:35 +01:00
Friedemann Ludwig
6efc63d709 fixed somereview comments 2014-11-30 20:51:01 +01:00
Holger Steinhaus
f619dba6f9 Corrected time_gps_usec values description.
Fixes #1474
2014-11-28 15:36:30 +01:00
Friedemann Ludwig
8e8b622f4f Implemented altitude and velocity hold mode 2014-11-28 04:11:39 +01:00
Lorenz Meier
cbcd1ea1d1 Merged PX4Flow driver changes 2014-11-26 07:43:19 +01:00
Lorenz Meier
ef76a7cf27 Merge branch 'pullrequest-px4io' of github.com:tridge/Firmware 2014-11-26 07:32:06 +01:00
Andrew Tridgell
c0b47d6a74 px4io: only check SAFETY_OFF for allowing RC config changes and reboot
If we check OUTPUTS_ARMED then we can't update trim values and scaling
in flight, as there is no way to clear OUTPUTS_ARMED.

If safety is on then it should be perfectly safe to update the mixer
and RC config or reboot for fw update
2014-11-26 11:39:41 +11:00
Andrew Tridgell
7ae4f6d97e uavcan: added add_poll_fd() helper function
this makes the code clearer and avoids repeated code
2014-11-26 08:41:32 +11:00
Andrew Tridgell
a7a68c88a2 uavcan: show ESC output values in uavcan status, and add arm/disarm
this makes "uavcan status" show the current output values, which is
useful for debugging. It also adds "uavcan arm" and "uavcan disarm"
commands, which are very useful for re-arming after a motor test.
2014-11-26 08:32:47 +11:00
Andrew Tridgell
724ec0ec8b uavcan: handle all ESC output in one place
moving all the ESC output handling to one place allows the limits on
actuator values to apply to all types of inputs, and will make it
easier to expand "uavcan status" to show actuator values
2014-11-26 08:32:47 +11:00
Andrew Tridgell
8e44ec2e3b uavcan: prevent crash in ESC driver
passing in more than 8 actuators would crash the ESC driver. We need
to check again the array size of the _esc_status.esc, which is
CONNECTED_ESC_MAX
2014-11-26 08:32:47 +11:00