Giter Club home page Giter Club logo

Comments (10)

martins-mozeiko avatar martins-mozeiko commented on September 1, 2024 3

See following screenshot.

image

  1. open Menu scene (double-click)
  2. select RosRobots game object (single-click)
  3. edit RosRobot properties in inspector - add new entry and drag in your prefab from Project window (where you selected scene)

from simulator.

andytolst avatar andytolst commented on September 1, 2024

@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

from simulator.

gogojjh avatar gogojjh commented on September 1, 2024

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!
screenshot from 2018-10-18 23-20-15

from simulator.

andytolst avatar andytolst commented on September 1, 2024

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.

from simulator.

gogojjh avatar gogojjh commented on September 1, 2024

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?
screenshot from 2018-10-19 09-50-31

Thanks!
Sorry again that I have too many problems TAT

from simulator.

martins-mozeiko avatar martins-mozeiko commented on September 1, 2024

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.

from simulator.

gogojjh avatar gogojjh commented on September 1, 2024

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!

from simulator.

martins-mozeiko avatar martins-mozeiko commented on September 1, 2024

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.

from simulator.

gogojjh avatar gogojjh commented on September 1, 2024

My problem is this:

  1. I created a robot based on the "XE_Rigged-autoware" like this:
    screenshot from 2018-10-22 15-04-17
  2. I saved this robot model in the "Assets/Prefabs/RobotCandidates" fold
    prefab
  3. I opened the simulator, SanFrancisco scene, the robot I created cannot be loaded (the model "XE_Rigged-jjiao_stareo_lidar" doesn't appear).
    screenshot from 2018-10-22 15-05-40

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

from simulator.

gogojjh avatar gogojjh commented on September 1, 2024

It can work, thanks a lot!

from simulator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.