Laser#

type krpc_LIDAR_Laser_t#

Warning

Deprecated. Use krpc_SpaceCenter_RaycastDistance() instead.

A LiDAR. Obtained by calling krpc_LIDAR_Laser().

KRPC_CLASS_LIDAR_LASER#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_LIDAR_Laser_Part(krpc_connection_t connection, krpc_SpaceCenter_Part_t *returnValue, krpc_LIDAR_Laser_t instance)#

Get the part containing this LiDAR.

krpc_error_t krpc_LIDAR_Laser_Cloud(krpc_connection_t connection, krpc_list_double_t *returnValue, krpc_LIDAR_Laser_t instance)#

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