Using scripts to process data from the FlightGear simulator #121
Replies: 4 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
I changed the example code a bit
I also tried to simply read data from a file using this code:
The result in the console, after command
I'll try, there are no really working examples to understand this zoo of functions. |
Beta Was this translation helpful? Give feedback.
-
Hi! Sorry about the lack of clarity, especially for beginners, in the repository. You have raised a good point, and I think I can offer a good solution for it. I will add a Jupyter Notebook with the most common uses of the functions and tools included in the repository. This way I can explain the structure of the package and its possible applications. I hope I can improve the readability for everyone, and its use at all levels. I'll write back here to ask for feedback about the notebook. Mario. |
Beta Was this translation helpful? Give feedback.
-
Hi! I added a Jupyter Notebook (https://github.com/Mayitzin/ahrs/blob/master/notebooks/Showcase.ipynb), where I will be showcasing the most common tools of the library, and I will try to make it as accessible as possible. If you think there should be something to further clarify, please let me know so that I can add it. |
Beta Was this translation helpful? Give feedback.
-
I receive acceleration and angular velocity data from the
FlightGear
simulator via serial port.Firstly, I couldn't get the
WSL
scripts to work inWindows
.Python3 simply didn't want to run the setup as described here.
That's why I'm just trying to run the
Python
code viaPyCharm
, but I haven't found a single example of working with theAHRS
library in the folders themselves.How can I insert data into it to determine orientation?
For example, I insert acceleration and angular velocity into the
Mahony
filter, either from theMEMS
sensor or from the *csv file.I don't know how to use the
AHRS
code inPython
, although I have sufficient experience programming inC++
.This is not a complaint, it's just that the author of the library didn't really describe working with the library, only general phrases.
Also, the very first issue on GitHub says that the author will help everyone who is interested in the
AHRS
library, but in fact, most of the questions here are unanswered, which suggests that the project has been abandoned.Please change me for such a tone, but until I can figure out this code, it will remain negative (tone).
Sorry!
Beta Was this translation helpful? Give feedback.
All reactions