Radar Point Cloud

class RadarPointCloud(max_range=0.0)[source]

Bases: Visualizable[ScatterVisualization]

A sparse radar point cloud.

Parameters:

max_range (float, optional) – Maximal represented range. Used for visualization.

Raises:

ValueError – For max_range smaller than zero.

add_point(point)[source]

Add a new detection to the point cloud.

Parameters:

point (PointDetection) – The detection to be added.

Return type:

None

create_figure(**kwargs)[source]

Create a new figure for plotting.

Returns: Newly generated figure and axes to plot into.

Return type:

Tuple[Figure, NDArray[Shape[*, *], Any]]

property max_range: float

Maximal represented range.

Returns:

Maximal range in m. Zero if unknown.

property num_points: int

Number of points contained within this point cloud.

Returns:

The number of points.

property points: List[PointDetection]

Points contained within the represented point cloud.

Returns: List of represented points.

property title: str

Title of the visualizable.

Returns: Title string.