mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-19 19:04:33 +08:00
db2c6b2abe
* moving raptor bump compiles and raptor mode appears hovering with RAPTOR seems to work Using Raptor to execute offboard commands works (using multirobot f03825a5795a77c5a095f799eeb8e0b646fe7176 to feed the trajectory_setpoint). Requires more testing simplified rotmat runtime inference frequency multiple arming request response reflects actual readiness adjusting to fit IMU gyro ratemax relaxing control timing warning thresholds for SITL Using mode registration to signal if offboard commands should be forwarded to trajectory_setpoint instead of just hardcoding vehicle_status.nav_state == vehicle_status_s::NAVIGATION_STATE_OFFBOARD adopting new "request_offboard_setpoint" in raptor module replace offboard seems good mc_raptor: overwrite offboard parameter separate raptor config addendum Raptor off by default RAPTOR readme Loading raptor checkpoint from tar works. check if load was successful refactoring: cutting out the pure C interface to allow direct testing of the policy input/output behavior from the file, without fully loading it into memory first adapter not needed anymore ripping out test observation mode (not used in a long time) fixing warnings bump RLtools to fix the remaining warnings Loading RAPTOR checkpoint from sdcard seems to work on FMU-6C embedding Raptor policy into flash works again also printing checkpoint name when using the embedded policy cleaner handling of the checkpoint name back to reading from file ripping out visual odometry checks cleaner more debug but no success bump rlt bump pre next rebase we can publish the no angvel update because we latch onto it with the scheduled work item anyways this kind of runs on the 6c still bad SIH almost flying saving stale traj setpoint yaw new error. timestamp not the problem anymore bump rlt; SIH works with executor shaping up bumping blob (include tar checkpoint) cleaning up fixing formatting update readme * moving raptor bump compiles and raptor mode appears hovering with RAPTOR seems to work Using Raptor to execute offboard commands works (using multirobot f03825a5795a77c5a095f799eeb8e0b646fe7176 to feed the trajectory_setpoint). Requires more testing simplified rotmat runtime inference frequency multiple arming request response reflects actual readiness adjusting to fit IMU gyro ratemax relaxing control timing warning thresholds for SITL Using mode registration to signal if offboard commands should be forwarded to trajectory_setpoint instead of just hardcoding vehicle_status.nav_state == vehicle_status_s::NAVIGATION_STATE_OFFBOARD adopting new "request_offboard_setpoint" in raptor module replace offboard seems good mc_raptor: overwrite offboard parameter separate raptor config addendum Raptor off by default RAPTOR readme Loading raptor checkpoint from tar works. check if load was successful refactoring: cutting out the pure C interface to allow direct testing of the policy input/output behavior from the file, without fully loading it into memory first adapter not needed anymore ripping out test observation mode (not used in a long time) fixing warnings bump RLtools to fix the remaining warnings Loading RAPTOR checkpoint from sdcard seems to work on FMU-6C embedding Raptor policy into flash works again also printing checkpoint name when using the embedded policy cleaner handling of the checkpoint name back to reading from file ripping out visual odometry checks cleaner more debug but no success bump rlt bump pre next rebase we can publish the no angvel update because we latch onto it with the scheduled work item anyways this kind of runs on the 6c still bad SIH almost flying saving stale traj setpoint yaw new error. timestamp not the problem anymore bump rlt; SIH works with executor shaping up bumping blob (include tar checkpoint) cleaning up fixing formatting update readme updating gitignore * fixing format and declaring submodules as cmake dependencies * adding uORB message documentation * fixing comment alignment * Adding option to restrict mc_raptor to not listen to the trajectory_setpoint (use the position and yaw at activation time as reference instead) * bump RLtools; relax timing thresholds and adding real world readme * smooth traj tracking performance * Measuring trajectory_setpoint timing (providing stats in raptor_status); reverting accidental .gitignore modification * More ideomatic way of setting the path to the policy checkpoint * Reset trajectory_setpoint on raptor mode activation * Adding internal trajectory generation (feeding trajectory_setpoint over Mavlink is too noisy). Quite agile trajectory tracking, good performance * stable flight * Update msg/versioned/RaptorInput.msg Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * adopting message formatting conventions * sort raptor.px4board * Archiving RegisterExtComponentRequestV1.msg * Add message versioning for VehicleStatus v2 and RegisterExtComponentRequest v2 * fixing formatting * making internal reference configurable via command * RAPTOR docs wip * raptor internal reference documentation * Finishing RAPTOR docs first draft * adding logging instructions * Fixing missing command documentation test error * fixing format * adding motor layout warning * raptor minimal subedit - prettier, images etc * Improve intro * Fix up Neural_Networks version * Mentioning "Adaptive" in the RAPTOR documentation's title * Adding clarifications about the internal reference trajectory generator * Removing "foundation policy" wording * Fixing new-line check * Removing redundant (evident through directory hierarchy) raptor_ from filenames * Unifying Neural Network docs (mc_nn_control and mc_raptor) under the "Neural Network" topic * Fix to standard structure * Making the distinction between mc_nn_control and mc_raptor more clear and fixing the comparison table * Removing trajectory_setpoint forwarding flag from external mode registration request and from the vehicle status * Trivial layout and wording fixes * fixing docs error --------- Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
91 lines
4.3 KiB
CMake
91 lines
4.3 KiB
CMake
############################################################################
|
|
#
|
|
# Copyright (c) 2017-2023 PX4 Development Team. All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms, with or without
|
|
# modification, are permitted provided that the following conditions
|
|
# are met:
|
|
#
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
# notice, this list of conditions and the following disclaimer.
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
# notice, this list of conditions and the following disclaimer in
|
|
# the documentation and/or other materials provided with the
|
|
# distribution.
|
|
# 3. Neither the name PX4 nor the names of its contributors may be
|
|
# used to endorse or promote products derived from this software
|
|
# without specific prior written permission.
|
|
#
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
#
|
|
############################################################################
|
|
|
|
add_subdirectory(adsb EXCLUDE_FROM_ALL)
|
|
add_subdirectory(airspeed EXCLUDE_FROM_ALL)
|
|
add_subdirectory(atmosphere EXCLUDE_FROM_ALL)
|
|
add_subdirectory(battery EXCLUDE_FROM_ALL)
|
|
add_subdirectory(button EXCLUDE_FROM_ALL)
|
|
add_subdirectory(cdev EXCLUDE_FROM_ALL)
|
|
add_subdirectory(cdrstream EXCLUDE_FROM_ALL)
|
|
add_subdirectory(circuit_breaker EXCLUDE_FROM_ALL)
|
|
add_subdirectory(collision_prevention EXCLUDE_FROM_ALL)
|
|
add_subdirectory(component_information EXCLUDE_FROM_ALL)
|
|
add_subdirectory(control_allocation EXCLUDE_FROM_ALL)
|
|
add_subdirectory(controllib EXCLUDE_FROM_ALL)
|
|
add_subdirectory(conversion EXCLUDE_FROM_ALL)
|
|
add_subdirectory(crc EXCLUDE_FROM_ALL)
|
|
add_subdirectory(crypto EXCLUDE_FROM_ALL)
|
|
add_subdirectory(dataman_client EXCLUDE_FROM_ALL)
|
|
add_subdirectory(drivers EXCLUDE_FROM_ALL)
|
|
add_subdirectory(field_sensor_bias_estimator EXCLUDE_FROM_ALL)
|
|
add_subdirectory(geo EXCLUDE_FROM_ALL)
|
|
add_subdirectory(gnss EXCLUDE_FROM_ALL)
|
|
add_subdirectory(heatshrink EXCLUDE_FROM_ALL)
|
|
add_subdirectory(hysteresis EXCLUDE_FROM_ALL)
|
|
add_subdirectory(lat_lon_alt EXCLUDE_FROM_ALL)
|
|
add_subdirectory(led EXCLUDE_FROM_ALL)
|
|
add_subdirectory(matrix EXCLUDE_FROM_ALL)
|
|
add_subdirectory(mathlib EXCLUDE_FROM_ALL)
|
|
add_subdirectory(mixer_module EXCLUDE_FROM_ALL)
|
|
add_subdirectory(motion_planning EXCLUDE_FROM_ALL)
|
|
add_subdirectory(npfg EXCLUDE_FROM_ALL)
|
|
add_subdirectory(perf EXCLUDE_FROM_ALL)
|
|
add_subdirectory(fw_performance_model EXCLUDE_FROM_ALL)
|
|
add_subdirectory(pid EXCLUDE_FROM_ALL)
|
|
add_subdirectory(pid_design EXCLUDE_FROM_ALL)
|
|
add_subdirectory(pure_pursuit EXCLUDE_FROM_ALL)
|
|
add_subdirectory(rate_control EXCLUDE_FROM_ALL)
|
|
add_subdirectory(rc EXCLUDE_FROM_ALL)
|
|
add_subdirectory(ringbuffer EXCLUDE_FROM_ALL)
|
|
add_subdirectory(rl_tools EXCLUDE_FROM_ALL)
|
|
add_subdirectory(rover_control EXCLUDE_FROM_ALL)
|
|
add_subdirectory(rtl EXCLUDE_FROM_ALL)
|
|
add_subdirectory(sensor_calibration EXCLUDE_FROM_ALL)
|
|
add_subdirectory(slew_rate EXCLUDE_FROM_ALL)
|
|
add_subdirectory(sticks EXCLUDE_FROM_ALL)
|
|
add_subdirectory(stick_yaw EXCLUDE_FROM_ALL)
|
|
add_subdirectory(systemlib EXCLUDE_FROM_ALL)
|
|
add_subdirectory(system_identification EXCLUDE_FROM_ALL)
|
|
add_subdirectory(tecs EXCLUDE_FROM_ALL)
|
|
add_subdirectory(tensorflow_lite_micro EXCLUDE_FROM_ALL)
|
|
add_subdirectory(terrain_estimation EXCLUDE_FROM_ALL)
|
|
add_subdirectory(timesync EXCLUDE_FROM_ALL)
|
|
add_subdirectory(tinybson EXCLUDE_FROM_ALL)
|
|
add_subdirectory(tunes EXCLUDE_FROM_ALL)
|
|
add_subdirectory(variable_length_ringbuffer EXCLUDE_FROM_ALL)
|
|
add_subdirectory(version EXCLUDE_FROM_ALL)
|
|
add_subdirectory(weather_vane EXCLUDE_FROM_ALL)
|
|
add_subdirectory(wind_estimator EXCLUDE_FROM_ALL)
|
|
add_subdirectory(world_magnetic_model EXCLUDE_FROM_ALL)
|