当前位置:网站首页>CarSim simulation quick start (16) - ADAS sensor objects of CarSim sensor simulation (2)
CarSim simulation quick start (16) - ADAS sensor objects of CarSim sensor simulation (2)
2022-07-25 19:58:00 【Senior brother Xiaoming】
VS Command and calculation order VS Commands and the Sequence of Calculations
As mentioned earlier , The motion of moving objects can use built-in configurable functions SPEED_TARGET To get speed , And use LTARG To get the lateral position relative to the path . perhaps , Can use with VS Command to add import variables and / Or equations specify motion and position .
Calculation per time step Calculations made each time step
Every time step , The calculation sequence of the whole simulation test ( Related to moving objects ) as follows :
1. All state variables calculated from differential equations are known , Because they are calculated at the end of the last time step .
2. All imported variables are from Simulink Wait for external software to get .
3. Deal with all EQ_IN equation .
4. Handle all built-in equations , To obtain all built-in outputs and derivatives of the vehicle model and all moving objects . Again , all EQ_DYN The equations are treated .
5. Will handle all EQ_OUT Equations and EQ_DIFFERENTIAL equation .
6. Copy all the output activated for export for export .
7. Yes ODE Perform numerical integration to obtain the state variable of the next step .
Given this order , You should use EQ_IN Command to add any equation that directly affects the position variable , So that the new location takes effect before other calculations . On the other hand , You can combine the velocity equation with EQ_OUT or EQ_DIFFERENTIAL Add up , Because until the 6 Step before using speed . By waiting until the 5 Step , Can be used involving in the 4 The formula of the variable calculated in step .
Calculations performed during initialization Calculations made during initialization
start-up VS When the solver , Preparations for starting simulation ( Related to moving objects ) as follows :
<边栏推荐
- [wp]ctfshow-web getting started - Explosion
- An idea of solving div adapting to screen
- Legal mix of collations for operation 'Union' (bug record)
- Recommended system topic | Minet: cross domain CTR prediction
- [artifact] screenshot + mapping tool snipaste
- Add a subtitle of 3D effect to the container
- Js分页插件支持表格、列表、文本、图像
- C语言学习日记3——realloc函数
- IP地址的概念
- A good way to generate interface documents efficiently
猜你喜欢

Kcon 2022 highlights and agenda revealed!
![PMP adopts the latest exam outline, here is [agile project management]](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
PMP adopts the latest exam outline, here is [agile project management]

如何保证定制滑环质量
EZDML reverse engineering import database analysis practical operation tutorial

The query data returned by the print database is null or the default value. Does not match the value returned by the database

基于海思3559 高效率的 0延时 0拷贝 qt播放器方案

Introduction to web security ICMP testing and defense

Wechat applet 10 - wechat template

ML的编程技巧:

PMP每日一练 | 考试不迷路-7.25
随机推荐
Configure and install cocos2dx development environment under Tongxin UOS
推荐系统专题 | MiNet:跨域CTR预测
Distributed link logging minbox logging usage document
Binarysearch basic binary search
各厂商网络虚拟化的优势
Yyds dry inventory how to locate browser page crash
Dataloader reports an error "default_collate: batch must contain tensors, numpy arrays, numbers, dicts" when pytorch trains the model
Scala基础【集合01】
Split very long line of words into separate lines of max length
High number_ Chapter 3 learning experience and summary of multiple integral
PMP adopts the latest exam outline, here is [agile project management]
RepVGG网络中重参化网络结构解读【附代码】
导电滑环在机械设备方面的应用
Siemens PLM Teamcenter download, installation and use tutorial
手机端触摸图片slider轮播插件photoswipe.js
PyTorch 模型 onnx 文件的导出和调用
what is qml in qt
[wp]ctfshow-web getting started - Explosion
Software designer afternoon real topic: 2009-2022
Bash does not add single quotes to your string