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
Indicates dynamic memory allocation failed during API execution.
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.
_NvRosErrCode
Declares error codes for all NvROS modules and packages.
const std::string Default_FileName("drive-px2-a.conf")
Default configuration file for OV10635 camera parameters.
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.
Indicates an error occurred while executing one or more NvMedia API.
Indicates an error occurred due to bad parameters passed in the API.
const std::string SocketPathOutput("/tmp/nvmedia_egl_socket_out")
Constant string for default output EGL socket_path value for the cuda_processor node.
const std::string InitCamPreviewService("nvros_init_cam_preview")
Constant string for initializing camera preview services.
enum nvros::_NvRosErrCode NvRosErr
Declares error codes for all NvROS modules and packages.
const std::string StopCameraCaptureService("camera_stop")
Constant string for closing camera capture services.
Indicates the API was successfully executed.
Indicates an error occurred due to a miscellaneous reason other than NVROS_ERR_NO_MEM and NVROS_ERR_N...
const std::string InitCudaProcessingService("nvros_init_cuda_processing")
Constant string for initializing CUDA processing services.