mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 21:43:33 +08:00
ulanding radar: add UART config param
This commit is contained in:
@@ -36,6 +36,8 @@ px4_add_module(
|
|||||||
COMPILE_FLAGS
|
COMPILE_FLAGS
|
||||||
SRCS
|
SRCS
|
||||||
ulanding.cpp
|
ulanding.cpp
|
||||||
|
MODULE_CONFIG
|
||||||
|
module.yaml
|
||||||
DEPENDS
|
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);
|
ASSERT(_task_handle == -1);
|
||||||
|
|
||||||
/* start the task */
|
/* start the task */
|
||||||
_task_handle = px4_task_spawn_cmd("radar",
|
_task_handle = px4_task_spawn_cmd("ulanding_radar",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 30,
|
SCHED_PRIORITY_MAX - 30,
|
||||||
800,
|
800,
|
||||||
|
|||||||
Reference in New Issue
Block a user