mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* Add tflm to px4 with module - Add TensorFlow Lite Micro(TFLM) as a library in px4 - Make a module that uses neural network inference for control, which uses TFLM for inference - Make board config files for PX4 with neural module * Added neural flight mode * Add posibility to read of inference times * Fix comments from review: - Switch ssh link to https link in submodule - Remove mc_nn_control from startup * Add tflm to px4 with module - Add TensorFlow Lite Micro(TFLM) as a library in px4 - Make a module that uses neural network inference for control, which uses TFLM for inference - Make board config files for PX4 with neural module * Added neural flight mode * Add posibility to read of inference times * Remove auto start * Add logging from neural control module * Fix automatic startup to only be when module is included * Switch to flight mode registration * Add docs * Change min/max/coeff to actual parameters * add figures to neural network docs * Switch to e2e network * Remove toolchain changes and replace with instructions in docs * Get ready for merge after toolchain upgrade * switch back to submodule * Try to figure out cmake * Get CI working with new toolchain * Remove fork dependency * Finalize PR * fix toolchain inclusion * Fix ctype_base.h include * Cleanup includes for TFLM * Remove redundant std * Update FW module names in board files * Fix docs * Remove cstdlib copy * Copy header from nuttx * Prettier, markup, layout * NeuralControl.msg - update uorb comments to current standard * Add description to neural topic * Fix typo * Typo * TFLM and Module utitlities * Neural networks top level * Update docs * Add manual control * Update docs * Revert the manual control attempt * Update docs/en/advanced/nn_module_utilities.md * Add posibility to set trajectory setpoint with manual control --------- Co-authored-by: Pedro Roque <padr@kth.se> Co-authored-by: Hamish Willee <hamishwillee@gmail.com> Co-authored-by: Ramon Roche <mrpollo@gmail.com>
44 lines
700 B
Bash
44 lines
700 B
Bash
#!/bin/sh
|
|
#
|
|
# Standard apps for multirotors. Attitude/Position estimator, Attitude/Position control.
|
|
#
|
|
# NOTE: Script variables are declared/initialized/unset in the rcS script.
|
|
#
|
|
|
|
#
|
|
# Start Control Allocator
|
|
#
|
|
control_allocator start
|
|
|
|
#
|
|
# Start Multicopter Rate Controller.
|
|
#
|
|
mc_rate_control start
|
|
|
|
#
|
|
# Start Multicopter Attitude Controller.
|
|
#
|
|
mc_att_control start
|
|
|
|
if param greater -s MC_AT_EN 0
|
|
then
|
|
mc_autotune_attitude_control start
|
|
fi
|
|
|
|
#
|
|
# Start Multicopter Position Controller.
|
|
#
|
|
mc_hover_thrust_estimator start
|
|
flight_mode_manager start
|
|
mc_pos_control start
|
|
|
|
#
|
|
# Start Multicopter Land Detector.
|
|
#
|
|
land_detector start multicopter
|
|
|
|
if param compare -s MC_NN_EN 1
|
|
then
|
|
mc_nn_control start
|
|
fi
|