Commit Graph

177 Commits

Author SHA1 Message Date
Lorenz Meier 6b779275bc Added quaternion renormalization 2013-07-13 20:42:13 +02:00
Lorenz Meier cbcc124c71 Cleanup, finished param read, ready for testing 2013-07-13 20:37:26 +02:00
Lorenz Meier c4e967eb97 Fixed compile errors for multicopter 2013-07-13 18:41:35 +02:00
Lorenz Meier 67fcdae30a Added fixed wing vector based control 2013-07-13 18:41:09 +02:00
Lorenz Meier 5adfdfa8f9 Extended math lib 2013-07-13 18:40:48 +02:00
Lorenz Meier 56e74ad19e Merge branch 'master' into vector_control 2013-07-13 18:35:10 +02:00
Lorenz Meier 3b9c306d64 Hotfix for relative altitude waypoints 2013-07-12 11:11:26 +02:00
Lorenz Meier 9a6bf91b93 More comments 2013-07-12 09:10:58 +02:00
Lorenz Meier f6b3692696 Minor fixes and cleanups, ready for first bench tests 2013-07-12 09:09:11 +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 9b7ee09d43 Merge branch 'master' into vector_control 2013-07-11 23:25:31 +02:00
Lorenz Meier 28f536dc44 Hotfix: fixed compile warnings 2013-07-11 23:25:08 +02:00
Lorenz Meier d999a376da Enabled imax params 2013-07-11 23:23:55 +02:00
Lorenz Meier 02d918b46d Removed airspeed 2013-07-11 23:22:56 +02:00
Lorenz Meier feddb618c4 Added rotation matrix based vector controller 2013-07-11 23:12:06 +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
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
Lorenz Meier d72e9929aa Fixes to fixed wing control example, fixes to the way the control lib publishes estimates 2013-07-04 15:46:53 +02:00
Lorenz Meier b01673d1d8 Fixes to estimator and HIL startup script 2013-07-04 15:45:32 +02:00
Lorenz Meier f42b3ecd96 Substantial improvements to math lib 2013-07-04 15:43:38 +02:00
Lorenz Meier 3686431231 Removed leftover mavlink_receiver.c file 2013-07-04 15:41:42 +02:00
Lorenz Meier 9aee419324 Updated mavlink version, massive improvements in mission lib, fixes to HIL (state and sensor level) 2013-07-04 15:40:20 +02:00
Lorenz Meier 5691c64ff0 Update to uORB topics, added / improved position triplet, added radio status 2013-07-04 15:39:29 +02:00
marco 209dc7100e mkclctrl 8/11Bit support, uOrb Topic added, ESC Topic to Sdlog2 added 2013-07-02 19:46:15 +02:00
Lorenz Meier e9290e7fc0 Merge branch 'master' of github.com:PX4/Firmware into origin_integration 2013-07-02 16:40:26 +02:00
sjwilks 697c0a1a1d Merge pull request #314 from DrTon/att_control_der_fix
Multirotor attitude controller updated
2013-07-02 01:19:14 -07:00
sjwilks 4edb6ce76b Merge pull request #319 from PX4/kalman_nav
Kalman navigation fixes
2013-06-30 11:58:38 -07:00
Lorenz Meier d51b97fe2f Merge branch 'master' of github.com:PX4/Firmware into integration 2013-06-30 19:47:12 +02:00
Lorenz Meier aa04701c89 Added global position to logging 2013-06-30 19:15:02 +02:00
Lorenz Meier 7d59ee6839 Fixed yaw estimate, minor comment and code style improvements. Added option for upfront init, prepared process for removal (later) of sensors app and subscription to individual topics. Prototyping rework of params / subscriptions to resolve GCC 4.7 incompatibility of control lib (or rather the fact that we need to work around something which looks like a compiler bug) 2013-06-30 00:38:01 +02:00