Commit Graph
27 Commits
Author SHA1 Message Date
Hyon Lim b3f1adc54b SO3 estimator code has been cleaned 2013-11-29 02:35:49 +09:00
Hyon Lim bcd745fb0d SO(3) estimator and quaternion receive by mavlink implemented 2013-11-29 02:05:15 +09:00
Hyon Lim 9a4b57c352 Update fw_att_control_params.c 2013-11-20 03:04:53 +09:00
Hyon Lim ee985c70b3 Update fw_att_control_params.c
Minor comment error corrected.
2013-11-20 02:45:52 +09:00
Hyon Lim 1a3d17d4e7 Update sensor_params.c
Not necessarily modify this on initial.
2013-10-01 09:15:15 +09:00
Hyon Lim (Retina) 1c891d8a68 Airframe No. 21. 22 have been added.
That is for general ESC with PX4IO (frame geometry defined)
2013-09-25 02:17:06 +09:00
Hyon Lim (Retina) 4514045fb6 There were unintialized variables.
(control mode was not updated)

Also, new flags (xy_valid etc) were considered.
2013-09-25 02:12:55 +09:00
Hyon Lim (Retina) bfe22c1140 RC3 usually used as Throttle, but trim was set to 1500 by default.
It should be 1000 by default.
2013-09-25 02:02:51 +09:00
Hyon Lim a32b25eb52 Update 1001_rc_quad.hil
Default gain set
2013-09-19 05:33:57 +10:00
Hyon Lim (Retina) 36ffe2d694 Quadrotor HILS related RC script has been added 2013-09-19 04:29:46 +09:00
Hyon Lim (Retina) 6a6fe69371 Bug in so3 estimator related to R matrix 2013-08-31 03:23:03 +09:00
Hyon Lim (Retina) 9f2419698f Topic has been changed for quaternion-based attitude controller. 2013-08-31 03:22:19 +09:00
Hyon Lim (Retina) fff1856377 There was a bug in position_estimator_mc. Solved 2013-08-31 03:11:58 +09:00
Hyon Lim (Retina) 6537759dfc Add detailed documentation for SO3 gains tuning.
USB nsh has been removed.
2013-06-06 21:28:40 +10:00
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) 279028ede4 Merge branch 'master' of https://github.com/limhyon/Firmware 2013-05-29 00:35: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) f336a86baa 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:29:31 +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
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) cd7b0f7aab I missed to add build command 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