The LiDAR visualizer is a tool designed to display data from a LiDAR sensor in a 2-dimensional space. This visualizer provides a top-down view of the environment where each point represents a LiDAR reading. This allows users to analyze what the LiDAR sees.
Setup:
ensure Ensure you are in the lidar_viewer directory.
run Run
./process_log.sh <path_to_log_file> [--start]
where Where
path_to_log_file
is the path to the log file generated by obstacle avoidance or the lidar driver only.add Add the
--start
flag to start the server.
if If you did not use
--start
, start the server by entering the server directory and use ,cd server
, and then runnode server.js
.thenThen, in a new terminal, start the visualizer by entering the visualizer directory,
cd visualizer
and runningnpm start
.ensure Ensure you have installed all packages by running
npm install
beforehand.
open Open
localhost:3000
on your machine to see lidar points.
...
Usage:
If using a lidar driver output file, you will see just the LiDAR points.
...