Hokuyo URG-04LX LIDAR Driver for MATLAB
The files establish a serial comm link with Lidar with the required settings. The function LidarScan.m is called with serial communication object as argument to return a range vector consisting of decoded Lidar Scan data.
It returns the data after a full scan (-120 to +120 degrees) with 682 points.
Edit SetupLidar.m with the correct COM Port to use this file.
The file is a quick and easy way to stream range data from a Hokuyo Lidar in the MATLAB environment.
It works well for the URG-04LX as the decoder function supports only two and three bit encoding.
Cite As
Shikhar Shrestha (2024). Hokuyo URG-04LX LIDAR Driver for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/36700-hokuyo-urg-04lx-lidar-driver-for-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Industries > Automotive >
- Aerospace > Aerospace Blockset > Guidance, Navigation, and Control (GNC) >
- Robotics and Autonomous Systems > Automated Driving Toolbox > Detection and Tracking > Lidar Processing >
- Automotive > Automated Driving Toolbox > Detection and Tracking > Lidar Processing >
Tags
Acknowledgements
Inspired: Dynamic Obstacle Avoidance System for CoroBot Mobile Robot, MATLAB Driver for Hokuyu URG family
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.