-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Lidar sensor performs differently in different scenes with same settings #1865
Comments
This is definitely a logic issue in airsim, but the reason you are having unexpected LiDAR response is because of your vertical field of view range. your horizontal fov is only a half circle, so the max angle for vertical fov is -90/90 degrees. Going over this value causes a problem with the sensor constructor. The underlying problem will require a fix inside of airsim, but a workaround for you would be to set your |
@msb336 Thanks for your reply, I agree with you that going over the maximum angle might be one of the reasons, but I tried this settings.json: "Sensors": {
"BottomObstacleDetector": {
"SensorType": 6,
"Enabled": true,
"Range": 5,
"NumberofChannels": 4,
"RotationsPerSecond": 10,
"PointsPerSecond": 1000,
"X": 0, "Y":0, "Z": 0.01,
"Roll": 0, "Pitch": 0, "Yaw": 0,
"VerticalFOVUpper": -88,
"VerticalFOVLower": -92,
"HorizontalFOVStart": 0,
"HorizontalFOVEnd": 359,
"DrawDebugPoints": true,
"DataFrame": "SensorLocalFrame"
}
} But the performance in CityEnviron: |
@msb336 And I found that in CityEnviron the point cloud of lidar data is empty after changing the direction of drone(by setting yaw argument in |
@whxru Hello,I also meet the question same with you.Have you solved this problem? |
@lcyawym Not yet, but I use the default configuration and distinguish those points after getting them. |
@whxru I solved this problem.You can update your airism or go to the path of the question where remind lost pose and add pose = Pose() . It will work. |
I think your problem may be solved by this pr |
The PR has been approved. |
Hello everyone, I'm trying to make the lidar sensor become a downward obstacle detector within a range, but with the same settings.json, the lidar sensor performs differently in Blocks and CityEnviron which I download directly from the github release (version 1.2.1).
The perfom in Blocks:
The perfom in CityEnviron:
The settings.json:
Besides potential bug I wanna ask a question that what exactly the "HorizontalFOVStart" and "HorizontalFOVEnd" mean? Why could I get a complete scanning area like a circle with HorizontalFOVStart 0 and HorizontalFOVEnd 180? It seems like I should get this with HorizontalFOVEnd 359.
The text was updated successfully, but these errors were encountered: