Radar Point Cloud¶
- class RadarPointCloud(max_range=0.0)[source]¶
Bases:
Serializable,Visualizable[ScatterVisualization]A sparse radar point cloud.
- Parameters:
max_range (
float) – Maximal represented range. Used for visualization.- Raises:
ValueError – For max_range smaller than zero.
- classmethod Deserialize(process)[source]¶
Deserialize an object’s state.
Objects cannot be deserialized directly, instead a
Factorymust be instructed to carry out the deserialization process.- Parameters:
process (
DeserializationProcess) – The current stage of the deserialization process. This object is generated by theFactoryand provides an interface to deserialization methods supporting multiple backends.- Return type:
- Returns:
The deserialized object.
- add_point(point)[source]¶
Add a new detection to the point cloud.
- Parameters:
point (
PointDetection) – The detection to be added.- Return type:
- create_figure(**kwargs)[source]¶
Create a new figure for plotting.
Returns: Newly generated figure and axes to plot into.
- serialize(process)[source]¶
Serialize this object’s state.
Objects cannot be serialized directly, instead a
Factorymust be instructed to carry out the serialization process.- Parameters:
process (
SerializationProcess) – The current stage of the serialization process. This object is generated by theFactoryand provides an interface to serialization methods supporting multiple backends.- Return type:
- 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.