px4-firmware/boards/px4/sitl/ctrlalloc.cmake

119 lines
2.6 KiB
CMake
Raw Normal View History

px4_add_board(
PLATFORM posix
VENDOR px4
MODEL sitl
2021-01-10 23:02:24 -04:00
ROMFSROOT px4fmu_common
LABEL ctrlalloc
EMBEDDED_METADATA parameters
TESTING
DRIVERS
#barometer # all available barometer drivers
#batt_smbus
camera_capture
camera_trigger
#differential_pressure # all available differential pressure drivers
#distance_sensor # all available distance sensor drivers
gps
#imu # all available imu drivers
#magnetometer # all available magnetometer drivers
2021-01-10 23:02:24 -04:00
#protocol_splitter
pwm_out_sim
rpm/rpm_simulator
#telemetry # all available telemetry drivers
tone_alarm
#uavcan
MODULES
2021-01-10 23:02:24 -04:00
airship_att_control
airspeed_selector
angular_velocity_controller
attitude_estimator_q
camera_feedback
commander
control_allocator
dataman
ekf2
events
2021-01-10 23:02:24 -04:00
flight_mode_manager
fw_att_control
fw_pos_control_l1
land_detector
landing_target_estimator
2021-01-10 23:02:24 -04:00
load_mon
local_position_estimator
logger
mavlink
mc_att_control
mc_hover_thrust_estimator
mc_pos_control
mc_rate_control
2021-01-10 23:02:24 -04:00
#micrortps_bridge
navigator
rc_update
replay
rover_pos_control
sensors
#sih
simulator
temperature_compensation
2021-01-10 23:02:24 -04:00
uuv_att_control
Uuv position control extension (#16688) * Commit for the Integration of a position controller for the a Underwater vehicle. This module is an extension of the uuv_att_control to control an Underwater vehicle to any position, given by the SET_POSITION_TARGET_LOCAL_NED which includes x y z yaw. Since the position control is designed for a 6DOF Robot, the roll and pitch angle are controlled to be 0. Additionally there is a stabilization control, which holds the robot at a defined depth, and not move in any direction. In general the idea is to have this position module to control the position of the uuv. The position module reseives the desired position of the uuv and sends appropriate attitude setpoints to the uuv_attitude_control module. Additionally the mixer file is adapted, to include the 6 different inputs(x y z roll pitch yaw). * Commit for the Integration of a position controller for the a Underwater vehicle. This module is an extension of the uuv_att_control to control an Underwater vehicle to any position, given by the SET_POSITION_TARGET_LOCAL_NED which includes x y z yaw. Since the position control is designed for a 6DOF Robot, the roll and pitch angle are controlled to be 0. Additionally there is a stabilization control, which holds the robot at a defined depth, and not move in any direction. In general the idea is to have this position module to control the position of the uuv. The position module receives the desired position of the uuv and sends appropriate attitude setpoints to the uuv_attitude_control module. Additionally the mixer file is adapted, to include the 6 different inputs(x y z roll pitch yaw). Currently not solved/missing: - Problem with gazebo model(propeller moving chaotically). - Mixer correct gazebo vs real life (has to be tested in the future) - correct integration in uuv.apps (when choose which module) - very basic controller chosen (could be improved a lot in the future) * Remove error caused by unused variables and a different build error * added better description of the parameter. Additionally the group is changed. * added better description of the parameter. Additionally the group is changed. Fixed bug about parameter * Added EOF to the files. * Removed parameter for direct position control for safety reasons. * small bugfix
2021-02-15 13:40:28 -04:00
uuv_pos_control
vmount
vtol_att_control
SYSTEMCMDS
#dumpfile
dyn
esc_calib
2021-01-10 23:02:24 -04:00
failure
led_control
2021-01-10 23:02:24 -04:00
#mft
mixer
motor_ramp
motor_test
#mtd
#nshterm
param
perf
pwm
sd_bench
shutdown
2021-01-10 23:02:24 -04:00
system_time
tests # tests and test runner
#top
topic_listener
tune_control
ver
work_queue
EXAMPLES
dyn_hello # dynamically loading modules example
2021-01-10 23:02:24 -04:00
fake_magnetometer
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
hello
#hwtest # Hardware test
#matlab_csv_serial
px4_mavlink_debug # Tutorial code from http://dev.px4.io/en/debug/debug_values.html
px4_simple_app # Tutorial code from http://dev.px4.io/en/apps/hello_sky.html
rover_steering_control # Rover example app
uuv_example_app
work_item
)
set(config_sitl_viewer jmavsim CACHE STRING "viewer for sitl")
set_property(CACHE config_sitl_viewer PROPERTY STRINGS "jmavsim;none")
set(config_sitl_debugger disable CACHE STRING "debugger for sitl")
set_property(CACHE config_sitl_debugger PROPERTY STRINGS "disable;gdb;lldb")
# If the environment variable 'replay' is defined, we are building with replay
# support. In this case, we enable the orb publisher rules.
set(REPLAY_FILE "$ENV{replay}")
if(REPLAY_FILE)
message(STATUS "Building with uorb publisher rules support")
add_definitions(-DORB_USE_PUBLISHER_RULES)
message(STATUS "Building without lockstep for replay")
set(ENABLE_LOCKSTEP_SCHEDULER no)
else()
set(ENABLE_LOCKSTEP_SCHEDULER yes)
endif()