From fff7193941f4911e46833121031a96edd9c76552 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Mon, 29 Jan 2024 13:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E5=8A=9B=E5=AD=A6=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs.go | 26 +++++++++++++++++++++----- docs/swagger.json | 26 +++++++++++++++++++++----- docs/swagger.yaml | 22 +++++++++++++++++----- 3 files changed, 59 insertions(+), 15 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 5761b80..58fcd0a 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -5222,8 +5222,16 @@ const docTemplate = `{ "description": "基本阻力参数C", "type": "number" }, - "idling": { - "description": "空转", + "idlingA": { + "description": "空转加速度(m/s) 默认0", + "type": "number" + }, + "idlingD": { + "description": "空转持续时间s 默认0", + "type": "integer" + }, + "idlingR": { + "description": "空转冲击率(m/s) 默认0", "type": "number" }, "jump": { @@ -5235,11 +5243,19 @@ const docTemplate = `{ "type": "number" }, "slide": { - "description": "前溜/后溜(mm)(正数前溜,负数后溜)", + "description": "前溜/后溜(m/s)(正数前溜,负数后溜),默认值:0", + "type": "number" + }, + "slipA": { + "description": "打滑加速度(m/s) 默认0", + "type": "number" + }, + "slipD": { + "description": "打滑持续时间ms 默认0", "type": "integer" }, - "slip": { - "description": "打滑(%)", + "slipR": { + "description": "打滑冲击率(m/s) 默认0", "type": "number" }, "stopSign": { diff --git a/docs/swagger.json b/docs/swagger.json index 323209d..ed32c75 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -5216,8 +5216,16 @@ "description": "基本阻力参数C", "type": "number" }, - "idling": { - "description": "空转", + "idlingA": { + "description": "空转加速度(m/s) 默认0", + "type": "number" + }, + "idlingD": { + "description": "空转持续时间s 默认0", + "type": "integer" + }, + "idlingR": { + "description": "空转冲击率(m/s) 默认0", "type": "number" }, "jump": { @@ -5229,11 +5237,19 @@ "type": "number" }, "slide": { - "description": "前溜/后溜(mm)(正数前溜,负数后溜)", + "description": "前溜/后溜(m/s)(正数前溜,负数后溜),默认值:0", + "type": "number" + }, + "slipA": { + "description": "打滑加速度(m/s) 默认0", + "type": "number" + }, + "slipD": { + "description": "打滑持续时间ms 默认0", "type": "integer" }, - "slip": { - "description": "打滑(%)", + "slipR": { + "description": "打滑冲击率(m/s) 默认0", "type": "number" }, "stopSign": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 7253eca..107fe7c 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -222,8 +222,14 @@ definitions: davisParamC: description: 基本阻力参数C type: number - idling: - description: 空转 + idlingA: + description: 空转加速度(m/s) 默认0 + type: number + idlingD: + description: 空转持续时间s 默认0 + type: integer + idlingR: + description: 空转冲击率(m/s) 默认0 type: number jump: description: 是否跳跃 @@ -232,10 +238,16 @@ definitions: description: 旋转质量参数 type: number slide: - description: 前溜/后溜(mm)(正数前溜,负数后溜) + description: 前溜/后溜(m/s)(正数前溜,负数后溜),默认值:0 + type: number + slipA: + description: 打滑加速度(m/s) 默认0 + type: number + slipD: + description: 打滑持续时间ms 默认0 type: integer - slip: - description: 打滑(%) + slipR: + description: 打滑冲击率(m/s) 默认0 type: number stopSign: description: 过标/欠标(mm)(正数过标,负数欠标)