Livox-SDK / livox_ros_driver2

Livox device driver under Ros(Compatible with ros and ros2), support Lidar HAP and Mid-360.
Other
283 stars 236 forks source link

MID360:The point cloud is not displayed #23

Open finedcl opened 1 year ago

finedcl commented 1 year ago

I have connected the radar mid360 in the virtual machine, run rviz_mid360.launch, the initialization is successful, but there is no point cloud displayed in the rviz interface, frame is livox_frame, the warning message is: No tf data. Actual error: Fixed Frame [livox_frame] does not exist. and run rostopic echo /livox/lidar,data is shown.

arvrschool commented 1 year ago

I have the same problem in ubuntu..

finedcl commented 1 year ago

do not use the virtual machine

naveenkumar2208 commented 1 year ago

@finedcl Did it solve for you?

naveenkumar2208 commented 1 year ago

@arvrschool Did it solve for you?

finedcl commented 1 year ago

@naveenkumar2208 yes,standalone ubuntu systems can display point clouds

FPSychotic commented 1 year ago

in standalone windows needed deactivate firewall, in ubuntu standalone in x86 and Arm64 will show the pointclouds, nut livox viewer2 wont work in arm64. in the ros config file there is ports , I would check that ports are available in your system and ip address

LeonardoGuevara commented 1 year ago

I have a similar problem, I also get the warning message is: No tf data. Actual error: Fixed Frame [livox_frame] does not exist. But in my case when I run rostopic echo /livox/lidar, no message is published. I'm running in in Ubuntu 20.04. Any solutions?

oscarpoudel commented 1 year ago

I also have a similar problem as Leonardo . I tried installing it on both jetson nano as well as intel cpu ubuntu 20.04 but the point cloud is still not showing in Rviz.

FPSychotic commented 1 year ago

I assume you got it work in livox SDK , but you cannot in ROS. The best way to test the lidar i running Fast-lio 2 with the mid-360 specific launch. If you run only the driver to test, be sure you use the rviz launch. If still don't show points, be sure you set global_frame as " livox_frame", maybe you need write it at hand and be sure the topic is pointcloud2 format and called /livox/lidar. For sure the drivers works, but also you need setup properly the IP address in the lidar nodel

oscarpoudel commented 1 year ago

I checked it with Fast Lio too its the same. The cloud points are not showing. I have set the ip in the config file to that of my system and lidar ip to as specified in the Manual. The issue is shown in the figure.

IMG_20230918_153323.jpg

IMG_20230918_153341.jpg

kosmonauta144 commented 1 year ago

Hi Guys,

I had similar problem and here is the fix which helped me.

Livox lidar seems to have IP adress isue, it does not have static adress or it's not configured with the .json file.

I connected the livox mid360 lidar to mikrotik router or router with ip scanner. I scanned subnetwork and get this adresses

image

192.168.1.5 is my computer 192.168.1.144 is second device connected which is Livox

so I changed IP adress of the lidar in the .json file to 192.168.1.144 and it works

image

no TF data still remains, but the point cloud is received. I hope it helps you.

I though that json file is made to set IP adress for the lidar, but it has to be set to static through router or switch to work. I hope it helps.

georgflick commented 1 year ago

Somewhere in the docs I found out, that the initial IP address is set to 192.168.1.100 + last two digits of serial number

Hi Guys,

I had similar problem and here is the fix which helped me.

Livox lidar seems to have IP adress isue, it does not have static adress or it's not configured with the .json file.

I connected the livox mid360 lidar to mikrotik router or router with ip scanner. I scanned subnetwork and get this adresses

image

192.168.1.5 is my computer 192.168.1.144 is second device connected which is Livox

so I changed IP adress of the lidar in the .json file to 192.168.1.144 and it works

image

no TF data still remains, but the point cloud is received. I hope it helps you.

I though that json file is made to set IP adress for the lidar, but it has to be set to static through router or switch to work. I hope it helps.

FPSychotic commented 1 year ago

It is in every guide ,you need put the last two numbers of the lidar s/n

On Thu, 21 Sept 2023, 08:36 Georg Flick, @.***> wrote:

Somewhere in the docs I found out, that the initial IP address is set to 192.168.1.100

  • last two digits of serial number

Hi Guys,

I had similar problem and here is the fix which helped me.

Livox lidar seems to have IP adress isue, it does not have static adress or it's not configured with the .json file.

I connected the livox mid360 lidar to mikrotik router or router with ip scanner. I scanned subnetwork and get this adresses

[image: image] https://user-images.githubusercontent.com/52200790/269524908-dcf31ecb-d035-4bd7-ac49-13ba6d1b0a26.png

