Hello I can’t get sample_camera_gmsl with default parameters working on Xavier B.
But I got that the first time I tried then I rebooted the system now I can’t connect to the camera
I get the following error:
[11-09-2019 14:33:35] Platform: Detected DDPX - Tegra B
[11-09-2019 14:33:35] Initialize DriveWorks SDK v2.0.2081
[11-09-2019 14:33:35] Release build with GNU 4.9.4 from heads/buildbrain-branch-0-g36b127f against Drive PDK v5.1.0.2
[11-09-2019 14:33:35] TimeSource: monotonic epoch time offset is 1568199964426037
[11-09-2019 14:33:35] PTP Time is available from NVPPS Driver
[11-09-2019 14:33:35] Platform: number of GPU devices detected 2
[11-09-2019 14:33:35] Platform: currently selected GPU device discrete ID 0
[11-09-2019 14:33:35] SDK: Resources mounted from …/./data/
[11-09-2019 14:33:35] SDK: Create NvMediaDevice
[11-09-2019 14:33:35] SDK: use EGL display as provided
[11-09-2019 14:33:35] Initialize DriveWorks VisualizationSDK v2.0.2081
[11-09-2019 14:33:35] Initialize DriveWorksGL SDK v2.0.2081
[11-09-2019 14:33:35] SensorFactory::createSensor() → camera.gmsl, output-format=yuv,fifo-size=3,isp-mode=yuv420-uint8,camera-type=ar0231-rccb-bae-sf3324,camera-group=a,slave=0
[11-09-2019 14:33:35] CameraGMSL: Create NvMediaIPPManager
[11-09-2019 14:33:35] CameraGMSL: required FPS = 30, resolution = 1920x1208
nvmedia isc: IscPwrCtrlInit: 939: Camera power control library: NVCCP
receive_from: Timeout Error.
Please check Ethernet ip configuration or
Update Aurix firmware version by the following command
sudo /bin/bash /etc/systemd/scripts/nv_aurix_check_fw.sh -auto_update
receive_from: Timeout Error.
Please check Ethernet ip configuration or
Update Aurix firmware version by the following command
sudo /bin/bash /etc/systemd/scripts/nv_aurix_check_fw.sh -auto_update
nvmedia isc: NvccpCamPowerControl: 534: NVCCP command failed with ret NVCCP_REQ_TIMEOUT
iscRootDevOpen: Failed to request ownership
NvMediaISCRootDeviceCreate: Unable to open root device
nvmedia: ERROR: Init: Failed to create NvMedia ISC root device
[04-07-2017 11:05:47] Driveworks exception thrown: DW_SAL_CANNOT_CREATE_SENSOR: CameraGMSL: cannot connect to camera
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2017-07-04 11:05:47] DW Error DW_SAL_CANNOT_CREATE_SENSOR executing DW function:
dwSAL_createSensor(&m_camera, params, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/camera/camera_gmsl/main.cpp:174
Aborted (core dumped)
This is the error that I get from Lidar
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ ./sample_lidar_replay --protocol=lidar.socket --params=device=VELO_VLP16,ip=192.168.1.201,port=2268,scan-frequency=10
Starting my sample application…
[04-07-2017 11:03:14] Platform: Detected DDPX - Tegra B
[04-07-2017 11:03:14] Initialize DriveWorks SDK v2.0.2081
[04-07-2017 11:03:14] Release build with GNU 4.9.4 from heads/buildbrain-branch-0-g36b127f against Drive PDK v5.1.0.2
[04-07-2017 11:03:14] TimeSource: monotonic epoch time offset is 1499153885728373
[04-07-2017 11:03:14] PTP Time is available from NVPPS Driver
[04-07-2017 11:03:14] Platform: number of GPU devices detected 2
[04-07-2017 11:03:14] Platform: currently selected GPU device discrete ID 0
[04-07-2017 11:03:14] SDK: Resources mounted from …/./data/
[04-07-2017 11:03:14] SDK: Create NvMediaDevice
[04-07-2017 11:03:14] SDK: use EGL display as provided
[04-07-2017 11:03:14] SensorFactory::createSensor() → lidar.socket, device=VELO_VLP16,ip=192.168.1.201,port=2268,scan-frequency=10
[04-07-2017 11:03:14] Destination IP address and Horizontal Resolution is used only by OUSTER Lidar
Return Mode is used only by Velodyne Lidar
[04-07-2017 11:03:29] Driveworks exception thrown: DW_SAL_CANNOT_INITIALIZE: LidarSocket::checkDeviceData, 192.168.1.201:2268 is not connected
terminate called after throwing an instance of ‘std::runtime_error’
what(): [2017-07-04 11:03:29] DW Error DW_SAL_CANNOT_INITIALIZE executing DW function:
dwSAL_createSensor(&m_lidarSensor, params, m_sal)
at /dvs/git/dirty/gitlab-master_av/dw/sdk/samples/sensors/lidar/lidar_replay/main.cpp:113
Aborted (core dumped)
I checked the lidar port on chromium
Here are the results from nmap
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ nmap -sP 192.168.1.*
Starting Nmap 7.01 ( https://nmap.org ) at 2017-07-04 11:02 EEST
Nmap scan report for 192.168.1.201
Host is up (0.0094s latency).
Nmap scan report for 192.168.1.203
Host is up (0.00059s latency).
Nmap done: 256 IP addresses (2 hosts up) scanned in 69046088.00 seconds
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ nmap 192.168.1.201 -p 80
Starting Nmap 7.01 ( https://nmap.org ) at 2017-07-04 11:02 EEST
Nmap scan report for 192.168.1.201
Host is up (0.0027s latency).
PORT STATE SERVICE
80/tcp open http
Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
nvidia@tegra-ubuntu:/usr/local/driveworks/bin$ nmap 192.168.1.201 -p 2268
Starting Nmap 7.01 ( https://nmap.org ) at 2017-07-04 11:08 EEST
Nmap scan report for 192.168.1.201
Host is up (0.0029s latency).
PORT STATE SERVICE
I could get data with the same command on the host side.
Best Regards
Cagatay