1.9 KiB
LeddarOne Lidar
LeddarOne is small Lidar module with a narrow, yet diffuse beam that offers excellent overall detection range and performance, in a robust, reliable, cost-effective package. Він має діапазон сенсора від (5см - 40м) і може бути підключений до портів PWM або I2C.
Налаштування програмного забезпечення
LeddarOne can be connected to any unused serial port (UART), e.g.: TELEM2, TELEM3, GPS2 etc.
Побудуйте кабель, використовуючи плату та роз'єм, а також роз'єм LeddarOne (показаний нижче). Вам лише потрібно буде підключити контакти 5V, TX, RX та GND.
| Pin | LeddarOne |
|---|---|
| 1 | GND |
| 2 | - |
| 3 | VCC |
| 4 | RX |
| 5 | TX |
| 6 | - |
Налаштування параметрів
Configure the serial port on which the lidar will run using SENS_LEDDAR1_CFG. Немає потреби встановлювати швидкість передачі для порту, оскільки це налаштовано драйвером.
:::info If the configuration parameter is not available in QGroundControl then you may need to add the driver to the firmware:
CONFIG_DRIVERS_DISTANCE_SENSOR_LEDDAR_ONE=y
:::