CARLA
 
载入中...
搜索中...
未找到
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Vehicle/VehicleAckermannControl.h
浏览该文件的文档.
1// Copyright (c) 2021 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include "VehicleAckermannControl.generated.h"
10
11// FVehicleAckermannControl结构体用于表示车辆阿克曼转向控制相关的参数。
12// 它可以在虚幻引擎(Unreal Engine)的蓝图系统中使用(通过BlueprintType标记)。
13USTRUCT(BlueprintType)
15{
16 GENERATED_BODY()
17
18 // 车辆的转向角度,单位通常为弧度(具体取决于使用场景和相关设定),默认值为0.0f,表示车辆处于直线行驶状态。
19 UPROPERTY(Category = "Vehicle Ackermann Control", EditAnywhere, BlueprintReadWrite)
20 float Steer = 0.0f;
21
22 // 转向速度,用于描述车辆转向角度变化的快慢程度,单位可能与时间相关(例如每秒变化的弧度数等),默认值为0.0f。
23 UPROPERTY(Category = "Vehicle Ackermann Control", EditAnywhere, BlueprintReadWrite)
24 float SteerSpeed = 0.0f;
25
26 // 车辆的当前行驶速度,单位可能是米每秒等常见速度单位,默认值为0.0f,表示车辆静止。
27 UPROPERTY(Category = "Vehicle Ackermann Control", EditAnywhere, BlueprintReadWrite)
28 float Speed = 0.0f;
29
30 // 车辆的加速度,描述速度变化的快慢,单位通常与速度单位和时间单位相关(例如米每二次方秒),默认值为0.0f。
31 UPROPERTY(Category = "Vehicle Ackermann Control", EditAnywhere, BlueprintReadWrite)
32 float Acceleration = 0.0f;
33
34 // 加加速度(急动度),用于衡量加速度变化的快慢,单位通常与加速度单位和时间单位相关(例如米每三次方秒),默认值为0.0f。
35 UPROPERTY(Category = "Vehicle Ackermann Control", EditAnywhere, BlueprintReadWrite)
36 float Jerk = 0.0f;
37};
FVehicleControl Control
Definition ActorData.h:119