Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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:

  1. ensure you are in the lidar_viewer directory.

  2. run ./process_log.sh <path_to_log_file> [--start]

    1. where path_to_log_file is the path to the log file generated by obstacle avoidance or the lidar driver only.

    2. add the --start flag to start the server

  3. if you did not use --start, start the server by entering the server directory and use node server.js

  4. then, in a new terminal, start the visualizer by entering the visualizer directory and running npm start

    1. ensure you have installed all packages by running npm install

  5. 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.

If using an obstacle avoidance logging file, you will see LiDAR points and odometry from the drone.

Coming soon: speed control, scale adjustments, how many points displayed each instance

  • No labels