DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/doc/tutorials/conventions/dwx_coordinate_systems.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_coordinate_systems Coordinate Systems
4 @tableofcontents
5 
6 @note SW Release Applicability: This tutorial is applicable to modules in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
7 
8 The DriveWorks SDK defines multiple coordinate systems, given by `::dwCoordSystem`.
9 The following sections describe the conventions for each coordinate system.
10 
11 @section coord_sensor Sensor Coordinate System
12 
13 Sensor Coordinate System refers to the local coordinate system each sensor uses.
14 The conventions used in the SDK vary from sensor to sensor and are described below.
15 
16 ### Image and Camera Coordinate Systems
17 
18 The Image Coordinate System describes the position of points in the image space, and the Camera Coordinate System describes the corresponding point in 3D space.
19 The intrinsics of the camera are used to transform a point between the two coordinate systems.
20 
21 The Image Coordinate System originates at the top-left of the image. The u- and v-axes, in pixel units, are aligned with the way pixels are stored in memory.
22 
23 The Camera Coordinate System has its origin at the optical center of the camera. The x-axis points to the right of the image plane and the y-axis points to the bottom of the image plane. The z-axis points forward, along the optical axis. The x- and y-axes point in the same direction as the image u- and v-axes, respectively. The camera coordinate axes are in metric units.
24 
25 ![Image and Camera Coordinate Systems](image_and_camera_coordinate_system.png)
26 
27 ### Radar Coordinate System
28 
29 The Radar Coordinate System is centered at the radar's geometric center and the system axis follow the AUTOSAR and ISO-8855 standard.
30 The x-axis points forward, to the front of the car. The y-axis points to the left of the car and the z-axis points up.
31 
32 ### LIDAR Coordinate System
33 
34 The LIDAR manufacturer defines the LIDAR Coordinate System.
35 
36 ### IMU Coordinate System
37 
38 In the IMU Coordinate System, the x-axis points forward, to the front of the car.
39 The y-axis points to the left of the car, and the z-axis points up.
40 The origin is located inside the case of the sensor at the accelerometer.
41 
42 ![IMU Coordinate System](imu_coordinate_system.png)
43 
44 ### GPS Coordinate System
45 
46 Please refer to @ref coord_world.
47 
48 @section coord_rig Rig Coordinate System
49 
50 The Rig Coordinate System serves two purposes:
51 - It is the base coordinate systems all sensor extrinsics are related to.
52 - It provides a coordinate system to describe the environment relative to the ego-vehicle.
53 
54 The origin of this coordinate system is the projection of the center of the rear axle onto the nominal ground.
55 X direction points to the motion direction of the vehicle, Y axis points to the left side of the vehicle and Z axis points up to the sky.
56 
57 The Rig Coordinate System is the one that dwRig relies on to describe all sensor positions.
58 
59 ![Car Coordinate System](car_coordinate_system.png)
60 
61 @section coord_local Local Coordinate System
62 
63 The Local Coordinate System represents an arbitrary Cartesian coordinate system that describes the space and environment around our vehicle.
64 One can assume this is a square centered in the ego vehicle and it is not a permanently fixed coordinate system in respect to the world.
65 Often at a given instant of time, this coordinate system aligns with the Rig Coordinate System in origin and axis.
66 
67 @section coord_world World Coordinate System
68 
69 The World Coordinate System represents positions in map/earth coordinates and is expressed in World Geodetic System 1984 (WGS84) and ENU axis convention.
70 
71 The origin is defined at an arbitrary point on the Earth surface.
72 x, y and z axes defined the tangent plane at that origin point, such that (x,y,z) corresponds to (east, north, up).
73 
74 The NVIDIA<sup>&reg;</sup> DriveWorks maps module provides helper functions to transform into local Cartesian coordinates.
75 
76 ![WGS84 (λ,φ) and ENU Coordinate Systems](wgs84_and_enu_coordinate_system.png)
77 
78 @section coord_custom Custom Coordinate System
79 
80 The Custom Coordinate System represents any arbitrary coordinate system that the developer wants to use.
81 It is the developer's responsibility to keep other users informed of the relations between this coordinate system and any of the DriveWorks-defined coordinate systems.