Commit Graph
51 Commits
Author SHA1 Message Date
Lorenz Meier 4b018e74a9 Merge branch 'master' of github.com:PX4/Firmware 2013-09-01 00:10:06 +02:00
Lorenz Meier a1c4c0fd78 Comments on scaling factors 2013-09-01 00:09:59 +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 29b926db1b Merged seatbelt_multirotor_new 2013-08-23 08:33:42 +02:00
Anton Babushkin bb91484b26 Default flight mode switches parameters changed. 2013-08-22 17:34:59 +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 52d15ac7b1 Merged public master 2013-08-16 16:22:38 +02:00
Julian Oes 56575eb068 Merge remote-tracking branch 'px4/new_state_machine_drton' into fmuv2_bringup_new_state_machine_drton
Conflicts:
	src/drivers/blinkm/blinkm.cpp
	src/drivers/px4io/px4io.cpp
	src/modules/commander/state_machine_helper.c
	src/modules/px4iofirmware/protocol.h
	src/modules/px4iofirmware/registers.c
	src/modules/systemlib/systemlib.h
	src/systemcmds/reboot/reboot.c
2013-08-15 14:04:46 +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 461b2eb366 Merge branch 'mpu6k_queue' of github.com:PX4/Firmware into fmuv2_bringup 2013-08-06 09:15:24 +02: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 c2ee4437e0 Rate limit sensors, as the in-sensor lowpass allows us to operate at 200-250 Hz 2013-08-04 19:20:55 +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 b9446af3f9 Show correct battery voltage for v2 boards 2013-08-02 16:29:43 +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
Julian Oes 7f90ebf537 Merge remote-tracking branch 'upstream/master' into new_state_machine
Conflicts:
	src/examples/fixedwing_control/main.c
2013-06-12 12:24:52 +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
px4dev 05fe7779a9 Fix .gitignore to avoid ignoring prebuilt libraries.
Also, generally clean-up the .gitignores and farm off separate versions for the NuttX/Apps directories to keep things tidy.
2013-05-20 20:33:18 +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