mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 13:33:34 +08:00
fw pos control: revert name until we delineate this module a bit more (#21442)
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
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
|
||||
+3
-3
@@ -35,14 +35,14 @@ add_subdirectory(launchdetection)
|
||||
add_subdirectory(runway_takeoff)
|
||||
|
||||
px4_add_module(
|
||||
MODULE modules__fw_path_navigation
|
||||
MAIN fw_path_navigation
|
||||
MODULE modules__fw_pos_control
|
||||
MAIN fw_pos_control
|
||||
SRCS
|
||||
FixedwingPositionControl.cpp
|
||||
FixedwingPositionControl.hpp
|
||||
DEPENDS
|
||||
launchdetection
|
||||
npfg
|
||||
npfg
|
||||
runway_takeoff
|
||||
SlewRate
|
||||
tecs
|
||||
+3
-3
@@ -2980,11 +2980,11 @@ int FixedwingPositionControl::print_usage(const char *reason)
|
||||
PRINT_MODULE_DESCRIPTION(
|
||||
R"DESCR_STR(
|
||||
### Description
|
||||
fw_path_navigation is the fixed wing path navigation.
|
||||
fw_pos_control is the fixed-wing position controller.
|
||||
|
||||
)DESCR_STR");
|
||||
|
||||
PRINT_MODULE_USAGE_NAME("fw_path_navigation", "controller");
|
||||
PRINT_MODULE_USAGE_NAME("fw_pos_control", "controller");
|
||||
PRINT_MODULE_USAGE_COMMAND("start");
|
||||
PRINT_MODULE_USAGE_ARG("vtol", "VTOL mode", true);
|
||||
PRINT_MODULE_USAGE_DEFAULT_COMMANDS();
|
||||
@@ -2992,7 +2992,7 @@ fw_path_navigation is the fixed wing path navigation.
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern "C" __EXPORT int fw_path_navigation_main(int argc, char *argv[])
|
||||
extern "C" __EXPORT int fw_pos_control_main(int argc, char *argv[])
|
||||
{
|
||||
return FixedwingPositionControl::main(argc, argv);
|
||||
}
|
||||
+2
-3
@@ -33,9 +33,8 @@
|
||||
|
||||
|
||||
/**
|
||||
* @file fw_path_navigation_main.hpp
|
||||
* Implementation of a generic path navigation. Outputs a bank / roll
|
||||
* angle, equivalent to a lateral motion (for copters and rovers).
|
||||
* @file fw_pos_control_main.hpp
|
||||
* Implementation of various fixed-wing position level navigation/control modes.
|
||||
*
|
||||
* The implementation for the controllers is in a separate library. This class only
|
||||
* interfaces to the library.
|
||||
@@ -0,0 +1,12 @@
|
||||
menuconfig MODULES_FW_POS_CONTROL
|
||||
bool "fw_pos_control"
|
||||
default n
|
||||
---help---
|
||||
Enable support for fw_pos_control
|
||||
|
||||
menuconfig USER_FW_POS_CONTROL
|
||||
bool "fw_pos_control running as userspace module"
|
||||
default n
|
||||
depends on BOARD_PROTECTED && MODULES_FW_POS_CONTROL
|
||||
---help---
|
||||
Put fw_pos_control in userspace memory
|
||||
Reference in New Issue
Block a user