whatisgithub

What is pandar-40p?

evilgenius79/pandar-40p — explained in plain English

Analysis updated 2026-05-18

1C++Audience · developerComplexity · 5/5Setup · hard

In one sentence

A DIY walk around 3D lidar mapping rig built from a surplus automotive lidar sensor, a stroller, and a laptop that produces real time 3D scans using SLAM.

Mindmap

mindmap
  root((repo))
    What it does
      Mobile lidar mapping
      Real time SLAM
      Point clouds and meshes
    Tech stack
      C++
      ROS 2
      FAST-LIO2
      PlatformIO
    Use cases
      Repurpose surplus lidar
      Build DIY mapping rig
    Audience
      Robotics hobbyists
      Hardware developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a mobile lidar rig to capture real time 3D point clouds by pushing a stroller around a space.

USE CASE 2

Repurpose surplus automotive lidar sensors by adapting their unusual network wiring.

USE CASE 3

Study lidar inertial SLAM techniques with a working hardware and software reference.

USE CASE 4

Prototype a low cost mapping system using a gaming laptop instead of specialized hardware.

What is it built with?

C++ROS 2FAST-LIO2GLIMPlatformIO

How does it compare?

evilgenius79/pandar-40pallentdan/shape_based_matchingamu2mod/radeonmon
Stars111
LanguageC++C++C++
Last pushed2019-03-01
MaintenanceDormant
Setup difficultyhardmoderatemoderate
Complexity5/53/53/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires assembling custom hardware including a T1 to Ethernet media converter and a tilted mast rig.

So what is it?

Pandar40P Mobile Mapping Rig is a do it yourself project for building a walk around 3D mapping system. It combines a surplus Hesai Pandar40P lidar sensor, originally built for the automotive fleet market, with a jogging stroller, a laptop, and some custom electronics, to scan and map physical spaces in real time. The lidar is mounted on a tilted mast attached to the stroller, and paired with an inertial measurement unit, two cameras, and a GPS receiver. As the stroller is pushed around, the system uses real time lidar inertial SLAM, a technique for building a map while simultaneously tracking the device's own position, to generate colorized point clouds, 3D meshes, and Gaussian splats, which are all different ways of representing 3D scenes captured by the sensors. One notable finding documented in the project is that these fleet surplus lidar units use a type of automotive networking called 100BASE T1, instead of the standard Ethernet most computers use. Units that appear broken because they show no connection on a normal network card are not actually defective, they just need a roughly 100 dollar adapter to convert the signal so a laptop can read it. This detail alone could save someone from discarding a working sensor. The repository includes documentation for wiring the hardware safely, since the lidar spins as soon as power is connected and has no on off switch. It also provides scripts for setting up network hardware, discovering the lidar's IP address, and recording data. Firmware for a small microcontroller handles precise timestamping for the inertial sensor, and separate code publishes that data to the ROS 2 robotics software framework, alongside starting configuration files for the Hesai lidar driver and the FAST-LIO2 mapping algorithm. The project is still in an early, in progress state. According to the status list, one lidar unit has already been disassembled for parts and study, a media converter for the networking issue has been ordered but not yet tested, and steps like camera calibration, mounting the mast, and running an actual indoor mapping test have not been completed yet.

Copy-paste prompts

Prompt 1
Walk me through wiring the Pandar40P lidar power and data connections safely.
Prompt 2
Explain how the 100BASE-T1 to Ethernet conversion works for this lidar.
Prompt 3
Help me set up the FAST-LIO2 configuration for this ROS 2 project.
Prompt 4
Show me how the IMU bridge firmware timestamps sensor data for this rig.

Frequently asked questions

What is pandar-40p?

A DIY walk around 3D lidar mapping rig built from a surplus automotive lidar sensor, a stroller, and a laptop that produces real time 3D scans using SLAM.

What language is pandar-40p written in?

Mainly C++. The stack also includes C++, ROS 2, FAST-LIO2.

How hard is pandar-40p to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is pandar-40p for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.