From e73de6914bbc79b9e85c282276db4457ac7ae817 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Mon, 9 Jun 2025 13:43:54 -0700 Subject: [PATCH] drivers: update ll40ls_pwm module name Signed-off-by: Ramon Roche --- .../modules/modules_driver_distance_sensor.md | 27 +++++++++++++++++++ .../distance_sensor/ll40ls_pwm/ll40ls.cpp | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/en/modules/modules_driver_distance_sensor.md b/docs/en/modules/modules_driver_distance_sensor.md index 9e5268be96..d2ecf0d786 100644 --- a/docs/en/modules/modules_driver_distance_sensor.md +++ b/docs/en/modules/modules_driver_distance_sensor.md @@ -235,6 +235,33 @@ ll40ls [arguments...] status print status info ``` +## ll40ls_pwm + +Source: [drivers/distance_sensor/ll40ls_pwm](https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/distance_sensor/ll40ls_pwm) + + +### Description + +PWM driver for LidarLite rangefinders. + +The sensor/driver must be enabled using the parameter SENS_EN_LL40LS. + +Setup/usage information: https://docs.px4.io/main/en/sensor/lidar_lite.html + +### Usage {#ll40ls_pwm_usage} + +``` +ll40ls_pwm [arguments...] + Commands: + start Start driver + [-R ] Sensor rotation - downward facing by default + default: 25 + + status Print driver status information + + stop Stop driver +``` + ## mappydot Source: [drivers/distance_sensor/mappydot](https://github.com/PX4/PX4-Autopilot/tree/main/src/drivers/distance_sensor/mappydot) diff --git a/src/drivers/distance_sensor/ll40ls_pwm/ll40ls.cpp b/src/drivers/distance_sensor/ll40ls_pwm/ll40ls.cpp index c11df5039f..b6d265107b 100644 --- a/src/drivers/distance_sensor/ll40ls_pwm/ll40ls.cpp +++ b/src/drivers/distance_sensor/ll40ls_pwm/ll40ls.cpp @@ -150,7 +150,7 @@ The sensor/driver must be enabled using the parameter SENS_EN_LL40LS. Setup/usage information: https://docs.px4.io/main/en/sensor/lidar_lite.html )DESCR_STR"); - PRINT_MODULE_USAGE_NAME("ll40ls", "driver"); + PRINT_MODULE_USAGE_NAME("ll40ls_pwm", "driver"); PRINT_MODULE_USAGE_SUBCATEGORY("distance_sensor"); PRINT_MODULE_USAGE_COMMAND_DESCR("start","Start driver"); PRINT_MODULE_USAGE_PARAM_INT('R', 25, 0, 25, "Sensor rotation - downward facing by default", true);