This is looking great Paul.
Thank you so very much!
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
GPS TURNED OFF AT 50 SECONDS - ONLY MAGNETOMETER AND OPTICAL FLOW FUSION
Paul,
Nice to see the update. I will sort out that start-up issue in the next couple of days, certainly before the weekend.
So the alt estimate based on optflow looks good especially compared to the baro. I guess the laser range finder alt is all over the place because the vehicle is rolling or pitching.
The drift of 100m / minute seems really high. I guess it depends a bit on how quickly it gets to high speed, i.e. if that’s all in the last 10 seconds, then great, but if it’s immediately starts drifting by about 1.5m/s that’s not so useful. Anyway, early days still I guess.
The optflow came up on the call today. We decided we should merge the optflow changes into AC master and also make the sonar that’s on the sensor available as a range-finder like any other sonar or laser range finder.
Are there any changes you need made to the code on the sensor? .. maybe you’re talking to Lorenz about that but just wondering.
-Randy
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
--
I also support this crazy idea.
For the SLAM stuff it would probably make sense to try and use the Google Tango. Of course I know extremely little about it and how to interface with it.
https://www.ifixit.com/Teardown/Project+Tango+Teardown/23835
Here in Japan there is talk (and some action) on trying to use multicopters for looking under bridges since the place started falling apart a few years ago.
http://edition.cnn.com/2012/12/03/world/asia/japan-tunnel-collapse-bolts/
It’s tricky because of the gps-might-not-work and the object avoidance problems. As Rob says, it’s very similar to the graffiti project he did.
I think last year we couldn’t do it but this year we might.
I think one interesting test once Paul has his code a bit more integrated would be to fly a multicopter from outdoors to indoors with a px4flow attached. For example, maybe into a tunnel and see what happens (and send a log to Paul).
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Daniel Nugent
Sent: July 23, 2014 5:16 AM
To: drones-...@googlegroups.com
Subject: [Bulk] Re: [drones-discuss] Re: Fusion of optical flow measurements into the Navigation EKF - Progress Report
Take it a step further and run a low resolution SLAM algorithm for mapping. Not familiar what kind of resolution and processing is required for SLAM. Would be cool for cheap obstacle avoidance. Anyone have any knowledge on SLAM?
Optical flow only works in 2 dimensions right now, correct? How does it behave on uneven terrain?
Daniel
On Tuesday, July 22, 2014 2:38:05 PM UTC-5, robert.lefebvre wrote:
I support this crazy idea. That graffiti project I was working on a year ago really could have used this. And the applications are endless.
Anything we can do in the direction of helping a UAV navigate indoors will be time well-spent.
On 22 July 2014 15:19, Jesus Alvarez <wja...@gmail.com> wrote:
Paul,
Maybe this idea is crazy and nonsense but... what if the pxflow sensor orientation could be configurable?
Lets see (I see) the pxflow as a "suction pad". The idea is that Loiter (or whatever mode that uses the pxflow) could not only track terrain below but whatever surface it has in the orientation the user has defined.
So for example I am thinking in the inspection of an hydraulic dam. If I could install pxflow in the front of the copter and tell him the orientation pxflow is facing, then I could "stitch" the copter to the given position in the dam wall.
In the extreme case, we could have more than one pxflow facing different orientation....
Just thinking...
El martes, 22 de julio de 2014 12:36:50 UTC+2, Paul Riseborough escribió:
I have a 550 quad and a lidar lite funded. If I add a pxflow I volunteer to test against walls.
Paul,
I can help you with this. Ping me on skype when you’re free.
Similar to how the NavEKF uses the baro, when the NavEKF object is first instantiated in ArduCopter.pde, you’ll want to pass in the opticalflow object into the NavEKF’s constructor. The NavEKF will need an internal reference to an OpticalFlow object similar to the “_baro” that it already has.
-Randy
--
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<PositionWithNoGPS.png>
<FlowInnovations.png>
<VelocityWithNoGPS.png>
--
I received a Lidar-Lite today and found that i cannot run both the Lidar and PX4Flow sensor together on the I2C bus. Connecting the PX4Flow sensor to the I2C bus causes the Lidar readings to become intermittent. More investigation required.
Dang. I think we need to see if Dennis & Co. can change the address on the lidar.
I’ve pushed several commits to master just now to enable the px4flow sensor for Pixhawk. I’ve also made some changes to OF_Loiter but I haven’t test-flown it and I don’t think it’ll successfully hold position yet.
Because of the I2C address issue, for the moment, I’ve left out this one commit that starts the px4flow driver. So if people want to test the sensor they’ll need to cherry pick this into their ardupilot branch.
https://github.com/rmackay9/rmackay9-ardupilot/commit/8e1bc5a87380be2e690ca52055013c9746f1f223
-Randy
David,
So basically I’m helping Paul by getting a driver working in ardupilot so that he can get the data from the sensor.
In addition I did a small amount of work to fix up OF_Loiter which is a weak version of what Paul’s doing. It relies just on the sensor, not on any kind of smart mixing of data. The only reason OF_Loiter will survive is if Paul’s stuff doesn’t allow using the optflow sensor without a GPS.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of David Pawlak
Sent: 15-Oct-14 8:44 PM
To: drones-...@googlegroups.com
Subject: [Bulk] [drones-discuss] Re: Fusion of optical flow measurements into the Navigation EKF - Progress Report
Randy,
Can you elucidate a bit on the differences between what you have done and what Paul is doing?
Do I remember right that Paul used your initial drivers/interfaces to get his project strated?
How far does yours go? Paul's goes deeper into the EKF fusion... or did you two collaborate to get a single starting point into master?
On Thursday, July 17, 2014 11:25:03 PM UTC-4, Paul Riseborough wrote
Paul,
That is absolutely fantastic!!
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Paul Riseborough
Sent: 26-Oct-14 10:58 AM
To: drones-...@googlegroups.com
Subject: [Bulk] [drones-discuss] Re: Fusion of optical flow measurements into the Navigation EKF - Progress Report
A quick update. The optical flow position hold without GPS has now had three flights although PX4Flow lockups have been an issue. When this happens, all communication on the I2C bus is lost, so it loses external compass, range and flow measurements. This only happens if the external Mag, LIDAR-Lite and PX4Flow sensor are all on the same bus, so I have temporarily disconnected the external compass until a longer term fix is found.
--
--
You received this message because you are subscribed to a topic in the Google Groups "drones-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drones-discuss/SqgXeojbiZU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drones-discus...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "drones-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drones-discuss/SqgXeojbiZU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<flow innovations - 22 state filter.png><flow innovations - 2 state filter.png><estimated ground position - 2 state filter.png>
Paul, that is very interesting that you had false readings on the lidar. Did you see my discussion and video of object avoidance using lidar last week? I also experienced false readings, using the SF/02. Seemed that when the sensor was pointed at the horizon it would false return. Later on I tested again, pointing it up into the sky by hand, and had no problem. Strange. I did not expect this failure with lidar. Certainly complicates things.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
In my case, any filter would be useless. The false positive appeared to be persistent. It flew backwards away from a nonexistent object until I stopped it manually.
I have not spent much time troubleshooting it yet. But its potentially a really bad shortfall of the lidar I did not expect.
You received this message because you are subscribed to a topic in the Google Groups "drones-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drones-discuss/SqgXeojbiZU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drones-discus...@googlegroups.com.
That is really exciting Paul. It looks super cool. Congratulations.
--
You received this message because you are subscribed to a topic in the Google Groups "drones-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drones-discuss/SqgXeojbiZU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drones-discus...@googlegroups.com.
Some of you would be aware that since supporting the implementation of the EKF in APM and PX4, I have been working on incorporating fusion of optical flow measurements into the EKF using a data set supplied by Lorenz.
After a number of false starts, I now have a prototype working in a proof of concept test bench https://github.com/priseborough/InertialNav/blob/optflow-wip/code/estimator_23states.cpp which uses the raw flow messages and can do the necessary calibration of the sensor focal length automatically. This involved addition of a state to the navigation EKF to estimate the local terrain elevation, update of all the filter equations to accommodate the additional state, implementation of the equations for the fusion of the optical flow rates and implementation of a separate EKF to estimate the sensor focal length scale factor. Some earlier attempts were made to try and integrate estimation of the focal length into the main filter, but this ran into problems with filter stability.
The good news is that this implementation is compatible data available on the existing MAVLINK optical_flow message and has also shown it is possible to estimate height above ground without use of a range sensor (if you have a independent measure of velocity like GPS), or can it can constrain drift when GPS is not available if you have a means of estimating height above ground, eg laser).
The first plot shows the convergence of the focal length scale factor over a flight, optical flow rate innovations and he laser range (in red) superimposed over the optical flow derived height estimate (in blue). The second plot shows the attitude estimate from the filter compared with the PX4 on-board solution.
These are preliminary results and there has been no filter tuning or data quality checking, but it shows the optical flow can provide an estimate of height above ground when laser readings are unavailable and that the optical flow fusion is working correctly. The combination of a laser and optical flow sensor, enables height above ground to be estimated across a larger range of heights.
The next step is to gather some more data sets (i will try to get one recorded from a copter) and do some more work on tuning and data quality checks. The prototype is currently not using the flow quality measure, so that will be one item to look at. Once the improvements will be rolled back into the optflow-wip branch and the testbench is producing reliable results, I can then start an APM implementation
Thank you to Lorenz and the PX4 team for the flight data, 3DR for providing a sensor to experiment with, and Randy for his patch integrating the PX4Flow sensor, which i will try to gather data with this weekend.
Regards,
Paul
--