Commit Graph

99 Commits

Author SHA1 Message Date
Hyon Lim (Retina) 90fdf35ae5 GPL Licensed code has been removed 2013-05-29 00:59:20 +10:00
Hyon Lim (Retina) 7a2adb22eb Visualization code has been added. 2013-05-29 00:45:02 +10:00
Hyon Lim (Retina) cc6c590af0 I finished to implement nonlinear complementary filter on the SO(3).
The previous problem was roll,pitch and yaw angle from quaternion.
Now it is fixed. 1-2-3 Euler representation is used.
Also accelerometer sign change has been applied.
2013-05-29 00:34:21 +10:00
Hyon Lim (Retina) 13faf0d555 Merge remote-tracking branch 'upstream/master'
- Mikrokopter BLCTRL seems to be updated
 - HMC5883L calibration problem has been corrected.
    (This is because of RAM mis allocation?)
    See https://groups.google.com/forum/?fromgroups#!topic/px4users/yTYJiDBBKfo
 - Fixed wing control updated
    https://groups.google.com/forum/?fromgroups#!topic/px4users/s7owpvZN8UI
 - GPIO module has been removed.
 - STM32 DRV updated
2013-05-28 11:09:58 +10:00
Lorenz Meier f1a8f6e75b Hotfix: Made HMC driver more verbose to prevent false alarm 2013-05-27 16:58:30 +02:00
Lorenz Meier fba92f357c Merge pull request #267 from DrTon/gpio_led
gpio_led app added: drive LEDs by GPIO_EXT1 pin of PX4FMU
2013-05-26 09:00:41 -07:00
Lorenz Meier 56bd61cd2d Merge pull request #286 from NosDE/master
mkblctrl cleaned up and flown with px4 stack and arducopter
2013-05-26 08:24:14 -07:00
marco 73d2baeb20 comments cleaned 2013-05-26 16:49:33 +02:00
Lorenz Meier 1edc36bfd4 More documentation 2013-05-25 23:01:55 +02:00
Lorenz Meier bc7a7167ae Go only to RC failsafe if throttle was half once - to prevent failsafe when armed on ground 2013-05-25 18:21:39 +02:00
Lorenz Meier 214ddd6f1c Adjusted example params and extensively commented example 2013-05-25 18:16:15 +02:00
marco 8e1571cf02 mkblctrl cleanup & tested 2013-05-24 20:16:47 +02:00
marco 9f090e651a mkblctrl cleanup 2013-05-23 21:03:49 +02:00
px4dev dca844a808 Based on comments in:
http://answers.px4.ethz.ch/question/1337/px4io-receiver-connection-problem/?answer=1346#post-id-1346

increase the longest PPM pulse we recognize out to 550µs.
2013-05-23 09:27:57 +02:00
Lorenz Meier 81acd98997 Added limit to heading command 2013-05-23 08:54:08 +02:00
Hyon Lim (Retina) 4bf0505421 Test flight has been performed with nonlinear SO(3) attitude estimator.
Here are few observations:
 - When the system initialized, roll angle is initially reversed.
   As filter converged, it becomes normal.
 - I put a negative sign on roll, yaw. It should naturally has right
   sign, but I do not know why for now. Let me investigate again.
 - Gain : I do not know what gain is good for quadrotor flight.
   Let me take a look Ardupilot gain in the later.

