The SensorSim Service renders synthetic camera images and LiDAR point clouds for autonomous vehicle simulation. It supports multiple camera models and realistic sensor effects.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/NVlabs/alpasim/llms.txt
Use this file to discover all available pages before exploring further.
Service Definition
Camera Rendering
render_rgb
Render a single RGB camera image.Scene identifier to render
Image height in pixels
Image width in pixels
Camera model and parameters (see Camera Models section)
Frame capture start time (microseconds)
Frame capture end time (for rolling shutter simulation)
Camera pose at frame start and end
Background vehicles and actors
Output image encoding:
PNG: Lossless compressionJPEG: Lossy compressionRGB_UINT8_PLANAR: Raw RGB data
JPEG quality (0.0 to 1.0, higher = better quality)
Whether to mask out ego vehicle (hood/mirrors)
Ego mask identifier (required if insert_ego_mask is true)
Encoded image data (format specified in request)
LiDAR Rendering
render_lidar
Render a LiDAR point cloud.Scene identifier
Scan start time (microseconds)
Scan end time (for rotating LiDAR)
LiDAR pose at scan start and end
Background vehicles to include in scan
Point coordinates in end-of-spin LiDAR space [x1, y1, z1, x2, y2, z2, …]
Point intensities (range 0.0 to 1.0)
Total number of points
Binary buffer of point coordinates (alternative to point_xyzs)
Binary buffer of intensities (alternative to point_intensities)
Batch Rendering
render_aggregated
Render multiple cameras and LiDARs in a single request for efficiency.List of camera render requests
List of LiDAR render requests
Rendered camera images (same order as requests)
Rendered LiDAR scans (same order as requests)
Optional arbitrary data for advanced driver integration
Camera Models
SensorSim supports multiple camera projection models:OpenCV Pinhole
OpenCV Fisheye
For wide field-of-view cameras (>120°).F-Theta
Polynomial fisheye model with forward/backward mappings.Query Methods
get_available_cameras
Retrieve camera configurations for a scene.Scene identifier
get_available_ego_masks
Retrieve available ego vehicle masks.List of ego masks with camera and rig configuration IDs
Usage Example
Shutter Types
SensorSim supports realistic shutter simulation:GLOBAL: Instantaneous capture (all pixels at once)ROLLING_TOP_TO_BOTTOM: Row-by-row capture from topROLLING_LEFT_TO_RIGHT: Column-by-column from leftROLLING_BOTTOM_TO_TOP: Row-by-row from bottomROLLING_RIGHT_TO_LEFT: Column-by-column from right
start_pose and end_pose.
Related
- Driver Service - Consumes rendered images
- Runtime Module - Orchestrates rendering