255 Commits

Author SHA1 Message Date
Lorenz Meier
da1bf69ce2 Added gyro scale estimation (but param is NOT written) 2013-07-19 13:07:51 +02:00
Lorenz Meier
1575da4390 Merge branch 'master' of github.com:PX4/Firmware into new_state_machine 2013-07-19 12:53:37 +02:00
sjwilks
a8ac56b9e5 Merge pull request #338 from PX4/autostart
Implemented new, simple system boot config and sane default value system
2013-07-19 03:42:51 -07:00
Lorenz Meier
2c31961bb0 Minor change to make USB startup more resilient 2013-07-19 08:09:35 +02:00
Lorenz Meier
da54659b5e Removed wrong dependency check 2013-07-18 15:55:06 +02:00
Lorenz Meier
798075c90d Work around orb_check fail in sensors app 2013-07-18 15:50:07 +02:00
Lorenz Meier
e19d2e94ec Hotfix: Ensured there are never two filters running at the same time if auto-magic happens via USB link 2013-07-18 15:20:36 +02:00
Lorenz Meier
a5c8d8c5f2 Robustified accel cal 2013-07-18 14:24:32 +02:00
Lorenz Meier
7bf2edc3bf Script cleanup, WIP on mavlink logging 2013-07-18 14:01:42 +02:00
Lorenz Meier
a4d0594bd7 Merge branch 'master' into autostart 2013-07-18 13:18:42 +02:00
Lorenz Meier
8d1abf4aa4 Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB connection operation via QGC 2013-07-18 13:16:34 +02:00
Julian Oes
bcdedd9a35 Changed location of lots of flags and conditions, needs testing and more work 2013-07-16 18:56:31 +02:00
Lorenz Meier
6e44a486c1 Merged 2013-07-16 18:28:05 +02:00
Julian Oes
76edfa896b Fixed disarming bug, use flag instead of mode switch 2013-07-16 13:24:02 +02:00
Julian Oes
6dc3fcd1ad Some more commander cleanup, param update handling code was doubled 2013-07-16 10:05:51 +02:00
Julian Oes
08926019ea Just some reordering in commander 2013-07-16 09:35:31 +02:00
Julian Oes
3e161049ac Got rid of useless orb_receive_loop, moved some helper functions 2013-07-16 09:24:21 +02:00
Lorenz Meier
1d883ad4c6 Hotfix: Fixed RC calibration 2013-07-16 08:10:38 +02:00
Julian Oes
1b38cf715d Renamed actuator_safety back to actuator_armed, compiling but untested 2013-07-15 22:15:15 +02:00
Lorenz Meier
bf2ff98856 Merged master 2013-07-15 15:02:45 +02:00
Lorenz Meier
17338ca61a Removed unneccesary casts in airspeed calculation to double precision 2013-07-15 13:59:23 +02:00
Lorenz Meier
0b47ed86e0 Implemented new, simple system boot config and sane default value system based on two parameters evaluated at boot time 2013-07-15 13:58:43 +02:00
Simon Wilks
1ccfb623ee Merge remote-tracking branch 'upstream/master' into hott-esc 2013-07-13 01:08:45 +02:00
Simon Wilks
b500cce31e Major refactor of HoTT drivers and finished sensor read implementation. 2013-07-13 01:08:06 +02:00
Lorenz Meier
3b9c306d64 Hotfix for relative altitude waypoints 2013-07-12 11:11:26 +02:00
Anton Babushkin
1d986d6c04 sdlog2: Global Position Set Point message added, vehicle_global_position_setpoint topic fixed 2013-07-12 10:09:38 +04:00
Lorenz Meier
28f536dc44 Hotfix: fixed compile warnings 2013-07-11 23:25:08 +02:00
Lorenz Meier
3a76162b08 Merge pull request #317 from DrTon/arm_safe_fix
Arm/disarm and SAS modes order safety fixes
2013-07-10 22:53:45 -07:00
Jean Cyr
897b541b12 General cleanup of /dev/px4io and /dev/px4fmu
- Use distinct common symbols for px4io and px4fmu device files, and use
instead of hardcoded filenames
- Use common symbols defining px4io bits consistently between px4fmu and
px4io builds.
2013-07-09 20:37:00 -04:00
unknown
c264267814 Merge remote-tracking branch 'upstream/master' 2013-07-09 17:10:49 -04:00
Lorenz Meier
33c7c2c32e Merge branch 'master' of github.com:PX4/Firmware 2013-07-09 13:34:12 +02:00
Lorenz Meier
82c13efad1 Merged CPU load changes by freddie chopin 2013-07-09 13:27:17 +02:00
Lorenz Meier
9c6cca8b9b Merge pull request #310 from PX4/att_fix
fixed attitude estimator params
2013-07-09 04:11:38 -07:00
Lorenz Meier
bbe6615884 Merge pull request #324 from DrTon/gpio_led_io_relay
gpio_led: PX4IO RELAY and ACC outputs support
2013-07-09 02:09:30 -07:00
unknown
a9b327b1fe Merge remote-tracking branch 'upstream/master' 2013-07-08 17:13:41 -04:00
Lorenz Meier
ced2871263 Merged mkblctrl 2013-07-08 20:48:30 +02:00
Lorenz Meier
6436e2e350 Updated mavlink_onboard as well (Hotfix) 2013-07-08 14:43:27 +02:00
Lorenz Meier
040b8f3802 Cleaned up MAVLink include hierarchy 2013-07-08 14:16:46 +02:00
Julian Oes
88389ea255 Merge branch 'master' into new_state_machine
compiling again
Conflicts:
	src/modules/fixedwing_att_control/fixedwing_att_control_att.c
	src/modules/fixedwing_att_control/fixedwing_att_control_rate.c
	src/modules/fixedwing_pos_control/fixedwing_pos_control_main.c
	src/modules/mavlink/orb_listener.c
	src/modules/multirotor_att_control/multirotor_attitude_control.c
	src/modules/multirotor_att_control/multirotor_rate_control.c
	src/modules/systemlib/pid/pid.c
	src/modules/systemlib/pid/pid.h
	src/modules/uORB/objects_common.cpp
