ulanding radar: add UART config param

This commit is contained in:
Beat Küng 2018-09-28 10:00:10 +02:00
parent a1f0f88b33
commit 0ac5f2cd8b
3 changed files with 10 additions and 1 deletions

View File

@ -36,6 +36,8 @@ px4_add_module(
COMPILE_FLAGS
SRCS
ulanding.cpp
MODULE_CONFIG
module.yaml
DEPENDS
)

View 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

View File

@ -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,