[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116602":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":36,"discoverSource":37},116602,"slam-autonav-console","Leonhart999\u002Fslam-autonav-console","Leonhart999","SLAM and AutoNav Console: browser console for LiDAR SLAM mapping (FAST-LIO2 \u002F GLIM), Nav2 navigation and evo evaluation in Gazebo, ROS 2 Humble",null,"Python",68,7,53,0,2,11,9,53.31,"MIT License",false,"main",true,[24,25,26,27,28,29,30,31],"fast-lio","gazebo","lidar","nav2","robotics","ros2","slam","vue","2026-11-21 18:56:48","2026-11-23 07:30:17","# SLAM and AutoNav Console\n\nEnglish | [中文](README.zh-CN.md)\n\nA browser console for LiDAR SLAM mapping, map management, Nav2 autonomous navigation and trajectory\nevaluation, running on ROS 2 Humble with a Gazebo Fortress simulation. One workspace takes you from an empty\nworld or a recorded rosbag2 to a saved map, a navigation run and an evo report.\n\nIt was built for the bachelor thesis *LiDAR-Based SLAM Mapping and Autonomous Navigation for Mobile\nRobots* (Harbin Engineering University). The interface supports Chinese and English, as well as light and\ndark themes.\n\n[![Video tour of the console, 2:19](robot_console\u002Fdocs\u002Fimages\u002Fvideo_cover.jpg)](https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002FBV1wm4v6GEQq)\n\n*Video tour (2:19, [watch on Bilibili](https:\u002F\u002Fwww.bilibili.com\u002Fvideo\u002FBV1wm4v6GEQq) or [download the MP4](https:\u002F\u002Fgithub.com\u002FLeonhart999\u002Fslam-autonav-console\u002Freleases\u002Fdownload\u002Fv0.1.0\u002Fslam-autonav-console_tour.mp4), 49 MB): mapping the office world with FAST-LIO2, saving the map, a three-waypoint Nav2\nmission in the warehouse, the monitor and evaluation pages. Captions in Chinese and English.*\n\n![Navigation page: 2D grid with costmap and paths, 3D point cloud map, mission controls](robot_console\u002Fdocs\u002Fimages\u002Fnavigation.png)\n\n## Features\n\n| Page | What it does |\n|---|---|\n| **Mapping** | Start a world (office, warehouse, or your own uploaded SDF \u002F ZIP), run FAST-LIO2 (with optional LiDAR-only and ground-vehicle constraint switches) or GLIM, inspect and tune parameters in the **Parameters** dialog, watch the voxel map grow in 3D, drive with an on-screen joystick \u002F WASD or a waypoint route, save the map |\n| **Playback** | Play a rosbag2 bag (or a chosen part of it, 0.5–8×) into FAST-LIO2, GLIM or GLIM (LiDAR only); auto-probe and configure real-robot topics, per-point time fields, acceleration units and extrinsics in the browser (**Sensor setup**), skip shaking starts (`start_offset`), record raw scans (**Save raw scans**), tune derived \u002F user SLAM parameters, upload and trash bags |\n| **Maps** | Browse saved maps (3D point cloud + 2D grid side by side), auto-generate a navigable 2D grid when importing a cloud-only `.pcd`, regenerate the 2D grid by cloud projection or **Scan evidence** (filtering moving objects), edit the grid with a brush, trash and restore |\n| **Navigation** | Load a map, start the simulation and Nav2 (with selectable parameter variants), set the initial pose and goals on the map, run multi-waypoint missions, overlay global \u002F local costmaps, change the speed factor, switch between point cloud and solid world model, and link or generate a world for maps built from bags |\n| **Evaluation** | Separate records for mapping, navigation and playback; evo ATE \u002F RPE, navigation metrics, start-to-end \u002F closure \u002F reference-odometry deviation and SLAM lag for playback; **Side by side** or **Stacked** view; multi-run and batch comparisons with mean ± std, user-parameter badges, CSV \u002F PNG export |\n| **Monitor** | Processes started from the console, topic rates against expected rates, TF chain, node list, how each process was stopped |\n\nLong-running operations (2D grid regeneration, evo evaluation, relative trajectory comparison, report export)\nrun through the **Background tasks** drawer in the header so their progress survives page navigation and can\nbe recovered or retried. Light and dark appearances can be switched from the bottom of the sidebar.\n\nEvery run is recorded: mapping and playback runs keep trajectories, lag logs and the effective layered SLAM\nconfiguration (`slam_config`); navigation runs keep per-goal results, AMCL error over time and figures. A\nsaved map is a folder with the full point cloud, a Nav2 `map.yaml` \u002F `map.pgm`, figures and metadata.\n\n\u003Cp>\n  \u003Cimg src=\"robot_console\u002Fdocs\u002Fimages\u002Fmapping.png\" width=\"49%\" alt=\"Mapping page with FAST-LIO2 running in the warehouse world\">\n  \u003Cimg src=\"robot_console\u002Fdocs\u002Fimages\u002Fevaluation.png\" width=\"49%\" alt=\"Evaluation page with run records and batch experiments\">\n\u003C\u002Fp>\n\n## How it works\n\n```\nBrowser (Vue 3, Three.js, ECharts)  \u003C-- HTTP + WebSocket, 127.0.0.1:8000 -->  robot_console (rclpy + FastAPI)\n                                                                                 |  ROS 2 topics, services, actions\n                                                     Gazebo Fortress  \u002F  FAST-LIO2 or GLIM  \u002F  Nav2 + AMCL  \u002F  evo\n```\n\n- The backend starts the simulation, SLAM and navigation as separate process groups from a whitelist\n  (`robot_console\u002Fconfig\u002Fstacks.yaml`); the page can only name a stack, never pass a command line.\n- SLAM parameter files are assembled per run in layers (`base -> input -> derived -> options -> console -> user`\n  from `robot_console\u002Fconfig\u002Fslam\u002F`) and recorded in `run.json`.\n- Point clouds are voxelized in the backend and streamed as binary deltas, so the browser draws a large\n  map at full frame rate (rviz2 under WSLg managed about 3 fps with the accumulated map).\n- Teleoperation stops the robot after 0.5 s without commands and when the page disconnects; E-STOP sends\n  zero velocity, cancels Nav2 goals and stops the processes that drive the robot.\n\n## Quick start\n\nRequirements: Ubuntu 22.04 x86_64 (native or WSL2 on Windows 10\u002F11), a normal user with `sudo`, 16 GB RAM\nrecommended, about 10 GB free disk.\n\n```bash\nmkdir -p ~\u002Fros2_ws\u002Fsrc && cd ~\u002Fros2_ws\u002Fsrc\ngit clone https:\u002F\u002Fgithub.com\u002FLeonhart999\u002Fslam-autonav-console.git\nbash slam-autonav-console\u002Frobot_console\u002Finstall\u002Finstall.sh          # add --cn for mirrors in mainland China\nbash slam-autonav-console\u002Frobot_console\u002Finstall\u002Fstart_console.sh    # starts the console, opens http:\u002F\u002Flocalhost:8000\n```\n\nThe installer sets up ROS 2 Humble, Gazebo Fortress, Nav2, Livox-SDK2, FAST-LIO2 (pinned commit plus a\nsmall patch), two Python environments (console and evo) and the web frontend, then runs a self-check. It\nskips steps that are already done, so it can simply be run again after a failure. Options, offline\ninstallation and configuration are described in [robot_console\u002FREADME.md](robot_console\u002FREADME.md).\n\nAlternatively, the whole system runs in one Docker container: `docker compose build` and then `docker compose up -d`\n(add `CN=1` in mainland China). See [docker\u002FREADME.md](docker\u002FREADME.md). It has been tested on WSL2 with Docker\nEngine; the Navigation page has not been tested in the container yet.\n\nFirst run: on the **Mapping** page pick the office world, start the simulation, start FAST-LIO2, press\n*Start* under waypoints and save the map when the loop is done. Then pick the map on the **Navigation**\npage, start the simulation and navigation there, and click a goal on the 2D grid.\n\n### Optional parts\n\n- **GLIM** (factor-graph SLAM with loop closure): install `ros-humble-glim-ros` from the author's PPA, see\n  \u003Chttps:\u002F\u002Fkoide3.github.io\u002Fglim\u002Finstallation.html>. The base configuration for the simulated 16-line lidar is\n  in `sim_robot\u002Fconfig\u002Fglim`; the console applies layered overrides on top of it (`robot_console\u002Fconfig\u002Fslam\u002Fglim.yaml`).\n- **HKUST 4F west world** (long corridors, built from the BIM of the\n  [SLABIM dataset](https:\u002F\u002Fgithub.com\u002FHKUST-Aerial-Robotics\u002FSLABIM)): only `BIM.zip` (96 MB) of the dataset is\n  needed. The SharePoint links in the SLABIM GitHub README no longer work; take it from the dataset's\n  Hugging Face page instead (in mainland China use the mirror `https:\u002F\u002Fhf-mirror.com\u002Fdatasets\u002FBobH62\u002FSLABIM\u002Fresolve\u002Fmain\u002FBIM.zip`):\n\n  ```bash\n  wget https:\u002F\u002Fhuggingface.co\u002Fdatasets\u002FBobH62\u002FSLABIM\u002Fresolve\u002Fmain\u002FBIM.zip\n  python3 -m zipfile -e BIM.zip SLABIM        # gives SLABIM\u002FBIM\u002F4F\u002Fmesh\u002F*.ply\n  bash sim_robot\u002Ftools\u002Fmake_hkust_models.sh SLABIM\n  colcon build --packages-select sim_robot\n  ```\n\n  The scene appears on the Mapping page afterwards.\n- **Offline planar loop back-end** (post-processing for FAST-LIO2 recordings on flat single-floor maps):\n  install `robot_console\u002Finstall\u002Frequirements-loop.txt` into a separate Python environment so system GLIM \u002F GTSAM\n  stays untouched, then use `fastlio_loop_record`, `fastlio_loop` and `fastlio_loop_export`. See\n  [robot_console\u002Fdocs\u002Ffastlio-loop-backend.md](robot_console\u002Fdocs\u002Ffastlio-loop-backend.md).\n\n### Configuration\n\nMachine-specific settings go in `~\u002F.config\u002Frobot_console\u002Fconsole.yaml`; only the keys you change are needed\n(example: `robot_console\u002Fconfig\u002Fuser_console.example.yaml`). Maps, run records, logs, bags, browser-created\nsensor profiles, parameter overrides and exports live under `~\u002Frobot_console_data` by default.\n\n## Repository layout\n\n| Folder | ROS 2 package | Contents |\n|---|---|---|\n| `robot_console\u002F` | `robot_console` | the console: backend, frontend (`web\u002F`), layered SLAM specs, installer, tests |\n| `sim_robot\u002F` | `sim_robot` | Gazebo worlds, the diff-drive robot (16-line lidar, IMU, ground truth), cloud adapter, waypoint driver, FAST-LIO2 \u002F GLIM configuration |\n| `lidar_nav\u002F` | `lidar_nav` | Nav2 launch and parameter variants, 3D → 2D map projection, navigation test tools |\n| `docker\u002F` | — | Dockerfile, entrypoint, container configuration and offline prefetch guide |\n\n## Limitations\n\n- Simulation first: navigation runs closed-loop in Gazebo, and driving a real robot would need its own\n  stacks and topic configuration. Real-robot data can be mapped from a bag on the Playback page (sqlite3\n  storage; MCAP needs `ros-humble-rosbag2-storage-mcap`) and navigated in a world generated from the map,\n  where the simulated lidar sees ideal walls.\n- Sensor profiles created in the browser configure FAST-LIO2 and GLIM (with IMU); `GLIM (LiDAR only)` does\n  not use sensor profiles yet. Scan-end-stamped lidars with negative per-point offsets (e.g. Velodyne) are\n  warned during probing and clamped to 0 in the sensor adapter.\n- The offline planar loop back-end assumes an approximately horizontal single floor and runs via CLI rather\n  than an online button in the UI.\n- No offline trajectory import yet.\n- Tested on Ubuntu 22.04 + ROS 2 Humble (x86_64) only.\n- Saving a map with GLIM stops the GLIM run, because GLIM writes its optimized map on exit.\n\n## Third-party components\n\n| Component | Licence | How it gets onto your machine |\n|---|---|---|\n| [FAST_LIO](https:\u002F\u002Fgithub.com\u002Fhku-mars\u002FFAST_LIO), ikd-Tree | GPL-2.0 | downloaded by the installer; `robot_console\u002Finstall\u002Fpatches\u002Ffast_lio-thesis.patch` switches the cloud subscription to reliable QoS and adds a LiDAR-only mode, ground-vehicle constraint, ring bounds check and deeper IMU queue |\n| Livox-SDK2, livox_ros_driver2 | MIT | downloaded by the installer |\n| Warehouse, shelf, pallet and cart models (Gazebo Fuel; OpenRobotics, MovAi) | CC BY-NC 4.0 \u002F CC BY-NC-ND 4.0 | downloaded by `sim_robot\u002Ftools\u002Ffetch_fuel_models.sh`; non-commercial use only |\n| HKUST 4F building model (SLABIM, Huang et al., ICRA 2025) | not stated by the dataset | built from your own SLABIM download; not included |\n| [GLIM](https:\u002F\u002Fgithub.com\u002Fkoide3\u002Fglim) | MIT | optional, installed from the author's PPA |\n| [evo](https:\u002F\u002Fgithub.com\u002FMichaelGrupp\u002Fevo) | GPL-3.0 | installed into its own virtual environment by the installer |\n\n## Licence\n\nThe code in this repository is released under the MIT licence (see [LICENSE](LICENSE)).\n","这是一个基于Web浏览器的ROS 2 Humble机器人自主导航开发与评估控制台，集成LiDAR SLAM建图（FAST-LIO2\u002FGLIM）、Nav2自主导航、Gazebo仿真及evo轨迹评估功能。核心支持实时3D点云建图、多源rosbag2回放与参数自适应配置、2D栅格地图生成与编辑、多目标导航任务编排，以及ATE\u002FRPE等量化指标的可视化对比分析。界面提供中英文双语、明暗主题，适配高校教学实验、算法原型验证及SLAM与导航系统联合调试等科研与工程场景。","2026-11-24 04:53:59","CREATED_QUERY"]