Giter VIP home page Giter VIP logo

Comments (15)

stephanweiss avatar stephanweiss commented on July 21, 2024

Hi,

What steps in the tutorial were difficult to follow? With your feedback we can improve them for others.

As for the optical flow (OF) sensor there are different ways to implement it. If you have sufficient computation power and a flat ground, you can use a a tightly coupled approach (e.g. cf. herehttp://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6669273&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D6669273http://), if computation power is an issue and if your ground is not completely flat you may use a loosely coupled approach (e.g. cf. herehttp://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6696955&url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel7%2F6679723%2F6696319%2F06696955.pdf%3Farnumber%3D6696955). Or even go with a commercial sensor like the PX4Flow (and use similar equations for the update as for the loosely coupled approach described herehttp://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6225147&navigation=1 or herehttp://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6696955&url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel7%2F6679723%2F6696319%2F06696955.pdf%3Farnumber%3D6696955.)

Hope this helps.
Best,
Stephan


From: mhkabir [[email protected]]
Sent: Sunday, August 31, 2014 12:01 AM
To: ethz-asl/ethzasl_msf
Subject: [ethzasl_msf] Adding optical flow module (#77)

I am trying to add a optical flow update module to the framework, but have been unable to do so. I'm rather confused on how to integrate the optical flow velocity into the estimate.

I read the older tutorial in single sensor fusion for adding a custom sensor, but didn't understand too much.

@simonlynenhttps://github.com/simonlynen Would you be able to help with the steps? Some examples for a similar velocity update sensor would be greatly helpful too.


Reply to this email directly or view it on GitHubhttps://github.com//issues/77.

from ethzasl_msf.

mhkabir avatar mhkabir commented on July 21, 2024

Thanks @stephanweiss :)

Presently I'm using a PX4Flow sensor which provides filtered flow for X-Y axes. I have this data in MSF via a callback in the new "flow" module I created. I'm a bit confused about :

  1. The actual integration of the data into the EKF
  2. Rotation and translation parameters

Some example code for a body velocity sensor would clear up most of the doubts for the first problem.

Now, as you said, I would prefer to move to a tightly coupled approach as I have enough computational power onboard as I'm using fast and efficient, direct SLAM methods. Would there be any open-source optical-flow based implementations of the papers you cited? Or perhaps access on a limited basis? Your help on this would be greatly appreciated.

Otherwise, I will stick to the PX4Flow, which has some limitations which I'm hoping to improve on. The update rate is pretty good (100Hz +), but the range of its onboard sonar module used to get ground distance and the fixed-focus lens it is paired with makes it difficult to make it operate at different altitudes, especially in conditions where there may be a failure of SLAM tracking.

Thanks and Regards,
Kabir

from ethzasl_msf.

stephanweiss avatar stephanweiss commented on July 21, 2024

unfortunately, we did not yet release the optical flow code and module to the public. We are working on this but cannot give a time line just yet.

If the MSF framework is a bit too complex you could start with the SSF framework (http://wiki.ros.org/ethzasl_sensor_fusion) to which you can apply the tutorials 1:1. Since you only have one sensor (i.e. PX4Flow and IMU) SSF can be used.

Best,
Stephan


From: mhkabir [[email protected]]
Sent: Monday, September 01, 2014 5:51 PM
To: ethz-asl/ethzasl_msf
Cc: Stephan Weiss
Subject: Re: [ethzasl_msf] Adding optical flow module (#77)

Thanks @stephanweisshttps://github.com/stephanweiss :)

Presently I'm using a PX4Flow sensor which provides filtered flow for X-Y axes. I have this data in MSF via a callback in the new "flow" module I created. I'm a bit confused about :

  1. The actual integration of the data into the EKF
  2. Rotation and translation parameters

Some example code for a body velocity sensor would clear up most of the doubts for #1#1.

Now, as you said, I would prefer to move to a tightly coupled approach as I have enough computational power onboard as I'm using fast and efficient, direct SLAM methods. Would there be any open-source implementations of the papers you cited? Or perhaps access on a limited basis? Your help on this would be greatly appreciated.

Thanks and Regards,
Kabir


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-54099653.

from ethzasl_msf.

mhkabir avatar mhkabir commented on July 21, 2024

Thank you Stephan, I need to use the MSF framework since I actually have 6 sensor sources (2 monocular SLAM, GPS , PX4Flow, laser rangefinder (ground distance) and barometer)

I will keep you updated on the progress.

Kabir

from ethzasl_msf.

mhkabir avatar mhkabir commented on July 21, 2024

@stephanweiss If possible, can you please help me out with some code samples for the loosely coupled optical flow approach?

Is it OK if I send you an email?

from ethzasl_msf.

stephanweiss avatar stephanweiss commented on July 21, 2024

Unfortunately, the inertial-optical-flow (IOF) module is not yet released as open source. We are cleaning up the code and plan to release it but have no timeline just yet. That said, using the indicated paper, it should be straight forward to implement it yourself. There are no tricks and tweaks in our implementation w.r.t. what the paper explains.

Best,
Stephan


From: mhkabir [[email protected]]
Sent: Saturday, September 06, 2014 9:53 AM
To: ethz-asl/ethzasl_msf
Cc: Stephan Weiss
Subject: Re: [ethzasl_msf] Adding optical flow module (#77)

@stephanweisshttps://github.com/stephanweiss If possible, can you please help me out with some code samples for the loosely coupled optical flow approach?

Is it OK if I send you an email?


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-54720372.

from ethzasl_msf.

mhkabir avatar mhkabir commented on July 21, 2024

@stephanweiss Thank you :) I am going with the PX4Flow for now. I got the sensor header written out okay, and am making(slow) progress.
I'm slightly confused about the artificial measurement. I have 2 sensor measurements, scaled flow velocity in X and Y axes. How do we use the artificial measurement? (I should have 3 measurements, if I'm not mistaken. 2 actual and one for the unobservable yaw)

Kabir

from ethzasl_msf.

stephanweiss avatar stephanweiss commented on July 21, 2024

"artificial measurements" are not needed if you do not want to bound unobservable states. So I suggest you go ahead without it for the time being to test your OF implementation first.

Best,
Stephan


From: mhkabir [[email protected]]
Sent: Tuesday, September 09, 2014 4:28 AM
To: ethz-asl/ethzasl_msf
Cc: Stephan Weiss
Subject: Re: [ethzasl_msf] Adding optical flow module (#77)

@stephanweisshttps://github.com/stephanweiss Thank you :) I am going with the PX4Flow for now. I got the sensor header written out okay, and am making(slow) progress.
I'm slightly confused about the artificial measurement. I have 2 sensor measurements, scaled flow velocity in X and Y axes. How do we use the artificial measurement? (I should have 3 measurements, if I'm not mistaken)

Kabir


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-54956018.

from ethzasl_msf.

simonlynen avatar simonlynen commented on July 21, 2024

@mhkabir If you want you can take a look at the optical flow implementation within the msf. It is not officially supported (yet) but we used it and it works pretty good: https://www.youtube.com/watch?v=ieFseoBF1OU

It is currently on this branch: https://github.com/ethz-asl/ethzasl_msf/tree/single_feat_iof

The paper that describes the approach is here: http://www.ifac-papersonline.net/Detailed/63827.html

from ethzasl_msf.

mhkabir avatar mhkabir commented on July 21, 2024

Thanks Simon, Looked a bit into the code. Looks a bit overwhelming first
glance. I will continue to inspect it over the next few days :)

Please let me know if you can fast-forward :)

Kabir

On Fri, Sep 12, 2014 at 9:46 PM, Simon Lynen [email protected]
wrote:

@mhkabir https://github.com/mhkabir I guess you have to just take a
look at the branch in the current state. There are a bit many conflicts to
fix in a short time.


Reply to this email directly or view it on GitHub
#77 (comment).

from ethzasl_msf.

mhkabir avatar mhkabir commented on July 21, 2024

@simonlynen Unfortunately, as silly as it sounds, I haven't been able to make any sense of the single_feature_iof branch. Incidentally, I cannot find any references to OF integration in it... I think that the actual optical flow algorithm isn't there, right?

from ethzasl_msf.

mhkabir avatar mhkabir commented on July 21, 2024

@simonlynen Any help please? Can I please have your email?

from ethzasl_msf.

simonlynen avatar simonlynen commented on July 21, 2024

@mhkabir I will see how I can make the actual code available. It's true that what is up is only half of the story.

from ethzasl_msf.

mhkabir avatar mhkabir commented on July 21, 2024

@simonlynen Can you please assist / follow up on this?

from ethzasl_msf.

art-mx avatar art-mx commented on July 21, 2024

Hi,
@mhkabir , have you been able to implement the imu+flow sensor solution?

from ethzasl_msf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.