A Path client that listens to a given topic and displays a line connecting the poses.
It is a wrapper for ROS3D.PointCloud2
.
Props
Name | Type | Default value | Required? | Description |
---|---|---|---|---|
visible |
Boolean |
true |
No | Visibility of this object |
topic |
String |
/points |
No | The PointCloud2 topic to listen to |
compression |
String |
cbor |
No | Message compression |
max_pts |
Number |
10000 |
No | Number of points to draw |
pointRatio |
Number |
1 |
No | Point subsampling ratio (default: 1, no subsampling) |
messageRatio |
Number |
1 |
No | Message subsampling ratio (default: 1, no subsampling) |
colorsrc |
Number |
rgb |
No | The field to be used for coloring |
colormap |
Object |
- | No | Function that turns the colorsrc field value to a color |
particleSize |
Number |
0.25 |
No | Size of the particles |
color |
String |
#009688 |
No | The color to use for the particles |
Data
Name | Type | Default value | Description |
---|---|---|---|
object |
ROS3D.PointCloud2 |
- | Handle for the internal ROS3D.PointCloud2 |