新增四类连杆统一仿真接口
This commit is contained in:
16
tests/testdata/fourbar/simulate_prrr.json
vendored
Normal file
16
tests/testdata/fourbar/simulate_prrr.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"msg": "fourbar unified simulate PRRR",
|
||||
"req_code": "CASE_FB_UNIFIED_PRRR",
|
||||
"req_from": "wasm_test",
|
||||
"req_cmd": "Cmd_FourBar_Simulate",
|
||||
"req_param": {
|
||||
"mechanismType": "PRRR",
|
||||
"L_AB": 0.5,
|
||||
"L_BS": 2.0,
|
||||
"S_OFS": 0.0,
|
||||
"startSliderX": 1.5,
|
||||
"endSliderX": 2.5,
|
||||
"duration": 1.0,
|
||||
"stepTime": 0.25
|
||||
}
|
||||
}
|
||||
16
tests/testdata/fourbar/simulate_rprr.json
vendored
Normal file
16
tests/testdata/fourbar/simulate_rprr.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"msg": "fourbar unified simulate RPRR",
|
||||
"req_code": "CASE_FB_UNIFIED_RPRR",
|
||||
"req_from": "wasm_test",
|
||||
"req_cmd": "Cmd_FourBar_Simulate",
|
||||
"req_param": {
|
||||
"mechanismType": "RPRR",
|
||||
"OA": 1.0,
|
||||
"AB": 3.0,
|
||||
"OC": 3.0,
|
||||
"startAngleDeg": 0.0,
|
||||
"endAngleDeg": 180.0,
|
||||
"duration": 1.0,
|
||||
"stepTime": 0.25
|
||||
}
|
||||
}
|
||||
16
tests/testdata/fourbar/simulate_rrrp.json
vendored
Normal file
16
tests/testdata/fourbar/simulate_rrrp.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"msg": "fourbar unified simulate RRRP",
|
||||
"req_code": "CASE_FB_UNIFIED_RRRP",
|
||||
"req_from": "wasm_test",
|
||||
"req_cmd": "Cmd_FourBar_Simulate",
|
||||
"req_param": {
|
||||
"mechanismType": "RRRP",
|
||||
"L_AB": 0.5,
|
||||
"L_BS": 2.0,
|
||||
"S_OFS": 0.0,
|
||||
"startAngleDeg": 0.0,
|
||||
"endAngleDeg": 180.0,
|
||||
"duration": 1.0,
|
||||
"stepTime": 0.25
|
||||
}
|
||||
}
|
||||
17
tests/testdata/fourbar/simulate_rrrr.json
vendored
Normal file
17
tests/testdata/fourbar/simulate_rrrr.json
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"msg": "fourbar unified simulate RRRR",
|
||||
"req_code": "CASE_FB_UNIFIED_RRRR",
|
||||
"req_from": "wasm_test",
|
||||
"req_cmd": "Cmd_FourBar_Simulate",
|
||||
"req_param": {
|
||||
"mechanismType": "RRRR",
|
||||
"L1": 1.0,
|
||||
"L2": 3.0,
|
||||
"L3": 2.5,
|
||||
"L4": 3.5,
|
||||
"startAngleDeg": 0.0,
|
||||
"endAngleDeg": 180.0,
|
||||
"duration": 1.0,
|
||||
"stepTime": 0.25
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user