NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
VehicleData.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
28 #ifndef DW_SENSORS_CANBUS_INTERPRETER_VEHICLEDATA_H_
29 #define DW_SENSORS_CANBUS_INTERPRETER_VEHICLEDATA_H_
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
48 typedef enum dwCANVehicleData {
49  DW_CAN_STEERING_ANGLE = 0x00000100,
54  DW_CAN_STEERING_RATE = 0x00000102,
55  DW_CAN_YAW_RATE = 0x00000103,
57  // speed
58  DW_CAN_CAR_SPEED = 0x00000200,
59  DW_CAN_WHEEL_SPEED_0 = 0x00000201,
60  DW_CAN_WHEEL_SPEED_1 = 0x00000202,
61  DW_CAN_WHEEL_SPEED_2 = 0x00000203,
62  DW_CAN_WHEEL_SPEED_3 = 0x00000204,
64  // acceleration
65  DW_CAN_LONG_ACCEL = 0x00000301,
66  DW_CAN_LAT_ACCEL = 0x00000302,
67  DW_CAN_Z_ACCEL = 0x00000303,
71  // undefined
72  DW_CAN_NOT_DEFINED = 0xFFFFFFFF
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 #endif // DW_SENSORS_CANBUS_INTERPRETER_VEHICLEDATA_H_
DW_CAN_STEERING_ANGLE
@ DW_CAN_STEERING_ANGLE
rad - steering angle of the car.
Definition: VehicleData.h:49
DW_CAN_Z_ACCEL
@ DW_CAN_Z_ACCEL
m/ss - acceleration along the z-axis (height)
Definition: VehicleData.h:67
DW_CAN_WHEEL_SPEED_1
@ DW_CAN_WHEEL_SPEED_1
m/s - speed of the wheel 1
Definition: VehicleData.h:60
DW_CAN_NOT_DEFINED
@ DW_CAN_NOT_DEFINED
undefined or unknown type
Definition: VehicleData.h:72
DW_CAN_STEERING_WHEEL_ANGLE
@ DW_CAN_STEERING_WHEEL_ANGLE
rad - angle of the steering wheel.
Definition: VehicleData.h:51
DW_CAN_STEERING_RATE
@ DW_CAN_STEERING_RATE
rad/s - rotation speed of the steering wheel
Definition: VehicleData.h:54
DW_CAN_Y_ACCEL
@ DW_CAN_Y_ACCEL
m/ss - acceleration along the y-axis
Definition: VehicleData.h:69
DW_CAN_CAR_SPEED
@ DW_CAN_CAR_SPEED
m/s - speed of the car
Definition: VehicleData.h:58
dwCANVehicleData
dwCANVehicleData
A set of enumeration constants representing the default data signals.
Definition: VehicleData.h:48
DW_CAN_WHEEL_SPEED_2
@ DW_CAN_WHEEL_SPEED_2
m/s - speed of the wheel 2
Definition: VehicleData.h:61
DW_CAN_X_ACCEL
@ DW_CAN_X_ACCEL
m/ss - acceleration along the x-axis
Definition: VehicleData.h:68
DW_CAN_WHEEL_SPEED_0
@ DW_CAN_WHEEL_SPEED_0
m/s - speed of the wheel 0
Definition: VehicleData.h:59
DW_CAN_WHEEL_SPEED_3
@ DW_CAN_WHEEL_SPEED_3
m/s - speed of the wheel 3
Definition: VehicleData.h:62
DW_CAN_LONG_ACCEL
@ DW_CAN_LONG_ACCEL
m/ss - acceleration along the car axis
Definition: VehicleData.h:65
DW_CAN_LAT_ACCEL
@ DW_CAN_LAT_ACCEL
m/ss - acceleration perpendicular to car axis
Definition: VehicleData.h:66
DW_CAN_YAW_RATE
@ DW_CAN_YAW_RATE
rad/s - rate of the yaw rotation of the car
Definition: VehicleData.h:55