mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-25 07:00:34 +08:00
ulanding radar: add UART config param
This commit is contained in:
@@ -36,6 +36,8 @@ px4_add_module(
|
||||
COMPILE_FLAGS
|
||||
SRCS
|
||||
ulanding.cpp
|
||||
MODULE_CONFIG
|
||||
module.yaml
|
||||
DEPENDS
|
||||
)
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user