Refactor lidar library: rename olei_config to lidar_config, add nanoscan example and shared byte helpers

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 09:27:43 +07:00
parent 59880871b0
commit 323715eab0
16 changed files with 621 additions and 814 deletions

View File

@@ -1,13 +1,5 @@
#pragma once
// ─── One-include convenience header ─────────────────────────────────────────
// Pull in the whole public API in a single line:
//
// #include "lidarlib/lidarlib.hpp"
//
// Gives you the data model (LaserScan / ExtraInfo / ScanResult), the unified
// Lidar interface, both concrete drivers (Driver = OLEI/UDP, SickDriver =
// SICK/TCP), the model/brand tables, config.json load/save, and the single
// config function lidarlib::make_lidar().
// One-include convenience header for the whole public API.
#include "lidarlib/lidar.hpp"
#include "lidarlib/sick_lidar.hpp"
#include "lidarlib/config.hpp"