Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Marker::POINTS ignoring attributes #1444
I'm visualizing processed point cloud data using Marker::POINTS (Not sure if right approach because of PointCloud2, but eh).
The thing is, no matter what attribute I set: scale, color (really can distinguish only between these two), they are ignored by rviz. The easiest way to reproduce is to change one of tutorials: http://wiki.ros.org/rviz/Tutorials/Markers%3A%20Basic%20Shapes
` #include <ros/ros.h>
Where the only change is in switch statement at the end, where I switched cylinder for points. Obviously the same can be done in any other tutorial. The points are just always small and gray-ish. Does not matter if you set "color" or "colors" with "ColorRGBA" push_back.
You can also just copy the whole program of second tutorial: http://wiki.ros.org/rviz/Tutorials/Markers%3A%20Points%20and%20Lines
The code I am actually using (class method callback, so it won't run on its own):
` void LidarConeDetection::ProcessData(const sensor_msgs::PointCloud2::ConstPtr& msg)
(Sorry for code formatting, I don't get how it works)
All done on:
I mean it does not matter that much I guess, but I know that is not how it was meant to work.