mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Moved multirotor controllers
This commit is contained in:
@@ -54,6 +54,7 @@ MODULES += modules/mavlink_onboard
|
|||||||
#
|
#
|
||||||
MODULES += modules/attitude_estimator_ekf
|
MODULES += modules/attitude_estimator_ekf
|
||||||
MODULES += modules/position_estimator_mc
|
MODULES += modules/position_estimator_mc
|
||||||
|
MODULES += modules/position_estimator
|
||||||
MODULES += modules/att_pos_estimator_ekf
|
MODULES += modules/att_pos_estimator_ekf
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -62,6 +63,8 @@ MODULES += modules/att_pos_estimator_ekf
|
|||||||
MODULES += modules/fixedwing_backside
|
MODULES += modules/fixedwing_backside
|
||||||
MODULES += modules/fixedwing_att_control
|
MODULES += modules/fixedwing_att_control
|
||||||
MODULES += modules/fixedwing_pos_control
|
MODULES += modules/fixedwing_pos_control
|
||||||
|
MODULES += modules/multirotor_att_control
|
||||||
|
MODULES += modules/multirotor_pos_control
|
||||||
|
|
||||||
#
|
#
|
||||||
# Logging
|
# Logging
|
||||||
@@ -83,12 +86,7 @@ endef
|
|||||||
# command priority stack entrypoint
|
# command priority stack entrypoint
|
||||||
BUILTIN_COMMANDS := \
|
BUILTIN_COMMANDS := \
|
||||||
$(call _B, adc, , 2048, adc_main ) \
|
$(call _B, adc, , 2048, adc_main ) \
|
||||||
$(call _B, control_demo, , 2048, control_demo_main ) \
|
|
||||||
$(call _B, fixedwing_att_control, SCHED_PRIORITY_MAX-30, 2048, fixedwing_att_control_main ) \
|
|
||||||
$(call _B, fixedwing_pos_control, SCHED_PRIORITY_MAX-30, 2048, fixedwing_pos_control_main ) \
|
|
||||||
$(call _B, math_demo, , 8192, math_demo_main ) \
|
$(call _B, math_demo, , 8192, math_demo_main ) \
|
||||||
$(call _B, multirotor_att_control, SCHED_PRIORITY_MAX-15, 2048, multirotor_att_control_main) \
|
|
||||||
$(call _B, multirotor_pos_control, SCHED_PRIORITY_MAX-25, 2048, multirotor_pos_control_main) \
|
|
||||||
$(call _B, sercon, , 2048, sercon_main ) \
|
$(call _B, sercon, , 2048, sercon_main ) \
|
||||||
$(call _B, serdis, , 2048, serdis_main ) \
|
$(call _B, serdis, , 2048, serdis_main ) \
|
||||||
$(call _B, tone_alarm, , 2048, tone_alarm_main ) \
|
$(call _B, tone_alarm, , 2048, tone_alarm_main ) \
|
||||||
|
|||||||
Regular → Executable
+6
-6
@@ -1,6 +1,6 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2012 PX4 Development Team. All rights reserved.
|
# Copyright (c) 2012, 2013 PX4 Development Team. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@@ -32,11 +32,11 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
#
|
#
|
||||||
# Makefile to build multirotor position control
|
# Makefile to build the multirotor attitude controller
|
||||||
#
|
#
|
||||||
|
|
||||||
APPNAME = multirotor_pos_control
|
MODULE_COMMAND = multirotor_att_control
|
||||||
PRIORITY = SCHED_PRIORITY_MAX - 25
|
|
||||||
STACKSIZE = 2048
|
|
||||||
|
|
||||||
include $(APPDIR)/mk/app.mk
|
SRCS = multirotor_att_control_main.c \
|
||||||
|
multirotor_attitude_control.c \
|
||||||
|
multirotor_rate_control.c
|
||||||
Executable → Regular
+5
-6
@@ -1,6 +1,6 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2012 PX4 Development Team. All rights reserved.
|
# Copyright (c) 2012, 2013 PX4 Development Team. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@@ -32,11 +32,10 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
#
|
#
|
||||||
# Makefile to build uORB
|
# Build multirotor position control
|
||||||
#
|
#
|
||||||
|
|
||||||
APPNAME = multirotor_att_control
|
MODULE_COMMAND = multirotor_pos_control
|
||||||
PRIORITY = SCHED_PRIORITY_MAX - 15
|
|
||||||
STACKSIZE = 2048
|
|
||||||
|
|
||||||
include $(APPDIR)/mk/app.mk
|
SRCS = multirotor_pos_control.c \
|
||||||
|
multirotor_pos_control_params.c
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2012 PX4 Development Team. All rights reserved.
|
# Copyright (c) 2012, 2013 PX4 Development Team. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@@ -35,10 +35,10 @@
|
|||||||
# Makefile to build the position estimator
|
# Makefile to build the position estimator
|
||||||
#
|
#
|
||||||
|
|
||||||
APPNAME = position_estimator
|
MODULE_COMMAND = position_estimator
|
||||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
|
||||||
STACKSIZE = 4096
|
|
||||||
|
|
||||||
CSRCS = position_estimator_main.c
|
# XXX this should be converted to a deamon, its a pretty bad example app
|
||||||
|
MODULE_PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||||
|
MODULE_STACKSIZE = 4096
|
||||||
|
|
||||||
include $(APPDIR)/mk/app.mk
|
SRCS = position_estimator_main.c
|
||||||
Reference in New Issue
Block a user