-
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
getLidarData() doesn't work well in Blocks and cunstom environment #1912
Comments
@orangeccc , What is platform used for visualization? |
@vishal-prgmr CloudCompare. See https://github.com/CloudCompare/CloudCompare |
@vishal-prgmr |
@msb336 Thanks! I used the SensorLocalFrame for DataFrame Option , now I change to VehicleInertialFrame and it works. |
@orangeccc hello, I have some errors on get lidar data,can you show your setting flie?When I simulation it always happen that no vehicle named or no lidar on vehicle 。 I think maybe something wrong on setting files。 thankyou |
May be this is helpful {
} |
@lcyawym you also have to specify which vehicle you are getting the lidar data from. for example, in python write: client.getLidarData(lidar_name = "LidarSensor1") |
I use the same simple test code for collecting lidar data and vehicle trajectory as below:
But I find it works differently in different environment. When using CityEnviron , the center of the point cloud changes correctly as the vehicle moves , so I can get a point cloud scene of the environment by merging all points clouds as shown in Fig 1. The point cloud centers follows the trajectory (red points ) well.
Fig 1 lidar points in CityEnviron
However , the center of the point cloud doesn't change as the vehicle moves when using Blocks or other custom environment ,Fig 2. It seems something wrong with getLidarData().
Fig 2 lidar points in Blocks
Maybe it is similar with #1865 , but I'm not quite sure.
Thanks for any help!
The text was updated successfully, but these errors were encountered: