Laser#
- class Laser#
Warning
Deprecated. Use
SpaceCenter.raycast_distance()instead.A LiDAR. Obtained by calling
laser().- part#
Get the part containing this LiDAR.
- Attribute:
Read-only, cannot be set
- Return type:
- cloud#
Get the point cloud from the LiDAR. Returns an empty list on failure.
- Attribute:
Read-only, cannot be set
- Return type:
list(float)