Skip to content
프로젝트

소개

Firmament Autopilot Model Framework

과학 및 공학

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

FMT

GitHub license

Overview

Firmament Model (FMT Model) is a part of Firmament Autopilot project. It includes a simulation framework with algorithm libraries designed with MATLAB/Simulink.

Architecture

structure"

Environmet

FMT-Model is developed in MATLAB 2018b, which is the recommend version. However, you should be able to use higher MATLAB version as well.

Required Toolbox

  • Aerospace Blockset (4.0)
  • Embedded Coder (7.1)
  • Instrument Control Toolbox (3.14)
  • MATLAB (9.5)
  • Simulink (9.2)
  • Simulink 3D Animation (8.1)
  • Simulink Coder (9.0)

For other toolboxes required by the model, please check the README.md inside the submodules.

Document

User Guide

Quick Start

To get the FMT-Model, use the following command. This will clone the code base of FMT-Model with all submodules (INS, FMS, Controller, Plant).

git clone https://github.com/Firmament-Autopilot/FMT-Model.git --recursive

Then open MATLAB and change the work directory to FMT-Model root folder. After that, run theFMT_Model.prj, which will do all the initialization for you.

Generate model code and build firmware

After opening FMT_Model.prj, run FMT_Model_CodeGen in the MATLAB Command Window to open the model code generation UI. The UI detects the model files currently resolved by the MATLAB path and lets you select which models to build. VEHICLE and AIRFRAME are read directly from the MATLAB base workspace and displayed read-only in the UI.

Optionally configure the FMT-Firmware checkout to copy generated C/C++ files into the matching src/model/.../lib directory. Enable the SCons option to build from a target directory containing SConstruct. The command uses the read-only vehicle and airframe values, the editable SIM_Mode (default None), and the configured parallel job count (default 16), for example scons -j16 --vehicle=Multicopter --airframe=1 --sim=SIH.

Code Catalogue

FMT-Model source code catalog is shown as follow:

Name Description
bus Scripts to generate simulink bus objects.
figures Project figures.
lib FMT-Model toolbox model library.
model Simulink model source file.
script Matlab scripts.
simulation Simulation related simulink model.
utils Project utils.

Simulation

Current supported simulation:

  • MIL (Model-in-the-loop Simulation)
  • Open-loop Simulation

For more information, please refer to the document.

관련 프로젝트 살펴보기

불러오는 중…