Open chowkamlee81 opened 5 years ago
Hi, for visualization you should launch Rviz
and subscribe the corresponding topics. The following may help you work it out, in case you are not familiar with ROS.
Before running Rviz, you should have the ROS master process run first, which can be done by typing
roscore
After that, you can launch the Rviz for visualization by typing
rosrun rviz rviz
in another terminal.
After that, you can see an Add
button in the view, and just press it to choose the topics you are interested topics through somewhat By topics
.
Thanks for your reply. I got the results of ground plane and non-ground plane in RVIZ.
But to view the results of segmentation i subscribed "/all_points" topic in RVIZ. Iam unable to observe the results as it is just the same input pointcloud.
Am i missing anything. KIndly let us know.
The clustered point cloud object is publish as topic /slr
in default. see
@VincentCheungM Thanks for opening source code! I run the codes with the example.bag but can't get the same performance as the video shows. Is there any parameters that needs to be changed? Here is the result in rviz:
Waiting for your reply! Thanks!
@kxhit @chowkamlee81 Hi, sorry for replying you so late. Each point was given a cluster ID as label value, and RVIZ can render that property by selecting label (maybe it's intensity in default). And as there are too many clusters like 2000 or more (it can be seen as 'Max intensity' on RViz pannel), and it's hard to tell a difference between cluster ID 1 and cluster ID 2 by your eyes, after those 2000 or more clusters are scaled. So they are simply looks the same, and in red..
While talking about the img
in readme
, it was a screen shoot captured by pcl_viewer
. I just simply viewing one of the segmented pcd
file, and render it by its channel.
And as this repo it's just some toy codes, you could add some bounding boxes for each cluster for helping you guys have better visualization experience. I've applied and simplified a version of object builder in apollo, it looks good. As there are some license problems, I can't provide it here. Maybe you could refer to apollo, I guess you have done, or this lidar perception repo from my friend @Durant35.
Hai,
I got simulated ros codes ground plane fit and scanline codes. All the topics are published but i don't know how to view the results... I already installed visualization ros toolkit. Kindly help us....