CASP models can interface with hardware input outputs on embedded micro-controller boards. This example, demonstrates a model that measures distance in 2D using YDLIDAR 360o 2D range finder and display corresponding point cloud plot.
Pre-Requisites
- YDLIDAR 360o 2D range finder connected to PC.
- CASP software is installed.
- The project files are located at CASP installed directory ‘CASP/support/examples/hardware_interface/08_lidar360’. These are also available for download at this link.
Description
A YDLIDAR LiDAR 360o range finder is connected to the host PC through USB interface. It appears as a serial interface on the host PC. A model is developed on the host PC to communicate with this device, process the point cloud data received from the device and display the data. Please go through the individual block parameters used in the model along with respective documentation for better understanding.

CASP Model

Procedure
- Run CASP and open the project ‘CASP/support/examples/hardware_interface/08_lidar360/08_lidar360.prj’ from CASP installed directory.
- Click Run button to build the model and program the board.