Can't record GPS and IMU data of UAV in a certain frequency? #3624
Replies: 9 comments 6 replies
-
Hi @KermitLee! Which error are you getting? |
Beta Was this translation helpful? Give feedback.
-
And The part that reports the error is in the function 'log_with_time'.
|
Beta Was this translation helpful? Give feedback.
-
And I want to know how to record the motion state of the UAV according to a certain frequency, and I need the UAV to fly along the route specified by me. |
Beta Was this translation helpful? Give feedback.
-
I streamlined my code. It still doesn't work.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@KermitLee were you able to write your GPS and IMU data to a txt file? I want to achieve the same and was wondering you'd done it now. |
Beta Was this translation helpful? Give feedback.
-
U also can realize the function with " client.moveOnPathAsync(v_path_list, 20, 20000) ", if u are not add ".join()" , the drone will fly and code will continue execute, and then u can set a for loop to recording. |
Beta Was this translation helpful? Give feedback.
-
Hello there I tried adding this to the MultirotorPawnSimapi.cpp however it still seems to not work. Any advice on how to do it? Did you do any additional edit to the PawnSimApi.cpp doc so that it dismisses the default recording file? std::string MultirotorPawnSimApi::getRecordFileLine(bool is_header_line) const
} |
Beta Was this translation helpful? Give feedback.
-
Can't record GPS and IMU data of UAV in a certain frequency?
Question
My question
How to record GPS and IMU data of UAV in a certain frequency?
Include context on what I am trying to achieve
I coded the code to record the status information of the UAV and the code to control the flight of the UAV according to the path point in Python language.And use threads to run two part of the code, but
is always an error.
Context details
OS:win10, AirSim Current version, Python:3.7, Unreal version 4.25
Include details of what you already did to find answers
No solution has been found so far.
Beta Was this translation helpful? Give feedback.
All reactions