mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ulanding radar: add UART config param
This commit is contained in:
parent
a1f0f88b33
commit
0ac5f2cd8b
@ -36,6 +36,8 @@ px4_add_module(
|
||||
COMPILE_FLAGS
|
||||
SRCS
|
||||
ulanding.cpp
|
||||
MODULE_CONFIG
|
||||
module.yaml
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
|
||||
7
src/drivers/distance_sensor/ulanding/module.yaml
Normal file
7
src/drivers/distance_sensor/ulanding/module.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
module_name: uLanding Radar
|
||||
serial_config:
|
||||
- command: ulanding_radar start ${SERIAL_DEV}
|
||||
port_config_param:
|
||||
name: SENS_ULAND_CFG
|
||||
group: Sensors
|
||||
|
||||
@ -307,7 +307,7 @@ Radar::start()
|
||||
ASSERT(_task_handle == -1);
|
||||
|
||||
/* start the task */
|
||||
_task_handle = px4_task_spawn_cmd("radar",
|
||||
_task_handle = px4_task_spawn_cmd("ulanding_radar",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX - 30,
|
||||
800,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user