2013-07-08 10:31:32 +02:00
Jean Cyr
dab652faf6 Prevent RELAY1 control via IOCTL if DSM bind feature is enabled 2013-07-07 19:04:30 -04:00
Jean Cyr
35711280df Merge remote-tracking branch 'upstream/master' 2013-07-07 14:29:30 -04:00
marco
c4dfc345a1 Version from esc_status topic added to sdlog2 2013-07-07 18:27:08 +02:00
Anton Babushkin
369e6d1eea gpio_led: minor usage fix 2013-07-06 18:37:02 +04:00
Anton Babushkin
8d0784af61 gpio_led: PX4IO RELAY and ACC outputs support, some fixes 2013-07-06 18:30:09 +04:00
Jean Cyr
3f9f2018e2 Support binding DSM2 and DSMX satellite receivers
The px4io bind command allows you to put a DSM satellite receiver into
bind mode. Since this feature requires that
the dsm VCC line (red wire) be cut and routed through relay one, it is
not enabled by default in order not to
affect those not using a DSM satellite receiver or wising to use relay
one for other purposes.

NOTE: Binding DSM2 satellites in 11-bit mode is not supported due to
potential bug in some DSM2 receiver streams
when in 11-bit mode. Furthermore the px4io software folds 11 bit data
down to 10 bits so there is no resolution
advantage to to 11-bit mode.

To enable the feature the RC_RL1_DSM_VCC parameter must be set to a non
zero value from the console, or using
QGroundControl:

param set RC_RL1_DSM_VCC 1

From the console you can initiate DSM bind mode with:

uorb start
param set RC_RL1_DSM_VCC 1
px4io start
px4io bind dsm2

For binding a DSMX satellite to a DSMX transmitter you would instead
use:

px4io bind dsmx

Your receiver module should start a rapid flash and you can follow the
normal binding sequence of your
transmitter.

Note: The value of parameter RC_RL1_DSM_VCC defaults to 0, so none of
this will have any effect on an unmodified
DSM receiver connection. For this feature to work, the power wire (red)
must be cut and each side connected to a
terminal on relay1 of the px4io board.

This has been tested using Spektrum as well as Hobby King 'Orange' DSM
satellite receivers.

Both px4fmu and px4io images are updated.
2013-07-05 20:51:29 -04:00
Lorenz Meier
5f2d35d715 Added gyro scaling as parameter 2013-07-05 11:44:10 +02:00
Lorenz Meier
7ca0698a6b Fixed HIL handling 2013-07-05 11:43:42 +02:00
Lorenz Meier
2cfe9ee1b4 Improved limits handling 2013-07-05 11:43:16 +02:00
Lorenz Meier
05d6815401 Improved return statement of sensors app 2013-07-04 15:49:13 +02:00
Lorenz Meier
cefebb9699 Small improvements in system lib 2013-07-04 15:48:01 +02:00