Laser#

class Laser#

Warning

Deprecated. Use SpaceCenter::raycast_distance() instead.

A LiDAR. Obtained by calling laser().

SpaceCenter::Part part()#

Get the part containing this LiDAR.

std::vector<double> cloud()#

Get the point cloud from the LiDAR. Returns an empty list on failure.