How acsl-tcu/common_matlab works
This repository is a MATLAB drone and multi-agent control framework, with simulation/experiment modes, configurable agent components, and PX4 embedded artifacts. The README describes an agent configured with plant/model, sensors, estimator, reference, controller, input transform, connector, and parameters; estimator, reference, and controller can be cascaded. The tree shows additional estimation, environment, and analysis capabilities, but their runtime wiring is not established by the sampled material. Generated-code modules are represented compactly; unsampled relationships are omitted.
Main entry points: DRONE.m Configured agent · reference Reference generation · controller Flight controllers · estimator State estimation
Components 15
Agent workflow
- Configured agent
DRONE.m - Simulation / experiment modes
mode
Flight domains
- Plant and models
model - Reference generation
reference - Flight controllers
controller - State estimation
estimator
Runtime support
- Sensors
sensor - Environment maps
environment - Input transforms
input_tranform - Device connectors
connector - Logging and replay
assets/logger - Data analysis
Data/@DATA_ANALYZER
PX4 artifacts
- PX4 PID runtime
PX4_PID_ert_rtw/PX4_PID.cpp - PX4 direct input
direct_moter_input_ert_rtw/direct_moter_input.cpp
Other components
- Engineer / operator
Connections 12
- Engineer / operator → Configured agent: configures
- Configured agent → Plant and models: sets plant/model
- Configured agent → Sensors: sets sensors
- Configured agent → State estimation: sets estimator
- Configured agent → Reference generation: sets reference
- Configured agent → Flight controllers: sets controller
- Configured agent → Input transforms: sets transform
- Configured agent → Device connectors: sets connector
- State estimation → State estimation: cascades by name
- Reference generation → Reference generation: cascades by name
- Flight controllers → Flight controllers: cascades by name
- Logging and replay → Logging and replay: saves / loads