Anyway, you can fly with this attitude estimator.
2013-05-23 16:20:38 +10:00
Hyon Lim (Retina) 364d1a06e3 To use freeIMU processing visualization tool, I have implemented float number transmission over uart (default /dev/ttyS2, 115200)
But this not tested yet. I should.
2013-05-23 16:20:38 +10:00
Hyon Lim (Retina) f547044203 Roll pitch yaw should be verified again 2013-05-23 16:20:38 +10:00
Hyon Lim (Retina) 32bace0824 I do not know why roll angle is not correct. But system looks okay 2013-05-23 16:20:38 +10:00
Hyon Lim (Retina) 0c3412223b Fixed few minor bug 2013-05-23 16:20:38 +10:00
Hyon Lim (Retina) 1caddb7bbb Initial work of so3 nonlinear complementary filter 2013-05-23 16:20:38 +10:00
Lorenz Meier 327d8751d2 Hotfix: Removing GPS debug output 2013-05-22 17:53:17 +02:00
Anton Babushkin 6e8621269b Code style fixed 2013-05-22 13:59:51 +04:00
Anton Babushkin 09ce3e2d0a Added GPIO_EXT1/GPIO_EXT2 selection. 2013-05-22 11:30:50 +04:00
Lorenz Meier 5d9512eb79 Removed unnecessary cplusplus check 2013-05-21 10:17:37 +02:00
Lorenz Meier e655c0fc57 Fixed missing count 2013-05-21 10:14:16 +02:00
Lorenz Meier 5dfde44c56 Fixed va args in MAVLink, tested with RC config, correct output 2013-05-21 09:14:22 +02:00
Lorenz Meier d720944efe VA args now supported by MAVLink text messages 2013-05-21 09:14:22 +02:00
Lorenz Meier 88ba97816d Better preflight check, catches wrong RC configs. Needs rework of mavlink text message API to VARARGs 2013-05-21 09:14:22 +02:00
Lorenz Meier 0165034e49 Hotfix: Changed alarms back to what they originally were designed for: Traps to later see if condition was once violated. Currente status can be read through the status flags 2013-05-21 09:14:22 +02:00
Lorenz Meier bc3eca5df3 Merge branch 'master' of github.com:PX4/Firmware 2013-05-20 23:19:40 +02:00
Lorenz Meier 462547c527 Hotfix: Building fixedwing backside params correctly 2013-05-20 23:19:24 +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
px4dev 5576e321fa Use the new prebuilt-library support to wrap the ARM CMSIS DSP library, and update to the version shipped with CMSIS 3.0 r3p2 2013-05-20 00:30:43 +02:00
Anton Babushkin 2f280bb4ca Merge branch 'master' into gpio_led 2013-05-17 12:48:46 +04:00
Andrew Tridgell fa816d0fd6 arming: added PWM_SERVO_SET_ARM_OK and PWM_SERVO_CLEAR_ARM_OK
these new ioctls allow for the flight code to tell the IO board that
arming can proceed
2013-05-16 08:39:24 +02:00
Lorenz Meier d02f5c5505 Merge branch 'master' of github.com:PX4/Firmware 2013-05-14 22:47:21 +02:00
Lorenz Meier 9a07788d58 Hotfix: Off-by-one fix in overflow check 2013-05-13 23:25:18 +02:00
sjwilks 1b9222f43a Merge pull request #269 from PX4/new_led_status
New led status
2013-05-13 07:49:19 -07:00
Lorenz Meier 3ac76c4476 Blink pattern fixes 2013-05-13 10:15:36 +02:00
Lorenz Meier 69571c48c4 Fixed compile and logic errors, behaving now 2013-05-13 10:02:15 +02:00
Lorenz Meier f8c199062a Merge branch 'master' of github.com:PX4/Firmware 2013-05-13 08:34:18 +02:00
Lorenz Meier 1ff6c80866 More example fixes 2013-05-13 08:28:36 +02:00
Lorenz Meier 6ea204c813 Added fixed wing controller example 2013-05-12 20:08:09 +02:00
Lorenz Meier 79f9b61aff Fixed led patterns to be up to the latest specs 2013-05-12 20:05:20 +02:00
Lorenz Meier 0c43da3b64 Tested with PX4FMU and PX4IO with GPS and arming 2013-05-12 13:11:12 +02:00
px4dev 555d42e0cd Oops, left in some test code. 2013-05-11 16:46:52 -07:00
px4dev 196ee8b16f Change the way modules are built so that object paths are relative and use vpath for locating sources (so source paths are also shorter).
Add some basic documentation for the build system files while we're at it.
2013-05-11 11:32:05 -07:00
Anton Babushkin 9a9e41f7a2 Merge branch 'master' into gpio_led 2013-05-09 22:41:09 +04:00
Lorenz Meier 304ce63f00 Hotfix: Wrong capitalization on header file name 2013-05-09 19:03:40 +02:00