Skip to content
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

How to use multiple Lidars in the single vehicle. #75

Closed
wsp50317 opened this issue Jan 19, 2019 · 5 comments
Closed

How to use multiple Lidars in the single vehicle. #75

wsp50317 opened this issue Jan 19, 2019 · 5 comments

Comments

@wsp50317
Copy link

I tried to directly copy the Lidar and run, but the copied one would be stuck in the original position(It can't move with the vehicle). And It also failed to pass data to Autoware.
Is there any methods to use multi Lidars?

@moenasrallah
Copy link

moenasrallah commented Jan 21, 2019

I think the problem you are having is that the Lidar is not a child object to the Car object.
Observe this relationship and drag the new copied Lidar to be like this in the hierarchy.

image

This will then move the lidar accordingly with the vehicle since it is now technically attached.

As for the Autoware part, I'm not sure.

@martins-mozeiko
Copy link
Contributor

martins-mozeiko commented Jan 21, 2019

@wsp50317 For new lidar to be able to communicate to ROS it needs to be added to Needs Bridge list of vehicle object. See following link that explains how to duplicate camera sensor: #68 (comment)

@wsp50317
Copy link
Author

@moenasrallah Sorry that I didn't explain exactly. I have set parent and child, and the Lidars can move with vehicle. But the clone one's red point cloud would stuck in the start point in the unity scene.

@martins-mozeiko Thank you! It solve my problem. Although the above problem have not be solved, ROS works normally.

@martins-mozeiko
Copy link
Contributor

@wsp50317 You are right. Visualization in simulator does not work correctly when multiple lidars are added to vehicle. We will fix this.

@martins-mozeiko
Copy link
Contributor

Visualization is fixed with e669702 commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants