|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.1.15.0 Release For Test and Development only
|
Go to the documentation of this file.
9 #ifndef _NVROSCOMMON_H_
10 #define _NVROSCOMMON_H_
67 #define DEFAULT_DISPLAY_WIDTH 1920
70 #define DEFAULT_DISPLAY_HEIGHT 1080
73 #define DEFAULT_WINDOW_OFFSET_X 0
76 #define DEFAULT_WINDOW_OFFSET_Y 0
79 #define DEFAULT_DISPLAY_ID 0
82 #define SECONDARY_DISPLAY_ID 2
85 #define DEFAULT_WINDOW_ID 0
88 #define DEFAULT_EGLSTREAM_MODE 1
92 #define CUDA_KERNEL_RGBA_TO_GREY 1
95 #define CUDA_KERNEL_SOBEL 2
98 #define CUDA_KERNEL_NEGATIVE_RGBA 3
102 #define DEFAULT_CSI_PORT_ID 0
105 #define ONE_FRAME_TIME_US_30_FPS 33334
112 #define MAX_WAIT_TIMEOUT_FRAMES 100
120 #define MAX_SERVICE_WAIT_TIMEOUT_MS 100
125 #define IS_RGBA_CONVERSION 1
129 #define DEFAULT_SERVICE_WAIT_TIMEOUT 30
_NvRosErrCode
Declares error codes for all NvROS modules and packages.
@ NVROS_ERR_NVMEDIA
Indicates an error occurred while executing one or more NvMedia API.
const std::string StartCameraCaptureService("camera_start")
Constant string for starting camera capture services.
const std::string Default_GroupName("A")
Default group name for the camera capture node.
const std::string Default_FileName("drive-px2-a.conf")
Default configuration file for OV10635 camera parameters.
const std::string InitCamPreviewService("nvros_init_cam_preview")
Constant string for initializing camera preview services.
@ NVROS_SUCCESS
Indicates the API was successfully executed.
enum nvros::_NvRosErrCode NvRosErr
Declares error codes for all NvROS modules and packages.
@ NVROS_ERR
Indicates an error occurred due to a miscellaneous reason other than NVROS_ERR_NO_MEM and NVROS_ERR_N...
const std::string StopCameraCaptureService("camera_stop")
Constant string for closing camera capture services.
@ NVROS_ERR_BAD_PARAMS
Indicates an error occurred due to bad parameters passed in the API.
@ NVROS_ERR_NO_MEM
Indicates dynamic memory allocation failed during API execution.
const std::string SocketPathOutput("/tmp/nvmedia_egl_socket_out")
Constant string for default output EGL socket_path value for the cuda_processor node.
A global namespace for NvRos packages.
const std::string CloseCamPreviewService("nvros_close_cam_preview")
Constant string for closing camera preview services.
const std::string CloseCudaProcessingService("nvros_close_cuda_processing")
Constant string for closing CUDA processing services.
const std::string InitCudaProcessingService("nvros_init_cuda_processing")
Constant string for initializing CUDA processing services.