Datasheets and public prices are on the LRF22VB page and in the full ERDI laser rangefinder model list.
Ready-to-run ROS 2 examples for ERDI 905 nm laser rangefinder modules: launch files, an RViz2 sensor_msgs/Range display, a median and slew-rate filter node, a hardware-free demo (synthetic range publisher) and a two-sensor namespace launch. It sits on top of the erdi_lrf_driver driver package, which publishes sensor_msgs/Range for LRF22VB, LRF50VB, LRF50H-LRF1500H, LR1000E2 ... LR2000E4, LRF1200A1, LRF3000A1 and SPD1200N* modules. Use it as a starting point for a ROS 2 laser distance sensor on a robot, AGV, drone companion computer or test bench.
mkdir -p ~/ros2_ws/src && cd ~/ros2_ws/src git clone https://github.com/ErdiTech/erdi_lrf_driver.git git clone https://github.com/ErdiTech/erdi-lrf-ros2-examples.git sudo apt install python3-serial cd ~/ros2_ws && colcon build --packages-select erdi_lrf_driver erdi_lrf_examples source install/setup.bash
# no hardware: synthetic sine wave -> filter -> RViz ros2 launch erdi_lrf_examples demo_fake_rviz.launch.py # real module (LRF22VB: millimetre stream at 460800 baud) ros2 launch erdi_lrf_examples lrf22vb_rviz.launch.py port:=/dev/ttyUSB0 # two sensors, namespaced /front/range and /down/range ros2 launch erdi_lrf_examples dual_lrf.launch.py
| Launch file | What it starts |
|---|---|
demo_fake_rviz.launch.py |
fake_range_node, range_filter_node, static TF, RViz2 |
lrf22vb_rviz.launch.py |
erdi_lrf_driver range_node + filter + RViz2 |
dual_lrf.launch.py |
two range_node instances in front and down namespaces |
Topics: range (sensor_msgs/Range, raw), range_filtered (median of slew-limited samples). Parameters are in config/; the driver reads the unit per model (H series centimetres, VB series millimetres, family A metres x 10), so always set the exact model.
- The pure-Python filters (
filters.py) and the file syntax of the launch, YAML and RViz files are tested in CI without ROS:python -m pytest -q test. - The nodes and launch files have not been run in a ROS 2 environment by the maintainers yet; bench reports and pull requests are welcome. Publishing
Rangedoes not make a module a PX4 / ArduPilot rangefinder: see flight-controller integration and erdi-lrf-pixhawk-ardupilot. - Module pages and datasheets: https://erdilrf.com/models/?utm_source=github&utm_medium=readme&utm_campaign=erdi-lrf-ros2-examples.
- ErdiTech/erdi-lrf-drivers: Python, Arduino and ROS 2 drivers
- erdi-lrf-raspberry-pi-python: Raspberry Pi logger, MQTT and MAVLink bridge
- laser-rangefinder-module-database: dataset of laser rangefinder modules
If this project saved you time, you can buy the author a coffee in crypto. Thank you! 如果这个项目帮到了你,欢迎用加密货币打赏支持,谢谢!
| Network | Asset | Address |
|---|---|---|
| TRON (TRC20) | USDT | TNGdTwE6opH6rmUyoG1JUR7FSyEb4k273R |
| Ethereum / BNB Chain / Polygon | USDT | 0x59c43144a862b351fa1086ae842d1327c9d91613 |
| Ethereum / Arbitrum / Base | ETH | 0x59c43144a862b351fa1086ae842d1327c9d91613 |
| Bitcoin | BTC | 1RS6tWXHregLfEsiPzVUCUBuhgDg5uTSV |
| Solana | USDT | HZguEXfTtLChNdJTxAYCbcGscaqikz8JYrEpUhEyeVd9 |
Please send only the listed asset on the listed network — other tokens or networks may be lost. 请按表中对应的网络转对应的币种,转错币种或网络可能无法找回。
MIT — see LICENSE.