- OASIS SIM(废弃)
- sensors
- dynamics
- cars
- car_models
- jobs
- tasks
- scenarios
- scenario_groups
- scenario_elements
- maps
- test_cases
- scores
- traffic_flows
- controllers
- weathers
- lights
- logs(废弃)
- emails
- users
- evaluates
- file_operator
- trashes(已废弃)
- configs
- licenses
- 查询tokenGET
获取特定车辆
GET
/cars/{car_id}
请求参数
Path 参数
car_id
integer
必需
示例值:
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