SICKAG / sick_scan_xd

Based on the sick_scan drivers for ROS1, sick_scan_xd merges sick_scan, sick_scan2 and sick_scan_base repositories. The driver supports both Linux (native, ROS1, ROS2) and Windows (native and ROS2).
Apache License 2.0
95 stars 85 forks source link

Failure to launch ROS1 driver in ROS1Noetic in MRS6224 #236

Closed SICK-AliciaTee closed 9 months ago

SICK-AliciaTee commented 9 months ago

Hi, after not successful using ROS2, I installed Ubuntu 22.04 and ROS1 Noetic, then install the ROS driver, I did not encounter any issues this time.

Still the same issue of unable to find package.

Kindly advise? Screenshot 2023-11-21 170719

rostest commented 9 months ago

Thanks for your feedback. I guess you just missed source ./devel_isolated/setup.bash before calling roslaunch sick_scan_xd sick_mrs_6xxx.launch. Please send a complete logfile of build and run if the problem remains.

SICK-AliciaTee commented 9 months ago

Screenshot 2023-11-22 001356

Sorry but I do not think it worked. Any advise?

SICK-AliciaTee commented 9 months ago

2023-05-30 214648 startup packages .txt

Hi I do not know where to get a log, as the files is installed two days ago, but this is the closest I can find, thank you.

SICK-AliciaTee commented 9 months ago

I made some progress, please see logfile, still no point cloud but at least I got the launch file working teeal@RECONDITE~$ rostopic echo clo1.txt teeal@RECONDITE~$ rostopic echo clo.txt teeal@RECONDITE~$ source optrosnoet.txt

Kindly advise how to get the point cloud display in rviz? Thank you.

SICK-AliciaTee commented 9 months ago

Screenshot 2023-11-22 023937

Attached RVIZ screenshot, no point cloud, looks like there is some TF error

rostest commented 9 months ago

Thanks for following up. The logfile looks fine, sick_scan_xd is running without failures. To add a pointcloud in rviz, just click the Add button and select pointcloud topic "cloud": image Select frame id "cloud" as "Fixed Frame" in "Global Options". On the commandline, you can use rostopic echo cloud to check that sick_scan_xd provides pointcloud data.

SICK-AliciaTee commented 9 months ago

It works, thank you.