检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
代码样例(Code Examples) 路网设置(Road Network) 参数声明(Parameter Declarations) 实体设置(Entities) 场景剧本(StoryBoard) 触发器与触发条件(Trigger and condition) 动作(Actions
entity no specified by the lane-parameter behind entity no When behind is specified, the actor must be behind the entity by the specified value 代码样例
URI GET https://{hostURL}/v2/{project_id}/sim/pm/simulations?
代码样例见初始动作(acquire_position_init)。 父主题: 代码样例(Code Examples)
URI GET https://{hostURL}/v2/{project_id}/sim/pm/simulations/{id}/files 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。
URI POST https://{hostURL}/v2/{project_id}/sim/pm/batches 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。
x-amz-signature String Post预签链接x-amz-signature字段,在创建请求时需要添加到请求头。
x-amz-signature String Post预签链接x-amz-signature字段,在创建请求时需要添加到请求头。
x-amz-signature String Post预签链接x-amz-signature字段,在创建请求时需要添加到请求头。
parallel: # Story serial: # action1 wait Ego.acceleration > 1.0mpss Ego.activate_controller(true, true) 父主题: 代码样例
样例 Dude: person with: keep(it.name == "Christian") keep(it.model == "male_adult") 父主题: 代码样例(Code Examples)
其中: parallel:同步执行下方代码块内的动作action。 serial:依次执行下方代码块内的动作act。
AccessKeyId=xxxxExpires=1701399201&Signature=xxxxxxxx" } } 状态码 状态码 描述 200 查询成功 400 请求参数错误 403 权限校验失败 404 找不到请求的资源 500 系统内部错误 错误码 请参见错误码。
radius_of_curvature length yes 匝道的曲率半径。 ramp_length length yes 匝道的长度。
x-amz-signature String Post预签链接x-amz-signature字段,在创建请求时需要添加到请求头。
x-amz-signature String Post预签链接x-amz-signature字段,在创建请求时需要添加到请求头。
m_position_3d: position_3d = map.create_xyz_point(x: m_x, y: 10.0m ,z: 0.0m) m_pose_3d: pose_3d with: keep(it.odr_point == m_odr) 父主题: 代码样例
/road.odr") 父主题: 代码样例(Code Examples)
URI GET https://{hostURL}/v2/{project_id}/sim/sm/scenarios 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。
yes 左侧车道数量 right_lane_num int yes 右侧车道数量 ramp_lane_num int yes 匝道车道数量 main_speed speed yes 主路的限速值 ramp_speed speed yes 匝道的限速值 radius_of_curvature