mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 10:13:35 +08:00
fw_pos_control_l1: renaming to fw_path_navigation, l1 control is not used anymore, use a more generic naming.
This commit is contained in:
+2
-2
@@ -35,8 +35,8 @@ add_subdirectory(launchdetection)
|
||||
add_subdirectory(runway_takeoff)
|
||||
|
||||
px4_add_module(
|
||||
MODULE modules__fw_pos_control_l1
|
||||
MAIN fw_pos_control_l1
|
||||
MODULE modules__fw_path_navigation
|
||||
MAIN fw_path_navigation
|
||||
SRCS
|
||||
FixedwingPositionControl.cpp
|
||||
FixedwingPositionControl.hpp
|
||||
+3
-3
@@ -2729,11 +2729,11 @@ int FixedwingPositionControl::print_usage(const char *reason)
|
||||
PRINT_MODULE_DESCRIPTION(
|
||||
R"DESCR_STR(
|
||||
### Description
|
||||
fw_pos_control_l1 is the fixed wing position controller.
|
||||
fw_path_navigation is the fixed wing path navigation.
|
||||
|
||||
)DESCR_STR");
|
||||
|
||||
PRINT_MODULE_USAGE_NAME("fw_pos_control_l1", "controller");
|
||||
PRINT_MODULE_USAGE_NAME("fw_path_navigation", "controller");
|
||||
PRINT_MODULE_USAGE_COMMAND("start");
|
||||
PRINT_MODULE_USAGE_ARG("vtol", "VTOL mode", true);
|
||||
PRINT_MODULE_USAGE_DEFAULT_COMMANDS();
|
||||
@@ -2741,7 +2741,7 @@ fw_pos_control_l1 is the fixed wing position controller.
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern "C" __EXPORT int fw_pos_control_l1_main(int argc, char *argv[])
|
||||
extern "C" __EXPORT int fw_path_navigation_main(int argc, char *argv[])
|
||||
{
|
||||
return FixedwingPositionControl::main(argc, argv);
|
||||
}
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
|
||||
|
||||
/**
|
||||
* @file fw_pos_control_l1_main.hpp
|
||||
* @file fw_path_navigation_main.hpp
|
||||
* Implementation of a generic position controller based on the L1 norm. Outputs a bank / roll
|
||||
* angle, equivalent to a lateral motion (for copters and rovers).
|
||||
*
|
||||
@@ -0,0 +1,12 @@
|
||||
menuconfig MODULES_FW_PATH_NAVIGATION
|
||||
bool "fw_path_navigation"
|
||||
default n
|
||||
---help---
|
||||
Enable support for fw_path_navigation
|
||||
|
||||
menuconfig USER_FW_PATH_NAVIGATION
|
||||
bool "fw_path_navigation running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_FW_PATH_NAVIGATION
|
||||
---help---
|
||||
Put fw_path_navigation in userspace memory
|
||||
@@ -1,12 +0,0 @@
|
||||
menuconfig MODULES_FW_POS_CONTROL_L1
|
||||
bool "fw_pos_control_l1"
|
||||
default n
|
||||
---help---
|
||||
Enable support for fw_pos_control_l1
|
||||
|
||||
menuconfig USER_FW_POS_CONTROL_L1
|
||||
bool "fw_pos_control_l1 running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_FW_POS_CONTROL_L1
|
||||
---help---
|
||||
Put fw_pos_control_l1 in userspace memory
|
||||
Reference in New Issue
Block a user