OASIS SIM
  1. cars
OASIS SIM
  • OASIS SIM(废弃)
    • sensors
      • 获取传感器列表
      • 获取指定ID传感器
      • 创建传感器接口
      • 更新传感器
      • 删除传感器
      • 更新传感器数据
    • dynamics
      • 动力学模型查询
      • 查询指定ID动力学模型
      • 创建动力学模型
      • 更新动力学模型
      • 删除指定ID动力学模型
    • cars
      • 创建车辆
        POST
      • 更新车辆
        PUT
      • 删除特定车辆
        DELETE
      • 获取特定车辆
        GET
      • 获取所有车辆
        GET
    • car_models
      • 获取车身模型信息
      • 获取车身模型文件信息
      • 导入车辆模型
    • jobs
      • 控制面板查询接口
      • 获取作业下的任务详情
      • 获取作业列表
      • 获取作业测试报告
      • 创建作业
      • 运行作业
      • 创建并运行新的作业
      • 终止作业
      • 重测接口
      • 更新作业信息
      • 更新作业状态信息
      • 批量删除作业
      • 批量删除作业和任务
      • 获取测试用例最新运行结果记录
    • tasks
      • 看板作业状态统计
      • 获取任务场景信息
      • 获取任务详情
      • 获取指定任务ID对应的任务详情
      • 获取任务场景信息
      • 获取任务列表
      • 获取任务详情图表信息
      • 获取任务的传感器数据
      • 终止任务
      • 操作任务状态
      • 删除指定ID任务
    • scenarios
      • 创建场景
      • 创建场景草稿
      • 删除场景
      • 更新场景
      • 更新场景草稿
      • 查找所有场景
      • 查找指定ID场景
      • 查找指定ID场景
      • 查找指定ID场景(单个场景)
      • 查找指定ID场景(多个场景)
      • 获取场景组树
      • 展示场景组
      • 搜索场景组
      • 移动场景组
      • 场景格式转换
      • 根据场景id查询路径
      • 下载场景
      • 上传场景
      • 场景泛化
      • 场景树形列表
    • scenario_groups
      • 新建场景库文件夹
      • 重命名场景组文件夹
      • 更新场景
      • 添加场景组文件夹标签
      • 删除场景组
    • scenario_elements
      • 获取所有场景元素
      • 获取场景元素相关文件信息
      • 新增静态障碍物
    • maps
      • 获取所有地图信息
      • 获取缩略图信息
      • 检查地图信息
      • 创建地图
      • 删除地图
      • 更新草稿地图
      • 地图资产导入
      • 获取地图信息
      • 上传地图
    • test_cases
      • 新建测试用例
      • 获取测试用例详情
      • 获取测试用例列表
      • 测试用例添加场景
      • 更新测试用例基础信息
      • 更新测试用例被测单元
      • 更新测试用例评测模板
      • 更新测试用例得分
      • 获取测试用例主车信息
      • 删除测试用例
      • 批量运行测试用例
      • 更新指定ID测试用例的数据得分
      • 更新测试用例场景权重
      • 更新测试用例场景分数
      • 更新测试用例的分数
    • scores
      • 获取指定ID得分
      • 获取所有得分
      • 更新指定ID得分信息
      • 获取指定ID得分的所有计分单元
      • 获取指定ID得分的指定ID的计分单元
      • 新建指定ID得分的计分单元
      • 更新指定ID得分的指定ID的计分单元
      • 批量更新指定ID得分的指定ID的计分单元的权重
      • 删除指定ID得分的指定ID的计分单元
      • 获取指定ID得分的指定ID的计分单元的所有数据
      • 获取指定ID得分的指定ID的计分单元的指定ID的数据
      • 新建指定ID得分的指定ID的计分单元的数据
      • 更新指定ID得分的指定ID的计分单元的指定ID的数据
      • 删除指定ID得分的指定ID的计分单元的指定ID的数据
    • traffic_flows
      • 交通流蓝图(已废弃)
    • controllers
      • 创建车辆控制系统
      • 修改车辆控制系统
      • 删除车辆控制系统
      • 获取指定ID车辆控制系统
      • 获取所有车辆控制系统
      • 创建算法控制系统
      • 修改算法管理系统
      • 删除算法管理系统
      • 获取指定ID算法管理系统
      • 获取算法管理系统
    • weathers
      • 查找所有天气
      • 查找指定id天气
      • 创建天气
      • 更新天气
      • 删除天气
    • lights
      • 创建光照信息
      • 更新光照信息
      • 删除光照
      • 查找所有光照信息
      • 查找指定id光照信息
    • logs(废弃)
      • 获取操作日志
      • 下载操作日志
      • 获取运行日志
    • emails
      • 发送登出邮件
      • 发送登录邮件
    • users
      • 添加用户(废弃)
      • 获取用户列表
      • 删除用户(废弃)
      • 获取用户
      • 角色修改(废弃)
      • 获取用户信息
    • evaluates
      • 创建自定义评价规则
      • 删除自定义评价规则
      • 更新自定义评价标准
      • 查找指定的评价规则
      • 查找所有评价规则
      • 创建评价模板
      • 删除评价模板
      • 更新评价模板
      • 查找所有评价模板
      • 查找指定的评价模板
    • file_operator
      • 上传点序文件
      • 查询所有点序文件
      • 更新点序文件
      • 删除点序文件
    • trashes(已废弃)
      • 查看回收站 Copy
      • 彻底删除资源 Copy
      • 清空回收站 Copy
      • 资源恢复 Copy
    • configs
      • 获取运行配置信息
      • 更新运行设置
    • licenses
      • 获取机器码
      • 下载生成机器码工具
      • 创建license
      • 校验license
    • 查询token
      GET
  1. cars

