vault backup: 2025-01-09 16:21:39

This commit is contained in:
yize 2025-01-09 16:21:39 +08:00
parent cc2c7afcc0
commit 7265fa54a7
4 changed files with 51 additions and 36 deletions

6
.gitignore vendored
View File

@ -16,3 +16,9 @@ bin-release/
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
# should NOT be excluded as they contain compiler settings and other important
# information for Eclipse / Flash Builder.
# Ignore Smart Environment folder
.smart-env

View File

@ -13,12 +13,12 @@
"state": {
"type": "markdown",
"state": {
"file": "多体求解器编写/多体+水动 platform+tower debug.md",
"file": "Ai/ollama 设置模型上下文大小.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "多体+水动 platform+tower debug"
"title": "ollama 设置模型上下文大小"
}
}
]
@ -136,9 +136,11 @@
"type": "leaf",
"state": {
"type": "outline",
"state": {},
"state": {
"file": "多体求解器编写/多体+水动 platform+tower debug.md"
},
"icon": "lucide-list",
"title": "大纲"
"title": "多体+水动 platform+tower debug 的大纲"
}
},
{
@ -156,7 +158,7 @@
}
],
"direction": "horizontal",
"width": 518.5
"width": 435.5
},
"left-ribbon": {
"hiddenItems": {
@ -167,9 +169,14 @@
"templates:插入模板": false,
"command-palette:打开命令面板": false,
"copilot:Open Copilot Chat": false,
"obsidian-git:Open Git source control": false
"obsidian-git:Open Git source control": false,
"smart-connections:Open: View Smart Connections": false,
"smart-connections:Open: Smart Chat Conversation": false
}
},
"active": "8080c9209794d082",
"lastOpenFiles": []
"active": "ac38bc1a293c35ce",
"lastOpenFiles": [
"Ai/deepSeek Api Key.md",
"多体求解器编写/多体+水动 platform+tower debug.md"
]
}

View File

@ -1 +1,20 @@
https://github.com/cline/cline/discussions/241
terminal
touch modelfile
打开modelfile
vim modelfile
粘贴 (类似)
```
FROM qwen2.5:14b
PARAMETER num_ctx 65536
```
wq
```
ollama create -f modelfile qwen2.5:14b:custom
```
ollama show qwen2.5:14b:custom

View File

@ -1,18 +1,11 @@
# 结果监视6个量
- TwrTpTDxi
- 塔架顶点/偏航轴前后(平移)偏转量(相对于未偏转位置),包括所有平台运动
# 结果监视2个量
- TwrTpTDzi
- Tower-top / yaw bearing axial (translational) deflection (relative to the undeflected position) including all platform motions
- YawBrTVxp
- Tower-top / yaw bearing fore-aft (translational) **velocity** (absolute)
- YawBrTVzp
- Tower-top / yaw bearing axial (translational) **velocity** (absolute)
- PtfmRDyi
- Platform pitch tilt angular (rotational) displacement. In ADAMS, it is output as an Euler angle computed as the 2nd rotation in the yaw-pitch-roll rotation sequence. It is not output as an Euler angle in FAST, which assumes small rotational platform displacements, so that the rotation sequence does not matter.
- 平台俯仰倾斜角位移(旋转)。在 ADAMS 中,它作为欧拉角输出,计算为 yaw-pitch-roll 旋转序列中的第二个旋转。在 FAST 中,它不以欧拉角输出,因为 FAST 假设平台的旋转位移很小,因此旋转顺序无关紧要。
- PtfmRVyt
- Platform pitch tilt angular (rotational) velocity
## TwrTpTDzi
@ -23,37 +16,27 @@ m%AllOuts(TwrTpTDzi) = m%RtHS%rO(2) - y%TowerLn2Mesh%Position(3,J) + p%PtfmR
rO !< Position vector from inertial frame origin to tower-top / base plate (point O) [m]
## YawBrTVxp YawBrTVzp 前后 Yaw平动速度
# YawBrTVzp Yaw平动速度
```
m%AllOuts(YawBrTVxp) = DOT_PRODUCT( m%RtHS%LinVelEO, m%CoordSys%b1 )
m%AllOuts(YawBrTVzp) = DOT_PRODUCT( m%RtHS%LinVelEO, m%CoordSys%b2 )
```
LinVelEO !< Linear velocity of the base plate (point O) in the inertia frame (body E for earth) [-]
b1 !< Vector / direction b1 (= xp from the IEC coord. system) [-]
b2 !< Vector / direction b2 (= zp from the IEC coord. system) [-]
### LinVelEO 差距较大
### LinVelEO 少许差距
```
rt_hs.lin_vel_eo = lin_vel_x_o.clone() + rt_hs.lin_vel_ez.clone();
for i in 0..NPX{
rt_hs.lin_vel_eo = rt_hs.lin_vel_eo.clone() + x.qdt[PX[i] as usize - 1] * rt_hs.plin_vel_eo.slice(s![PX[i] - 1, 0, ..]).to_owned();
}
```
LinVelXO (3) ! "Relative linear velocity of the tower-top / base plate (point O) in the platform (body X)"
LinVelEZ !< Linear velocity of platform reference (point Z) in the inertia frame [-]
#### lin_vel_x_o有差距
LinVelEO !< Linear velocity of the base plate (point O) in the inertia frame (body E for earth) [-]
解得QDT少量差距导致LinVelEO差距
#### rt_hs.lin_vel_ez有差距
### b1[3]少许差距
# pitch 角度 角速度
```
m%AllOuts( PtfmRDyi) = x%QT (DOF_P )*R2D
m%AllOuts( PtfmRVyt) = -DOT_PRODUCT( m%RtHS%AngVelEX, m%CoordSys%a3 )*R2D
```
AngVelEX !< Angular velocity of the platform (body X) in the inertia frame (body E for earth) [-]
a3 !< Vector / direction a3 (= -yt from the IEC coord. system) [-]