HesaiTechnology / HesaiLidar_General_ROS

ROS driver for PandarXT PandarQT Pandar64 Pandar40P Pandar40M Pandar20A Pandar20B
Other
161 stars 103 forks source link

ROS2 (Galactic) on Ubuntu 20.04 - no messages published under topic /hesai/pandar and PandarView run error #70

Open danijel-fmci opened 1 year ago

danijel-fmci commented 1 year ago

Hi,

I managed to set-up ROS2 build on Ubuntu 20.04 with help of https://github.com/HesaiTechnology/HesaiLidar_General_ROS/issues/53#issuecomment-1054363780

I have Pandar64 and I can ping it and I can see packets in the Wireshark but no packets published under /hesai/pandar

Also, I was not able to run PandarView.sh, please see attached error log.

Could you help me with this issue, please? Best, Danijel

PandarView2 hesai_lidar_launch ro2 topic

shashankyld commented 1 year ago

Did you install SDK manually prior to building ROS workspace?

bharadwajakshay commented 1 year ago

Any updates?? I'm running into the same error with ROS neotic.

danijel-fmci commented 1 year ago

Did you install SDK manually prior to building ROS workspace?

No, I followed the guide on https://github.com/HesaiTechnology/HesaiLidar_General_ROS/tree/ROS2 and then applied solutions from https://github.com/HesaiTechnology/HesaiLidar_General_ROS/issues/53

In the meantime, I switched back to ROS1 as there are fewer issues. Seems like drivers are originally written for ROS1 and then converted to ROS2 after.

yangfanFred commented 12 months ago

Hi Danijel,

General_ROS project and Swift_ROS project are officially designed to support ROS1. Now we have ROS_2.0 project to support ROS2, pelase try this project if you are using ROS2 versions. The pandarview.sh running error seems caused by graphic card driver compatibllity issue, the easiest way to solve this is to try run pandarview on another PC with a different graphic card.

Thanks, Fred

danijel-fmci commented 12 months ago

[like] Danijel Benjak reacted to your message:


From: yangfanFred @.> Sent: Wednesday, November 1, 2023 9:17:24 AM To: HesaiTechnology/HesaiLidar_General_ROS @.> Cc: Danijel Benjak @.>; Author @.> Subject: Re: [HesaiTechnology/HesaiLidar_General_ROS] ROS2 (Galactic) on Ubuntu 20.04 - no messages published under topic /hesai/pandar and PandarView run error (Issue #70)

Hi Danijel,

General_ROS project and Swift_ROS project are officially designed to support ROS1. Now we have ROS_2.0 project to support ROS2, pelase try this project if you are using ROS2 versions. The pandarview.sh running error seems caused by graphic card driver compatibllity issue, the easiest way to solve this is to try run pandarview on another PC with a different graphic card.

Thanks, Fred

— Reply to this email directly, view it on GitHubhttps://github.com/HesaiTechnology/HesaiLidar_General_ROS/issues/70#issuecomment-1788644864, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2PKYVRMNFORHQCAJXYNDLLYCIHSJAVCNFSM6AAAAAAW6RQRLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBYGY2DIOBWGQ. You are receiving this because you authored the thread.Message ID: @.***>