Skip to content

Commit 4aa83c3

Browse files
author
nobuakif
committed
add ready-to-run example
1 parent 97d95d6 commit 4aa83c3

20 files changed

+498
-152
lines changed

.gitignore

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,17 @@ octave-workspace
3232

3333
RoadRunnerSimulinkHandson_distribution*
3434

35-
videos*
35+
videos*
36+
37+
*nanoshrlib*
38+
m2m_*
39+
pkg_*
40+
/SfCompatibilityCheckData.mat
41+
/TrajectoryFollowVehicle.slprotodata
42+
/TrajectoryFollowVehicle.zip
43+
/TrajectoryFollowVehicleWith14DoF.json
44+
/TrajectoryFollowVehicleWith14DoF.slprotodata
45+
/TrajectoryFollowVehicle_win64.dll
46+
/TrajectoryFollowVehicle_win64.exp
47+
/TrajectoryFollowVehicle_win64.lib
48+
/TrajectoryFollowVehicle_win64.pdb
197 Bytes
Binary file not shown.
5.81 KB
Binary file not shown.
20 Bytes
Binary file not shown.

EN_handsOn08_controlComparison.mlx

278 Bytes
Binary file not shown.
22 Bytes
Binary file not shown.
-52.8 KB
Binary file not shown.
53.2 KB
Binary file not shown.

JP_handsOn10_simulationSpeedUp.mlx

93.7 KB
Binary file not shown.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Below is a description of the main files (prefix "EN_" means English and "JP_" m
2525
- **handsOn07_simulaitonPathFollowingMultibody.mlx**: Use the RoadRunner ScenarioReader to obtain speed and trajectory information, and then experience a Simulink model in which the vehicle follows the cretaed trajectory. This is a sample that uses a Simscape Multibody model for vehicle dynamics.
2626
- **handsOn08_controlComparison.mlx**: Use the RoadRunner ScenarioReader to obtain speed and trajectory information, and compares trajectory tracking using Stanley control and Model Predictive Control.
2727
- **handsOn09_EV_FuelEfficiency.mlx**: Sample that retrieves the reference trajectory and reference speed from RoadRunner and simulates the powertrain. Visualizes EV energy consumption (equivalent fuel economy for gasoline vehicles), torque, and other parameters.
28+
- **handsOn10_simulationSpeedUp**: Sample that speed up the simulation performance by building slx with ready-to-run package
2829
- **suppelement/CP_estimation_fromTIR/sample_estCP.mlx**: A program that visualizes tire characteristics represented by the Magic Formula from a TIR file, and calculates the cornering power (CP) from the linear region. (Front CP is required as a control parameter for Stanley control.)
2930

3031
## Setup
@@ -55,6 +56,7 @@ MATLAB and RoadRunner versions must match. If you have installed different versi
5556
- Control System Toolbox™ (only needed when runnning handsOn08*)
5657
- Model Predictive Control Toolbox™ (only needed when runnning handsOn08*)
5758
- Powertrain Blockset™ (only needed when running `handsOn09*)
59+
- Simulink Coder™ (only needed when running `handsOn10*)
5860
- MATLAB Support for MinGW-w64 C/C++/Fortran Compiler (You can add this by Add-Ons explorer. If your environment doesn't have any other compiler like Visual Studio)
5961

6062
<!-- This is the "Title of the contribution" that was approved during the Community Contribution Review Process -->
@@ -78,6 +80,7 @@ MATLAB and RoadRunner versions must match. If you have installed different versi
7880
- **handsOn07_simulaitonPathFollowingMultibody.mlx**: RoadRunner ScenarioReaderブロックより車速や軌跡情報を取得し、作成した軌跡通りに車両が追従するSimulinkモデルを体験。車両ダイナミクスとしてSimspace Multibodyのモデルを使用するサンプル。
7981
- **handsOn08_controlComparison.mlx**: RoadRunner ScenarioReaderブロックより車速や軌跡情報を取得し、Stanley制御での軌跡追従とModel Predictive Controlでの軌跡追従を比較するサンプル。
8082
- **handsOn09_EV_FuelEfficiency.mlx**: RoadRunnerより参照軌跡と参照速度を取得し、パワートレインをシミュレーションするサンプル。EVの電費(ガソリン車の燃費相当)やトルクなどを可視化。
83+
- **handsOn10_simulationSpeedUp.mlx**: ready-to-runパッケージによりSimulinkをビルドし、シミュレーションを高速化するサンプル。
8184
- **suppelement/CP_estimation_fromTIR/sample_estCP.mlx**: TIRファイルよりマジックフォーミュラで表現されたタイヤ特性を可視化し、線形領域よりコーナリングパワー(CP)を算出するプログラム。(stanley制御の制御パラメータとしてフロントCPが必要。)
8285

8386
<!--- If you mention any trademarks, all MathWorks&reg; (including MATLAB&reg;) and 3rd party trademarks&trade; need to be correctly marked the first time they are prominently used in each file (including the README.MD). --->
@@ -129,6 +132,7 @@ MATLABとRoadRunnerのversionは揃える必要があるため、異なるversio
129132
- Control System Toolbox (handsOn08*実行時のみ必要)
130133
- Model Predictive Control Toolbox (handsOn08*実行時のみ必要)
131134
- Powertrain Blockset; (handsOn09*実行時のみ必要)
135+
- Simulink Coder; (handsOn10*実行時のみ必要)
132136
- MATLAB Support for MinGW-w64 C/C++/Fortran Compiler (Add-Onsエクスプローラより導入。Visual Studioなどその他対応コンパイラがない場合に必要。)
133137
<!---
134138
### MathWorks Products (https://www.mathworks.com)

0 commit comments

Comments
 (0)