获取特定车辆

GET
/cars/{car_id}
创建测试车辆

请求参数

Path 参数
car_id
integer 
必需
车辆ID;路径参数;必填
示例值:
1660
Query 参数
overview
string 
可选
如果查询概览信息才需传此参数
示例值:
overview
Header 参数
Authorization
string 
可选
示例值:
bearer {{token}}
Content-Type
string 
可选
示例值:
application/json
User-Agent
string 
可选
示例值:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/cars/1660?overview=overview' \
--header 'Authorization: bearer {{token}}' \
--header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' \
--header 'Content-Type: application/json'

返回响应

🟢200成功
application/json
Body
code
integer 
响应状态码
必需
result
object 
响应结果
必需
message
string 
提示信息
必需
示例
{
    "code": 200,
    "result": {
        "car": {
            "user_id": 1,
            "system_data": false,
            "name": "car_2sensor_cop_copy_copy",
            "render_mode": "render",
            "desc": "",
            "light_state": "NONE",
            "invalid": 0,
            "vehicle_color": "53, 57, 147",
            "desc_en": "",
            "type": "vehicle.synkrotron.democar",
            "name_en": "car_2sensor_cop_copy_copy",
            "created_at": "2024-08-16 10:58:49",
            "dynamics_id": 1,
            "company_id": 1,
            "modified_at": "2024-08-16 11:28:41",
            "id": 1660,
            "size": "4.89275*2.14905*1.29327"
        },
        "sensor_list": [
            {
                "user_id": 1,
                "system_data": true,
                "name": "Fisheye Camera H195 200W",
                "desc": "水平视场角为195度,像素为200W的鱼眼相机",
                "param": {
                    "cx": 640,
                    "cy": 480,
                    "fx": 317.128,
                    "fy": 317.337,
                    "k1": 0.109493,
                    "k2": -0.00104743,
                    "k3": -0.00628379,
                    "k4": 0.000575347,
                    "k5": 0,
                    "k6": 0,
                    "FPS": 30,
                    "fov": 195.6,
                    "temp": 6500,
                    "slope": 0.88,
                    "auto_calc": false,
                    "blur_radius": 0,
                    "image_size_x": 1280,
                    "image_size_y": 960,
                    "specific_model": "Kannala_Brandt_Model",
                    "bloom_intensity": 0.675,
                    "noise_coefficient": 0,
                    "lens_flare_intensity": 0.1,
                    "exposure_compensation": 0,
                    "motion_blur_intensity": 0.45,
                    "lens_fouling_coefficient": 0,
                    "enable_postprocess_effects": true,
                    "chromatic_aberration_intensity": 0
                },
                "invalid": 0,
                "desc_en": "A fisheye camera with a horizontal field Angle of 195 degrees and 200W pixels",
                "type": "sensor.camera.fisheye",
                "group_type": "cam",
                "name_en": "Fisheye Camera H195 200W",
                "created_at": "2023-01-12 18:09:36",
                "company_id": 1,
                "modified_at": "2024-08-04 11:28:41",
                "id": 2,
                "position": {
                    "x": 1.6,
                    "y": 0,
                    "z": 1,
                    "roll": 0,
                    "pitch": 0,
                    "yaw": 0
                }
            },
            {
                "user_id": 1,
                "system_data": true,
                "name": "Fisheye Camera H195 200W",
                "desc": "水平视场角为195度,像素为200W的鱼眼相机",
                "param": {
                    "cx": 640,
                    "cy": 480,
                    "fx": 317.128,
                    "fy": 317.337,
                    "k1": 0.109493,
                    "k2": -0.00104743,
                    "k3": -0.00628379,
                    "k4": 0.000575347,
                    "k5": 0,
                    "k6": 0,
                    "FPS": 30,
                    "fov": 195.6,
                    "temp": 6500,
                    "slope": 0.88,
                    "auto_calc": false,
                    "blur_radius": 0,
                    "image_size_x": 1280,
                    "image_size_y": 960,
                    "specific_model": "Kannala_Brandt_Model",
                    "bloom_intensity": 0.675,
                    "noise_coefficient": 0,
                    "lens_flare_intensity": 0.1,
                    "exposure_compensation": 0,
                    "motion_blur_intensity": 0.45,
                    "lens_fouling_coefficient": 0,
                    "enable_postprocess_effects": true,
                    "chromatic_aberration_intensity": 0
                },
                "invalid": 0,
                "desc_en": "A fisheye camera with a horizontal field Angle of 195 degrees and 200W pixels",
                "type": "sensor.camera.fisheye",
                "group_type": "cam",
                "name_en": "Fisheye Camera H195 200W",
                "created_at": "2023-01-12 18:09:36",
                "company_id": 1,
                "modified_at": "2024-08-04 11:28:41",
                "id": 2,
                "position": {
                    "x": -2.2,
                    "y": 0,
                    "z": 1,
                    "roll": 0,
                    "pitch": 0,
                    "yaw": 180
                }
            },
            {
                "user_id": 1,
                "system_data": true,
                "name": "RGB Camera H90 200W",
                "desc": "水平视场角为90度,像素为200W的RGB相机",
                "param": {
                    "cx": 960,
                    "cy": 540,
                    "fx": 960,
                    "fy": 960,
                    "k1": 0,
                    "k2": 0,
                    "k3": 0,
                    "p1": 0,
                    "p2": 0,
                    "FPS": 30,
                    "fov": 90,
                    "temp": 6500,
                    "slope": 0.88,
                    "auto_calc": false,
                    "blur_radius": 0,
                    "image_size_x": 1920,
                    "image_size_y": 1080,
                    "focal_distance": 200,
                    "specific_model": "RadTan_Model",
                    "bloom_intensity": 0.675,
                    "noise_coefficient": 0,
                    "lens_flare_intensity": 0.1,
                    "exposure_compensation": 0,
                    "motion_blur_intensity": 0.45,
                    "lens_fouling_coefficient": 0,
                    "enable_postprocess_effects": true,
                    "chromatic_aberration_intensity": 0
                },
                "invalid": 0,
                "desc_en": "An RGB camera with a horizontal field Angle of 90 degrees and 200W pixels",
                "type": "sensor.camera.rgb",
                "group_type": "cam",
                "name_en": "RGB Camera H90 200W",
                "created_at": "2023-01-12 18:09:36",
                "company_id": 1,
                "modified_at": "2024-08-06 11:28:41",
                "id": 3,
                "position": {
                    "x": 0,
                    "y": 0,
                    "z": 1.5,
                    "roll": 0,
                    "pitch": 0,
                    "yaw": 0
                }
            }
        ],
        "dynamic": {
            "user_id": 0,
            "bearing_num": 2,
            "system_data": true,
            "name": "OasisCar",
            "desc": "内置主车动力学模型",
            "sim_file": null,
            "param": {
                "moi": 1,
                "mass": 1845,
                "wheels": [
                    {
                        "mass": "20.0",
                        "width": "24.0",
                        "radius": "37.0",
                        "sweep_type": "SimpleAndComplex",
                        "damping_rate": "0.25",
                        "tire_friction": "1.0",
                        "lat_stiff_value": "17.0",
                        "max_steer_angle": "69.999992",
                        "long_stiff_value": "1000.0",
                        "max_brake_torque": "700.0",
                        "lat_stiff_max_load": "2.0",
                        "static_camber_angle": "0",
                        "suspension_max_drop": "8",
                        "max_handbrake_torque": "0.0",
                        "suspension_max_raise": "8",
                        "suspension_force_offset": "0",
                        "max_stretch_camber_angle": "0",
                        "suspension_damping_ratio": "1",
                        "max_compression_camber_angle": "0",
                        "suspension_natural_frequency": "9"
                    },
                    {
                        "mass": "20.0",
                        "width": "24.0",
                        "radius": "37.0",
                        "sweep_type": "SimpleAndComplex",
                        "damping_rate": "0.25",
                        "tire_friction": "1.0",
                        "lat_stiff_value": "17.0",
                        "max_steer_angle": "69.999992",
                        "long_stiff_value": "1000.0",
                        "max_brake_torque": "700.0",
                        "lat_stiff_max_load": "2.0",
                        "static_camber_angle": "0",
                        "suspension_max_drop": "8",
                        "max_handbrake_torque": "0.0",
                        "suspension_max_raise": "8",
                        "suspension_force_offset": "0",
                        "max_stretch_camber_angle": "0",
                        "suspension_damping_ratio": "1",
                        "max_compression_camber_angle": "0",
                        "suspension_natural_frequency": "9"
                    },
                    {
                        "mass": "20.0",
                        "width": "24.0",
                        "radius": "37.0",
                        "sweep_type": "SimpleAndComplex",
                        "damping_rate": "0.25",
                        "tire_friction": "1.0",
                        "lat_stiff_value": "17.00",
                        "max_steer_angle": "0.0",
                        "long_stiff_value": "1000.00",
                        "max_brake_torque": "700.0",
                        "lat_stiff_max_load": "2.0",
                        "static_camber_angle": "0",
                        "suspension_max_drop": "8",
                        "max_handbrake_torque": "1400.0",
                        "suspension_max_raise": "8",
                        "suspension_force_offset": "0",
                        "max_stretch_camber_angle": "0",
                        "suspension_damping_ratio": "1",
                        "max_compression_camber_angle": "0",
                        "suspension_natural_frequency": "9"
                    },
                    {
                        "mass": "20.0",
                        "width": "24.0",
                        "radius": "37.0",
                        "sweep_type": "SimpleAndComplex",
                        "damping_rate": "0.25",
                        "tire_friction": "1.0",
                        "lat_stiff_value": "17.0",
                        "max_steer_angle": "0.0",
                        "long_stiff_value": "1000.0",
                        "max_brake_torque": "700.0",
                        "lat_stiff_max_load": "2.0",
                        "static_camber_angle": "0",
                        "suspension_max_drop": "8",
                        "max_handbrake_torque": "1400.0",
                        "suspension_max_raise": "8",
                        "suspension_force_offset": "0",
                        "max_stretch_camber_angle": "0",
                        "suspension_damping_ratio": "1",
                        "max_compression_camber_angle": "0",
                        "suspension_natural_frequency": "9"
                    }
                ],
                "max_rpm": 15000,
                "dynamics_id": 1,
                "final_ratio": 9,
                "torque_curve": [
                    {
                        "x": "100",
                        "y": "370"
                    },
                    {
                        "x": "300",
                        "y": "372"
                    },
                    {
                        "x": "500",
                        "y": "374"
                    },
                    {
                        "x": "700",
                        "y": "376"
                    },
                    {
                        "x": "900",
                        "y": "380"
                    },
                    {
                        "x": "1100",
                        "y": "384"
                    },
                    {
                        "x": "1300",
                        "y": "385"
                    },
                    {
                        "x": "1500",
                        "y": "386"
                    },
                    {
                        "x": "1700",
                        "y": "386"
                    },
                    {
                        "x": "1900",
                        "y": "386"
                    },
                    {
                        "x": "2100",
                        "y": "386"
                    },
                    {
                        "x": "2300",
                        "y": "387"
                    },
                    {
                        "x": "2500",
                        "y": "389"
                    },
                    {
                        "x": "2700",
                        "y": "390"
                    },
                    {
                        "x": "2900",
                        "y": "390"
                    },
                    {
                        "x": "3100",
                        "y": "390"
                    },
                    {
                        "x": "3300",
                        "y": "390"
                    },
                    {
                        "x": "3500",
                        "y": "388"
                    },
                    {
                        "x": "3700",
                        "y": "387"
                    },
                    {
                        "x": "3900",
                        "y": "386"
                    },
                    {
                        "x": "4100",
                        "y": "385"
                    },
                    {
                        "x": "4300",
                        "y": "380"
                    },
                    {
                        "x": "4500",
                        "y": "375"
                    },
                    {
                        "x": "4700",
                        "y": "370"
                    },
                    {
                        "x": "4900",
                        "y": "365"
                    },
                    {
                        "x": "5100",
                        "y": "360"
                    }
                ],
                "dynamics_name": "test",
                "forward_gears": [
                    {
                        "ratio": 1,
                        "up_ratio": 0,
                        "down_ratio": 0
                    }
                ],
                "center_of_mass": {
                    "x": 0.45,
                    "y": 0,
                    "z": -0.3
                },
                "steering_curve": [
                    {
                        "x": "0.0",
                        "y": "1.0"
                    },
                    {
                        "x": "20.0",
                        "y": "0.90"
                    },
                    {
                        "x": "60.0",
                        "y": "0.80"
                    },
                    {
                        "x": "120.0",
                        "y": "0.70"
                    }
                ],
                "clutch_strength": 10,
                "drag_coefficient": 0.15,
                "gear_switch_time": 0,
                "use_gear_autobox": true,
                "reverse_gear_ratio": -4,
                "neutral_gear_up_ratio": 0.1,
                "use_sweep_wheel_collision": false,
                "damping_rate_full_throttle": 0.15,
                "damping_rate_zero_throttle_clutch_engaged": 2,
                "damping_rate_zero_throttle_clutch_disengaged": 0.35
            },
            "invalid": 0,
            "desc_en": "Oasis Car Dynamic Model",
            "type": "physX",
            "name_en": "OasisCar",
            "created_at": "2023-05-18 14:46:46",
            "company_id": 1,
            "modified_at": "2024-08-15 15:01:39",
            "id": 1
        }
    },
    "message": ""
}
🟢200OK
修改于 2024-08-22 09:27:57
上一页
删除特定车辆
下一页
获取所有车辆
Built with