Livox-SDK / livox_ros_driver

Livox device driver under ros, support Lidar Mid-40, Mid-70, Tele-15, Horizon, Avia.
Other
358 stars 202 forks source link

Livox Hub connection issue plz help.. #81

Open ChicagoPark opened 3 years ago

ChicagoPark commented 3 years ago

Currently, I have 5 livox horizon lidars and Iivox hub. Even I prepare all the things which is necessary for operating Livox hub (power cable).

But when I launch "livox_hub.launch", I got the message below.

Could you give me a help??

I did not connect Sync port because I do not have GPS. I want to know it can be a problem..

(When I connect the one lidar individually and launch "livox_lidar.launch", I can get the topic.)

OS: Linux Ubuntu 18.04 melodic

Error code `... logging to /home/kaai/.ros/log/66e9b5a8-906a-11eb-b4e4-305a3a77c45e/roslaunch-kaai-PC-13855.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://kaai-PC:41057/

SUMMARY

PARAMETERS

NODES / livox_lidar_publisher (livox_ros_driver/livox_ros_driver_node)

ROS_MASTER_URI=http://localhost:11311

process[livox_lidar_publisher-1]: started with pid [13870] [ INFO] [1617008692.828183573]: Livox Ros Driver Version: 2.6.0 [ INFO] [1617008692.833528817]: Data Source is hub. [ INFO] [1617008692.834038117]: Config file : /home/kaai/catkin_ws/src/Livox-SDK/livox_ros_driver/livox_ros_driver/config/livox_hub_config.json Commandline input bd:100000000000000 Invalid bd:100000000000000! Livox SDK version 2.3.0 Hub[13UUG1R00400170] : 0 0 0 0 0 Lidar[0TFDG3B006H2Z11] : 0 0 0 0 0 Add lidar raw user config : 0TFDG3B006H2Z11 Lidar[0TFDG3U99101291] : 0 0 0 0 0 Add lidar raw user config : 0TFDG3U99101291 Lidar[1HDDG8M00100191] : 0 0 0 0 0 Add lidar raw user config : 1HDDG8M00100191 Lidar[1PQDG8E00100321] : 0 0 0 0 0 Add lidar raw user config : 1PQDG8E00100321 No broadcast code was added to whitelist, swith to automatic connection mode! Livox-SDK init success! [ INFO] [1617008692.834802578]: Init lds hub success! ` 스크린샷, 2021-03-29 18-26-20

Livox-SDK commented 3 years ago

Hub use static ip address by default, could you check your host machine(pc) ip address?

ChicagoPark commented 3 years ago

I already tried static ip (according to the Livox hub manual) "192.168.1.X". And I put the number between 2 to 233...

The above message came out after trying static ip and same with auto ip as well..

Do you mean should I need to set static ip address same with my PC internet IP?

Livox-SDK commented 3 years ago

Hub and PC both use static ip mode, but the ip of hub and pc must be different. It seems that no data is sent to the PC.

Livox-SDK commented 3 years ago

Use tcpdump or wireshark to monitor your network. Confirm whether there is hub broadcast data sent out.

ChicagoPark commented 3 years ago

Copy. Thank you for your answer. I am goint to let you know about it after trying your recommendation

ChicagoPark commented 3 years ago

Sir, should I need to use Gigabit Router (DHCP) to connect ??

Currently, I connect ethernet cable directly. But I do not know it is the problem or not..

Livox-SDK commented 3 years ago

ChicagoPARK,sorry, the default IP mode of Livox Hub is dynamic! I made a mistake before,I'm very very sorry! If the Livox Hub in dynamic ip mode,you must use a Gigabit Router (DHCP)! You can also install a DHCP server in ubuntu,please refer to the following link: https://graspingtech.com/configure-dhcp-server/

ChicagoPark commented 3 years ago

Thank you for your answer So you mean, Static IP mode is impossible to use? If that is true I am gonna buy that

Livox-SDK commented 3 years ago

"So you mean, Static IP mode is impossible to use?" No,you can change the IP mode of Livox Hub to static via Livox viewer! But you must first connect to the Livox Hub.

Livox-SDK commented 3 years ago

Livox Hub both support dynamic IP mode and static IP mode. But the default IP mode at the factory is dynamic.

TaekHyungCho commented 3 years ago

Hi, I also had same issue. You said " You can also install a DHCP server in ubuntu,please refer to the following link: " That mean if i installed DHCP server in my pc, It is not necessary to use DHCP router? If that is true, After installed DHCP server, just connect hub and pc directly is the right answer to get topic message from livox_hub?

Livox-SDK commented 3 years ago

TaekHyungCho,yes, you can connect hub and pc directly after installing DHCP server if your hub is in dynamic IP mode.

ChicagoPark commented 3 years ago

I also have different question.

I wanna ask about main purposes of Hub. As I understood about Hub, the purpose of it is just connect multiple LiDARs at once.

However I think hub is quite pricey to have just that purpose. So I guess it has critical function. (Such as calibrate all the pointcloud data from multiple lidars automatically)

I also heard that it is possible to control by using Livox viewer and control it. But if I use Ubuntu 18.04 which is not supported by Livox viewer, Do you think there is no benefit to use Hub?

Thank you for reading my question. Looking for your feedback.

Livox-SDK commented 3 years ago

Hi, ChicagoPARK The Livox viewer support Ubuntu 18.04!

ChicagoPark commented 3 years ago

Appreciate for your response! Can I get the web path?? Cause from Livox page there are just window and 16.04 version..

ChicagoPark commented 3 years ago

a.... You mean it is possible to install 16.04 on 18.04 ...

Got it

Livox-SDK commented 3 years ago

Yes, you can install Livox viewer on ubuntu 18.04.

ChicagoPark commented 3 years ago

Thanks Thanks. Your helps make us can proceed to the next progress.

It gonna be the last question.. After I use the Livox hub, I think the main function of hub is that having a good match with Livox viewer. So it was not necessary to code additionally for merge all the each Livox Lidars.

I wanna ask is there any other good functions of Hub which we did not recognize?

Livox-SDK commented 3 years ago

Another good function of Hub is timestamp synchronization. Hub can easily synchronizing the timestamp when multiple LiDAR connected.

ChicagoPark commented 3 years ago

Thank you for ur response! We've used hub till now. And I felt it is quite amazing! Your answer works lot hoho

Have a nice day there

shettygr commented 8 months ago

hi guys, iam using the livox mid-360 and unable to detect in the livox viewer is there any help from your side , i am using ubuntu 20.04