Professors' INSGPS in SVN
#1
Posted 23 August 2010 - 07:05 AM
I put a message in the wiki http://wiki.openpilo...d_configuration for how to get it running. I'll be interested in hearing how it performs for people.
#2
Posted 23 August 2010 - 10:40 AM
I would gladly (and would like too) test it all out but the orange LED on the AHRS board I have does not light up at all these days, I still don't have the HMC magnetic chip fitted on the board, which 'may' be the reason?
#3
Posted 23 August 2010 - 11:23 AM
#4
Posted 23 August 2010 - 12:36 PM
The AHRS board is flat on the table (not moving), GPS is not locked as it can't get a lock in the house.
Here's what I am now see'ing in the GCS ..
AHRS readings
#5
Posted 23 August 2010 - 01:56 PM
- Pitch: continuously rotating so I see 1 rotation about every 16s in this axis
- Roll: flips between -90 and +90 as pitch goes through 90
- Yaw: flips between 270 and 90 as pitch goes through 90
Note that I do not have GPS lock and that I have done a calibration step. I tried repeating calibration to see if it changed and I have managed to sometimes get a slightly more stable Pitch but it just rotates slower.
With the rotation and flipping, the PFD view is a bit disorienting so I may not have the description exactly right.
#6
Posted 23 August 2010 - 02:10 PM
Pip - yeah it's definitely going to lock up without mag. Once it's working in normal conditions we'll think how to do a self test operation.
Also Stac with the I2C driver - could we actually implement a timeout when it's spinning in the I2C driver for too long? In other news I left mine with GPS lock and I2C and flight time was what I expected when I woke up, so I'm not seeing that issue you are.
#7
Posted 23 August 2010 - 02:13 PM
I've entered the XYZ values as shown in the picture then clicked SEND, but no apparent difference.
#8
Posted 23 August 2010 - 02:32 PM
If not you set measure_var to true before sending and it didn't flash?
#9
Posted 23 August 2010 - 02:40 PM
I'll see if I can find the RS232 adapter and try it again via an RS232 port.
#10
Posted 23 August 2010 - 03:05 PM
The AHRS led went stable for 5 to 10 seconds this time in the calibration (sometimes it stays OFF for 5-10 secs, sometimes it stays ON for 5-10 secs).
In the following video the AHRS board is flat on the table, I then turn it on it's side so that it's at a 90deg angle, then back flat again, then onto it's other side. Then the same again using the SIMPLE algorithum.
AHRS readings
#11
Posted 23 August 2010 - 03:34 PM
Once the calibration configuration is easy then that bias you are seeing when it's flat will go away too. Although from looking at it you go flat in simple so it's probably not an accel bias. Did you configure the right magnetic field?
#12
Posted 23 August 2010 - 04:59 PM
#13
Posted 23 August 2010 - 06:01 PM
#14
Posted 23 August 2010 - 09:26 PM
Pip, on 23 August 2010 - 12:36 PM, said:
The AHRS board is flat on the table (not moving), GPS is not locked as it can't get a lock in the house.
Here's what I am now see'ing in the GCS ..
AHRS readings
Pip: I'm seeing exactly the same kind of tilt, but it goes away with the Simple algorithm. Same for you?
#15
Posted 23 August 2010 - 10:30 PM
#16
Posted 28 August 2010 - 06:58 PM
#17
Posted 28 August 2010 - 08:34 PM
#18
Posted 31 August 2010 - 07:16 PM
Quote
There is an optimization opportunity here. A GPS-INS can use a poor GPS fix for attitude information, but only if you are honest about how poor the estimate is. Ideally, the GPS's report should have fairly high error bounds with zero smoothing in its internal KF. Depending on your level of access to the GPS firmware, you may be able to approximate that ideal by raising the acceleration uncertainty in the GPS's internal KF implementation. For example, if the internal software architecture is similar to the one exposed by the Fastrax iTalk protocol, you would raise KLM_ACC_NOISE (and maybe KLM_ACC_VERT_NOISE) to somewhat high values, maybe 4-6G in the horizontal plane and 2G in the vertical direction. That way you are relying more on the acceleration reported by your AHRS accel's for this data.
#19
Posted 31 August 2010 - 08:00 PM
Jonathan Brandmeyer, on 31 August 2010 - 07:16 PM, said:
Yeah I actually checked in a fairly similar algorithm last night (variance scales linearly with sum of DOP values) although it's crude and need's fine tuning. According to Dschin he doesn't think those estimates of variance will actually be accurate enough though and we'll probably just apply a threshold where a poor GPS lock doesn't trigger an EKF correction step on GPS, just Mag's. There's also an "Indoor mode" which will switch to updating at 0,0,0 with a high variance to say "same place on average" which is still technically incorrect for a few reasons. I think this will end up being empirical.
See http://progress.open...omment-tabpanel
#20
Posted 31 August 2010 - 09:53 PM
Quote
While operating outdoors, you might be able to recover the entire GPS fix covariance matrix in a manner similar to what gpsd does for some receivers.


United States







United Kingdom
Australia
Canada
France









