-
Notifications
You must be signed in to change notification settings - Fork 230
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
Multiple lidars in different frames #34
Comments
1.IP settings
2.change config file
|
Thanks for answer. The configuration you pointed was done, the problem is in the launch file, i would want to specify differents frames here. I create two nodes to execute two drivers passing as parameters the respective file, but the result only show one point cloud in the topic. |
I have the same problem with two HAP's. I also start two nodes for the respective HAPs. Multi_topic parameter is set to 1, IP's are different, Config file was adjusted as described here. However, it seems that the first starting node goes through the config file and publishes both listed there. In fact, two topics or pointclouds are published for me as well. But both with the same frame_id, which is not wanted although in the start launch file different frame_id parameters are passed. In the driver code it seems that the frame_id is set as parameter but for all created publishers, so the parameter is always overwritten. Actually the option multi_topic should distinguish between different frame_id's, like it is done with the names of the topics. If someone has a solution or I am wrong I would be very grateful. |
#85 |
Thanks for your work, it works for me. |
First of all, I am agreed to have this feature to allow user to define each lidar publish frame, and the workaround in above works (hopefully a PR or official implementation will be deployed). Second, I use another way to solve this issue by launching two different set of config.json and two nodes. Make sure the |
Further tested, this approach is not stable. sometime the hostnet config will ignore the according lidar ip and set all the connected lidar to publish in a same port. |
Hello,
Im trying to use to lidars 360 in different frames, if i run the driver only for one lidar works well but when two drivers are executing only one lidar is published, i already changed the multi_topic parameter to 1.
could be a good idea has a example of launch multiple lidars in different topics and frames
The text was updated successfully, but these errors were encountered: