Commit Graph

47 Commits

Author SHA1 Message Date
Lorenz Meier 5e1bec10cf Merge pull request #469 from PX4/gimbal_rc_control
Gimbal rc control
2013-10-24 01:41:34 -07:00
Anton Babushkin ef6f1f6f80 get_rot_matrix() moved to separate library, accel calibration of rotated board fixed 2013-10-20 19:36:42 +02:00
Lorenz Meier 3dcd5dbd0e Piping through manual control channels 2013-10-15 08:39:57 +02:00
Lorenz Meier 7b8b568605 Merge pull request #449 from PX4/sensors_fix
sensors: minor optimization, cleanup and refactoring
2013-10-13 03:21:53 -07:00
Anton Babushkin b2555d70e3 sensors: minor optimization, cleanup and refactoring 2013-10-08 13:39:08 +02:00
Lorenz Meier d1871bd7bb State machine fixes for HIL 2013-10-06 14:18:28 +02:00
Lorenz Meier a4ecdc9582 Removed unneeded flush 2013-09-17 08:53:39 +02:00
tstellanova b986607a75 Add defines for RC15 params (16 channels total)
minor cleanup of rc sanity check code
2013-08-28 18:32:16 -07:00
Lorenz Meier b7ee1d3429 Prevented an analog airspeed corner case from happening 2013-08-28 14:34:49 +02:00
Lorenz Meier 0fb3be64ea More verbosity on RC cal fail in sensors app 2013-08-28 11:18:10 +02:00
Lorenz Meier e119bbb0f1 A lot more on calibration and RC checks. Needs more testing, but no known issues 2013-08-25 16:33:14 +02:00
Lorenz Meier 309ea81460 Merged fmuv2_bringup 2013-08-21 15:19:19 +02:00
Julian Oes 8083efb60c Use gyro at correct rate 2013-08-21 14:21:11 +02:00
Julian Oes 9762cf86a0 Forgot to comment mag init in sensors.cpp back back in 2013-08-21 09:52:21 +02:00
Julian Oes f5c92314f1 Improved LSM303D driver, plus some fixes to the HMC5883 2013-08-20 20:02:06 +02:00
Lorenz Meier 24d8ca5092 Merge branch 'fmuv2_bringup' of github.com:cvg/Firmware_Private into fmuv2_bringup_new_state_machine_drton 2013-08-19 17:37:22 +02:00
Lorenz Meier f4b5a17a7b Improved sensor startup and error checking 2013-08-19 17:35:07 +02:00
Lorenz Meier e597f97982 Merged master 2013-08-18 12:04:07 +02:00
Julian Oes bc717f1715 Sensors should now take into account the orientation of an external mag 2013-08-18 09:33:59 +02:00
Lorenz Meier 628e806df5 Minor style changes 2013-08-17 18:48:14 +02:00
Julian Oes 74802f0692 Added possibility to set board orientation 2013-08-17 18:06:39 +02:00
Lorenz Meier aebdd6e059 Merged master 2013-08-14 22:53:42 +02:00
Jean Cyr 1d408b80ad Support DSM bind via QGroundControl 2013-08-11 17:19:54 -04:00
Lorenz Meier cfd737aa73 Made sensors startup routine more flexible 2013-08-05 21:08:19 +02:00
Lorenz Meier a2f923b9a3 Increased MPU6K poll and sampling rate to 1 KHz 2013-08-05 21:05:34 +02:00
Lorenz Meier 36cca7a31b Added rate limit in sensors app. Just pending accel filters now 2013-08-04 19:10:56 +02:00
Lorenz Meier 57db5d912b Merge pull request #343 from PX4/meas_split
ETS airspeed and MEAS airspeed combined driver
2013-07-28 06:41:42 -07:00
Anton Babushkin 55fd19f281 sensors: ASSISTED switch channel added 2013-07-22 22:37:10 +04:00
Lorenz Meier 0f19de5311 Ensured correct pointer init 2013-07-21 11:27:52 +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
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 bf2ff98856 Merged master 2013-07-15 15:02:45 +02:00
Lorenz Meier 319eb18ab5 Merged 2013-07-14 11:32:04 +02:00
Lorenz Meier dc600e7d65 First stab at IOCTL driven offset handling (in PA) for all airspeed sensors. Untested 2013-07-10 20:58:47 +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 35711280df Merge remote-tracking branch 'upstream/master' 2013-07-07 14:29:30 -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 05d6815401 Improved return statement of sensors app 2013-07-04 15:49:13 +02:00
px4dev 23a6234235 Rename our 'task_spawn' to 'task_spawn_cmd' since NuttX now has its own version of task_spawn that's different. 2013-06-01 23:31:53 +02:00
Julian Oes f5c157e74d Merge remote-tracking branch 'upstream/master' into new_state_machine
Conflicts:
	src/drivers/px4io/px4io.cpp
	src/modules/commander/commander.c
	src/modules/commander/state_machine_helper.c
2013-05-17 11:24:02 +02:00
Lorenz Meier 614bbb1510 Merged ETS airspeed driver 2013-05-09 15:58:23 +02:00
Lorenz Meier c89f46f590 Moved sensors app to new world 2013-04-27 13:16:24 +02:00