As the title says, how can I set a different vehicle with different sensors in your simulator? LIke I want to design a car/bus with lidars and cameras at different positions.
Thanks!
@gogojjh do you plan to use it with Apollo ? you can try to modify existing car, look at Prefabs/RobotCandidates/XE_Rigged-apollo.prefab
Note: using multiple high-beam Lidars might affect performance
Yes, based on Apollo. I find a problem with the lidar data, Like the below figure, there exists a distortion of the point cloud when the car is moving. How I fix this problem? Increase the frequency of lidar?
Thanks!

in general our point cloud is perfectly compensated for the motion of the car, i.e. points are exactly where they are in the real world, and this is what Apollo is doing in a special subnode in the Lidar driver (see "compensated" topic vs raw point cloud).
"sector" distortions you see are happening because points are collected in batches between the frames and these are visible on the high speeds when objects move faster between the frames.
We are trying to improve our Lidar model in future releases to be more "smooth", meanwhile you also can try to play with Lidar parameters like resolution, number of rays of frequency. Disabling other sensors and decreasing resolution (to increase FPS) could also help.
Sorry that I have another question. You mentioned that we can modify the current car/sensor setup in "Prefabs/RobotCandidates/XE_Rigged-apollo.prefab". Here I tried to modify the number of rays and frequency, but it did not change in the simulation. So there are any other steps I should take?

Thanks!
Sorry again that I have too many problems TAT
You should not modify this file directly in text editor. Instead you should edit the object properties in Unity Editor. To change lidar properties for "XE_Rigged-apollo" car you should do following:
1) Open SanFraccisco scene from project window in Unity Editor.
2) Find XE_Rigged game object in scene window, click on it.
3) In inspector change properties - "Number Of Lasers", "Rotation Speed Hz", etc.. Do not change ApolloTopicName string. This string is set up to same ROS topic name as Apollo expects. Unless you want different topic name.
4) Either press run, to directly run in SF scene. Or press Apply at the top, to save properties back to prefab so you can launch everything from main menu.
I just follow these steps and create a new prefab in the "RobotCandidates" fold. But when I run the simulator again, I still can not load the new robot. What can I do next?
Thanks!
By "can not load" you mean it does not appear in combobox? The combobox in main menu is populated from RosRobot object. Open MainMenu scene, select RosRobots game object, and in inspector extend "Robot Candidates" array.
My problem is this:



You mentioned "MainMenu scene" and "RosRobots game object", where can I find them?
Thanks!
See following screenshot.

It can work, thanks a lot!
Most helpful comment
See following screenshot.