-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recording distance sensor data for drones in airsim_rec.txt #4311
Comments
Hi @bineet-coderep, Question 2: Record the distance sensor data in airsim_rec.txt
To store the data, you could write to a file or redirect all print statements via the shell ( >airsim_rec.txt ). Another approach would be to modify recordings: https://microsoft.github.io/AirSim/modify_recording_data/ Hope this helps. Edit: |
https://microsoft.github.io/AirSim/modify_recording_data/ This page will be helpful for details on how to modify the data being recorded. Instead of Imu or Barometer, you'll need to use |
To add distance sensor to the drone is Airsim you need to add the configuration of distance sensor in settings.json. Configuration for distance sensor is mentioned below |
Question
What's your question?
I am currently using a drone to gather a dataset. Can you please let me know how can I equip the drone with a distance sensor to compute its altitude. Note that the distance sensor, in my case, needs to be pointed downwards. Merely using (x,y,z) coordinates of the drone is not sufficient to compute altitude of the drone, in my case. The environment I am currently using has animated objects moving in the ground. So, to calculate the altitude of the drone, w.r.t to those objects, I need a distance sensor that's pointed downwards. Note that I also need to record this distance sensor data is
airsim_rec.txt
.Include context on what you are trying to achieve
Following is what I am trying to achieve:
airsim_rec.txt
.Context details
Development environment:
I am currently recording x,y,x and roll, pitch yaw, in
airsim_rec.txt
, by modifyingPawnSimApi.cpp
(Issue 4251)Include details of what you already did to find answers
I tried the following, without success:
The text was updated successfully, but these errors were encountered: