PX4 controller-parameter changelog (demo)
· 3be0cb0 · 1 watched files, +83/−0

5 new parameters in src/.

params
  • Added 5 parameters: MC_NN_EN = 1, MC_NN_MANL_CTRL = 1, MC_NN_MAX_RPM = 22000, MC_NN_MIN_RPM = 1000 and MC_NN_THRST_COEF = 1.2f.
  • Most activity in src/ (+83/−0).

Full analysis → Summary: automatic analysis

Changed values

None.

Added (5)

NameValueTypeFile
MC_NN_EN1numbersrc/modules/mc_nn_control/mc_nn_control_params.c
MC_NN_MANL_CTRL1numbersrc/modules/mc_nn_control/mc_nn_control_params.c
MC_NN_MAX_RPM22000numbersrc/modules/mc_nn_control/mc_nn_control_params.c
MC_NN_MIN_RPM1000numbersrc/modules/mc_nn_control/mc_nn_control_params.c
MC_NN_THRST_COEF1.2fnumbersrc/modules/mc_nn_control/mc_nn_control_params.c

Post text (X-ready, not posted)

PX4 update (Jul 25): new MC_NN_MAX_RPM = 22000 - new MC_NN_EN = 1 - new MC_NN_MANL_CTRL = 1 - new MC_NN_MIN_RPM = 1000 Details: https://fitzyracing1.github.io/knoblog/demo/px4/entries/3be0cb0.html Commit: https://github.com/PX4/PX4-Autopilot/commit/3be0cb077c3a97d6fe452c640b33f54562c3e4ec Values are PX4 firmware defaults in the repo.

230/280 weighted chars

Modules touched

ModuleAddedModifiedRemovedLines +Lines −
src100+83−0

Watched files (1)

Show file list

Commit message

Neural Control Mode (#24366)

* 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>