192.168.1.5 is my computer 192.168.1.144 is second device connected which is Livox

so I changed IP adress of the lidar in the .json file to 192.168.1.144 and it works

[image: image] https://user-images.githubusercontent.com/52200790/269525196-29384cd0-7aff-45d3-93b0-9f6dcba5cbf9.png

no TF data still remains, but the point cloud is received. I hope it helps you.

I though that json file is made to set IP adress for the lidar, but it has to be set to static through router or switch to work. I hope it helps.

— Reply to this email directly, view it on GitHub https://github.com/Livox-SDK/livox_ros_driver2/issues/23#issuecomment-1729018675, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITQOVCMTPGKC5LGMVLZMT3X3PU6JANCNFSM6AAAAAAVIG3RXI . You are receiving this because you commented.Message ID: @.***>

Prabuddhi-05 commented 1 year ago

I have connected the radar mid360 in the virtual machine, run rviz_mid360.launch, the initialization is successful, but there is no point cloud displayed in the rviz interface, frame is livox_frame, the warning message is: No tf data. Actual error: Fixed Frame [livox_frame] does not exist. and run rostopic echo /livox/lidar,data is shown.

I'm encountering this issue in Ubuntu 22.04 while working with ROS 2 Humble. However, when I run 'ros2 topic echo /livox/lidar,' no data is displayed. Is there a solution for this?

Prabuddhi-05 commented 1 year ago

I have connected the radar mid360 in the virtual machine, run rviz_mid360.launch, the initialization is successful, but there is no point cloud displayed in the rviz interface, frame is livox_frame, the warning message is: No tf data. Actual error: Fixed Frame [livox_frame] does not exist. and run rostopic echo /livox/lidar,data is shown.

I'm encountering this issue in Ubuntu 22.04 while working with ROS 2 Humble. However, when I run 'ros2 topic echo /livox/lidar,' no data is displayed. Is there a solution for this?

The issue was resolved by turning off the firewall to ensure that some of the ports were no longer blocked.

dpbnasika commented 10 months ago

did the no TF data issue fixed or someone can able to fix ?, i now try to add the tf and it does not display the axis and imu axis also it is not recognized as topic in rviz topics tab, but i can able to see the imu topic in terminal. Any help is appreciated.

Prabuddhi-05 commented 10 months ago

Dear sir,

As of now, I haven't attempted to solve this specific problem. I will let you know if I come across any potential solutions.

Thanks and best regards, Prabuddhi


From: DP @.> Sent: Monday, January 8, 2024 12:14 AM To: Livox-SDK/livox_ros_driver2 @.> Cc: Prabuddhi Wariyapperuma (26619055) @.>; Comment @.> Subject: Re: [Livox-SDK/livox_ros_driver2] MID360:The point cloud is not displayed (Issue #23)

did the no TF data issue fixed or someone can able to fix ?, i now try to add the tf and it does not display the axis and imu axis also it is not recognized as topic in rviz topics tab, but i can able to see the imu topic in terminal. Any help is appreciated.

— Reply to this email directly, view it on GitHubhttps://github.com/Livox-SDK/livox_ros_driver2/issues/23#issuecomment-1880139111, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4PWJL6DLL45OLJH4YVUKDDYNLUJXAVCNFSM6AAAAAAVIG3RXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGEZTSMJRGE. You are receiving this because you commented.Message ID: @.***>

xincheng-yang commented 5 months ago

I just checked the mid-360 instructions and found out that the lidar ip address should be set to 192.168.1.1xx, which xx is last two digits of your lidar's serial number. my pc ip address: 192.168.1.5 subnet mask: 255.255.255.0

Prabuddhi-05 commented 5 months ago

[like] Prabuddhi Wariyapperuma (26619... reacted to your message:


From: Vertax @.> Sent: Tuesday, June 25, 2024 6:53:57 AM To: Livox-SDK/livox_ros_driver2 @.> Cc: Prabuddhi Wariyapperuma (26619055) @.>; Comment @.> Subject: Re: [Livox-SDK/livox_ros_driver2] MID360:The point cloud is not displayed (Issue #23)

I just checked the mid-360 instructions and found out that the lidar ip address should be set to 192.168.1.1xx, which xx is last two digits of your lidar's serial number. my pc ip address: 192.168.1.5 subnet mask: 255.255.255.0

— Reply to this email directly, view it on GitHubhttps://github.com/Livox-SDK/livox_ros_driver2/issues/23#issuecomment-2188119773, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4PWJL26UYL2UKPJF3J3U43ZJEHYLAVCNFSM6AAAAAAVIG3RXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGEYTSNZXGM. You are receiving this because you commented.Message ID: @.***>