2018-11-16 13:52:37 -04:00
|
|
|
|
|
|
|
px4_add_board(
|
|
|
|
PLATFORM posix
|
|
|
|
VENDOR px4
|
|
|
|
MODEL sitl
|
2020-09-10 08:33:29 -03:00
|
|
|
ROMFSROOT px4fmu_common
|
2018-11-16 13:52:37 -04:00
|
|
|
LABEL default
|
2020-09-10 08:36:16 -03:00
|
|
|
EMBEDDED_METADATA parameters
|
2018-11-16 13:52:37 -04:00
|
|
|
TESTING
|
2021-02-25 06:30:30 -04:00
|
|
|
ETHERNET
|
2018-11-16 13:52:37 -04:00
|
|
|
DRIVERS
|
|
|
|
#barometer # all available barometer drivers
|
2019-05-20 13:18:56 -03:00
|
|
|
#batt_smbus
|
2019-09-28 17:19:40 -03:00
|
|
|
camera_capture
|
2018-11-16 13:52:37 -04:00
|
|
|
camera_trigger
|
2019-05-20 13:18:56 -03:00
|
|
|
#differential_pressure # all available differential pressure drivers
|
|
|
|
#distance_sensor # all available distance sensor drivers
|
2018-11-16 13:52:37 -04:00
|
|
|
gps
|
|
|
|
#imu # all available imu drivers
|
|
|
|
#magnetometer # all available magnetometer drivers
|
2020-09-15 17:55:01 -03:00
|
|
|
#protocol_splitter
|
2018-11-16 13:52:37 -04:00
|
|
|
pwm_out_sim
|
2020-04-25 10:10:11 -03:00
|
|
|
rpm/rpm_simulator
|
2018-11-16 13:52:37 -04:00
|
|
|
#telemetry # all available telemetry drivers
|
2019-01-10 17:39:27 -04:00
|
|
|
tone_alarm
|
2018-12-01 15:00:46 -04:00
|
|
|
#uavcan
|
2018-11-16 13:52:37 -04:00
|
|
|
MODULES
|
2020-08-10 03:52:51 -03:00
|
|
|
airship_att_control
|
2019-11-19 20:59:09 -04:00
|
|
|
airspeed_selector
|
2018-11-16 13:52:37 -04:00
|
|
|
attitude_estimator_q
|
|
|
|
camera_feedback
|
|
|
|
commander
|
|
|
|
dataman
|
|
|
|
ekf2
|
|
|
|
events
|
2020-10-24 05:28:30 -03:00
|
|
|
flight_mode_manager
|
2018-11-16 13:52:37 -04:00
|
|
|
fw_att_control
|
|
|
|
fw_pos_control_l1
|
|
|
|
land_detector
|
|
|
|
landing_target_estimator
|
2020-10-27 19:49:25 -03:00
|
|
|
load_mon
|
2018-11-16 13:52:37 -04:00
|
|
|
local_position_estimator
|
|
|
|
logger
|
|
|
|
mavlink
|
|
|
|
mc_att_control
|
2020-03-11 22:20:54 -03:00
|
|
|
mc_hover_thrust_estimator
|
2018-11-16 13:52:37 -04:00
|
|
|
mc_pos_control
|
2019-11-19 20:59:09 -04:00
|
|
|
mc_rate_control
|
2020-09-15 17:55:01 -03:00
|
|
|
#micrortps_bridge
|
2018-11-16 13:52:37 -04:00
|
|
|
navigator
|
2019-11-24 14:25:11 -04:00
|
|
|
rc_update
|
2018-11-24 12:56:18 -04:00
|
|
|
replay
|
2019-11-19 20:59:09 -04:00
|
|
|
rover_pos_control
|
2018-11-16 13:52:37 -04:00
|
|
|
sensors
|
2019-11-19 20:59:09 -04:00
|
|
|
#sih
|
2018-11-16 13:52:37 -04:00
|
|
|
simulator
|
2020-01-20 22:42:42 -04:00
|
|
|
temperature_compensation
|
2020-09-15 17:55:01 -03: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
|
2018-12-01 14:58:15 -04:00
|
|
|
vmount
|
2018-11-16 13:52:37 -04:00
|
|
|
vtol_att_control
|
|
|
|
SYSTEMCMDS
|
|
|
|
#dumpfile
|
|
|
|
dyn
|
|
|
|
esc_calib
|
2020-06-09 09:21:44 -03:00
|
|
|
failure
|
2018-11-16 13:52:37 -04:00
|
|
|
led_control
|
2020-11-20 15:41:51 -04:00
|
|
|
#mft
|
2018-11-16 13:52:37 -04:00
|
|
|
mixer
|
|
|
|
motor_ramp
|
2019-10-15 13:56:52 -03:00
|
|
|
motor_test
|
2018-11-16 13:52:37 -04:00
|
|
|
#mtd
|
|
|
|
#nshterm
|
|
|
|
param
|
|
|
|
perf
|
|
|
|
pwm
|
|
|
|
sd_bench
|
|
|
|
shutdown
|
2020-09-26 14:09:01 -03:00
|
|
|
system_time
|
2018-11-16 13:52:37 -04:00
|
|
|
tests # tests and test runner
|
2020-01-09 12:00:40 -04:00
|
|
|
#top
|
2018-11-16 13:52:37 -04:00
|
|
|
topic_listener
|
|
|
|
tune_control
|
2021-02-17 12:25:56 -04:00
|
|
|
uorb
|
2018-11-16 13:52:37 -04:00
|
|
|
ver
|
2019-10-02 13:23:17 -03:00
|
|
|
work_queue
|
2018-11-16 13:52:37 -04:00
|
|
|
EXAMPLES
|
2018-11-24 13:12:58 -04:00
|
|
|
dyn_hello # dynamically loading modules example
|
2021-02-20 15:13:36 -04:00
|
|
|
fake_gps
|
2020-06-16 13:17:55 -03:00
|
|
|
fake_magnetometer
|
2018-11-16 13:52:37 -04:00
|
|
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
2018-11-24 12:52:07 -04:00
|
|
|
hello
|
2018-11-16 13:52:37 -04:00
|
|
|
#hwtest # Hardware test
|
2019-11-19 20:59:09 -04:00
|
|
|
#matlab_csv_serial
|
2019-03-12 19:33:27 -03:00
|
|
|
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
|
2018-11-16 13:52:37 -04:00
|
|
|
rover_steering_control # Rover example app
|
2019-11-19 20:59:09 -04:00
|
|
|
uuv_example_app
|
2020-04-05 11:20:19 -03:00
|
|
|
work_item
|
2018-11-16 13:52:37 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
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)
|
2019-10-01 14:49:57 -03:00
|
|
|
message(STATUS "Building with uorb publisher rules support")
|
2018-11-16 13:52:37 -04:00
|
|
|
add_definitions(-DORB_USE_PUBLISHER_RULES)
|
2020-09-15 17:55:01 -03:00
|
|
|
|
|
|
|
message(STATUS "Building without lockstep for replay")
|
|
|
|
set(ENABLE_LOCKSTEP_SCHEDULER no)
|
|
|
|
else()
|
|
|
|
set(ENABLE_LOCKSTEP_SCHEDULER yes)
|
2019-03-27 06:55:16 -03:00
|
|
|
endif()
|