Coder Social home page Coder Social logo

Import PX4Log files about mavgcl HOT 16 CLOSED

ecmnet avatar ecmnet commented on May 23, 2024
Import PX4Log files

from mavgcl.

Comments (16)

mhkabir avatar mhkabir commented on May 23, 2024

@ecmnet Any chance that you will be able to implement this soon? :) It would be great to have the ability to replay px4log files :)

Thanks!

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

@mhkabir This is quite a difficult question. Currently MAVGCL uses a flat data model structure (with hardcoded key figures), which I took over from my previous flight stack implementation. Now, I am not sure whether to keep that model as a dynamic one would give more flexibility. Since this question is tightly coupled to the mavlink-parser, I use, I thought about waiting for MAVLINK 2.0, before changing that. On the other hand, it would be quite easy to keep the current model and assign the key-figures of the px4log to that flat model. So, to be honest, I just don't know what to do here. What is your opinion?

from mavgcl.

mhkabir avatar mhkabir commented on May 23, 2024

@ecmnet Mavlink 2.0 is still sometime away. I think it would be prudent to keep using the current model (hey, it works well!) till we can get a stable MAVLink 2.0 spec.
There is practically nothing we can use to replay logs currently, and MAVGCL is the best option for this to date. If we can get log-replay working, it would also increase the user base for this application.

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

@mhkabir Basic PX4Log Import implemented. Currently I have mapped only L.NEDX,Y,Z. Further mapping to do in https://github.com/ecmnet/MAVComm/blob/master/MAVComm/src/com/comino/msp/model/MSTYPE.java

from mavgcl.

mhkabir avatar mhkabir commented on May 23, 2024

@ecmnet Awesome :) How can I test? What's the best way to help you add more support?

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

@mhkabir just run the app in any mode, open px4file and select LocalPosition. The screenshot shows an uploaded px4log:

screenshot

Note: I am connected to my vehicle. Therefore the details are updated. Those do NOT relate to the uploaded data currently. Working on this.

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

Note: As the sampling in MAVGCL is currently fixed to 50ms, px4logs will be read accordingly and thus provide NOT the full resolution in time

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

@mhkabir Is there any easy readable list of the px4log abbreviations available ? This would make mapping more easy for me.

from mavgcl.

mhkabir avatar mhkabir commented on May 23, 2024

@ecmnet Does this help? https://github.com/PX4/Firmware/blob/master/src/modules/sdlog2/sdlog2_messages.h

from mavgcl.

mhkabir avatar mhkabir commented on May 23, 2024

More specifically, https://github.com/PX4/Firmware/blob/master/src/modules/sdlog2/sdlog2_messages.h#L614-L673

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

@mhkabir Yes. Thanks a lot!

from mavgcl.

mhkabir avatar mhkabir commented on May 23, 2024

Thanks for this. I pulled master, and built it, but I can't find a way to
import a file...

This must be something silly on my part, but what do I press to be able to
load the log?
On 18 Mar 2016 6:20 pm, "Eike" [email protected] wrote:

Closed #8 #8.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#8 (comment)

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

@mhkabir Hm. Should be under the menu File -> Import px4Log

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

It's a bit weird. JavaFX does not use the OS X Menu-Line:

import

I just looked around and there seems to be a fix for this.

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

@mhkabir Btw. Let me know, which additional key-figures (either from MAVLink or from px4Log) would be useful for you...

from mavgcl.

ecmnet avatar ecmnet commented on May 23, 2024

@mhkabir SystemMenu issue fixed.

from mavgcl.

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.