51 #ifndef DW_MAPPING_OCCUPANCY_GRID_H__ 52 #define DW_MAPPING_OCCUPANCY_GRID_H__ 54 #include <dw/core/Config.h> 177 dwOccupancyGridHandle_t grid);
192 dwOccupancyGridHandle_t grid);
207 dwOccupancyGridHandle_t grid);
221 dwOccupancyGridHandle_t grid);
240 dwOccupancyGridHandle_t grid);
257 dwOccupancyGridHandle_t grid);
295 dwOccupancyGridHandle_t grid);
312 #endif // DW_MAPPING_OCCUPANCY_GRID_H__ uint32_t pointCount
The number of points that define the polygon.
NVIDIA DriveWorks API: Core Types
float float32_t
Specifies POD types.
float32_t minAccumulatedProbability
The min threshold value per grid cell.
uint16_t id
The object ID in the calling application.
float32_t hitWidth
Sets the hit width.
Defines a three-element floating-point vector.
Defines a two-element floating-point vector.
DW_API_PUBLIC dwStatus dwOccupancyGrid_reset(dwOccupancyGridHandle_t grid)
Clears the occupancy grid.
float32_t probabilityRayFreeAtOrigin
The probability that a grid cell is free at the ray origin.
dwVector2f velocity
The 2-D velocity of the polygon in the car coordinate system.
dwVector4f renderColor
The render color for rendering to an FBO.
NVIDIA DriveWorks API: Core Methods
DW_API_PUBLIC dwStatus dwOccupancyGrid_release(dwOccupancyGridHandle_t *grid)
Releases the occupancy grid.
DW_API_PUBLIC dwStatus dwOccupancyGrid_update(const dwTransformation *matrix, uint8_t layer, dwOccupancyGridHandle_t grid)
Transforms an occupancy grid.
dwVector2f acceleration
The 2-D acceleration of the polygon in the car coordinate system.
Holds the initialization parameters for the occupancy grid.
NVIDIA DriveWorks API: Core Exports
DW_API_PUBLIC dwStatus dwOccupancyGrid_insertPointList(const dwVector4f *inputList, uint32_t count, uint8_t layer, dwOccupancyGridHandle_t grid)
Updates an occupancy grid with raw input where each dwVector4f is treated as a hit point...
DW_API_PUBLIC dwStatus dwOccupancyGrid_getGridLayerImage(dwImageGL *output, uint8_t layer, dwOccupancyGridHandle_t grid)
Renders the occupancy grid into the output FBO.
float32_t probabilityRayFreeAtMaxDistance
The probability that a grid cell is free at the max valid distance.
const uint8_t DW_OCCUPANCY_GRID_MAX_LAYER_COUNT
float32_t maxAccumulatedProbability
The max threshold value per grid cell.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
float32_t minValidDistanceMeters
The min valid distance, in meters, that this layer can register.
dwStatus
Status definition.
float32_t probabilityRayFreeBeyondHit
The probability that a grid cell is free beyond the hit to the max distance.
float32_t rayWidth
Sets the ray width.
dwVector2f * points
The position of the points (x,y) of the polygon in clockwise order.
float32_t maxValidDistanceMeters
The max valid distance, in meters, that this layer can register.
DW_API_PUBLIC dwStatus dwOccupancyGrid_insertObstacleList(const dwObstacle *inputList, uint32_t count, uint8_t layer, dwOccupancyGridHandle_t grid)
Updates an occupancy grid with an obstacle list.
dwVector3f gridMinMeters
The minimum grid coordinates in length, width, and height.
dwBool isCumulative
Sets whether or not the layer is cumulative.
Holds the initialization parameters for a range sensor layer in the occupancy grid.
dwBool isRaycast
Sets whether or not the layer is raycast.
struct dwOccupancyGridObject * dwOccupancyGridHandle_t
A pointer to the opaque handle for occupancy grid.
float32_t probabilityFreeAtHit
The probability that a grid cell is free given a grid point hit.
DW_API_PUBLIC dwStatus dwOccupancyGrid_getLayerProperties(dwOccupancyGridLayerParameters *output, uint8_t layer, dwOccupancyGridHandle_t grid)
Gets the layer properties for a given layer.
dwBool isScrollingMap
Sets whether or not to translate only.
DW_API_PUBLIC dwStatus dwOccupancyGrid_getGridImage(dwImageGL *output, dwOccupancyGridHandle_t grid)
Renders the combined occupancy grid into the output FBO.
Defines a GL texture image.
struct dwContextObject * dwContextHandle_t
Context handle.
float32_t cellSizeMeters
The size of each grid cell in the occupancy grid, in meters.
dwVector3f gridDimensionsMeters
The dimensions of the grid in length, width, and height.
NVIDIA DriveWorks API: Core Status Methods
dwTransformation sensorToRigTransformation
The column-major orientation of the sensor for a given layer.
DW_API_PUBLIC dwStatus dwOccupancyGrid_setLayerProperties(uint8_t layer, const dwOccupancyGridLayerParameters *input, dwOccupancyGridHandle_t grid)
Sets the layer properties for a given layer.
DW_API_PUBLIC dwStatus dwOccupancyGrid_initialize(dwOccupancyGridHandle_t *grid, const dwOccupancyGridParameters *params, dwContextHandle_t context)
Initializes an occupancy grid.