Hello, I am trying to record CAN message from Aurix and the camera video simultaneously.
I connected my can cable to can1 port and accessed from Aurix can-a,
and can message from only 1 can ID should be transfered by Aurix.
I used the ‘recorder’ file to record can message,
but it met error and stoped frequently after the recording is started.
Where is the problem?
The messages are as following.
nvidia@tegra-ubuntu:~/odaiba/record_test$ ./recorder ./rig_config/rig_aurix_can_a_1c.json
[29-10-2019 10:58:54] Platform: Detected DDPX - Tegra B
[29-10-2019 10:58:54] Initialize DriveWorks SDK v2.0.2081
[29-10-2019 10:58:54] Release build with GNU 4.9.4 from heads/buildbrain-branch-0-g36b127f against Drive PDK v5.1.0.2
[29-10-2019 10:58:54] TimeSource: monotonic epoch time offset is 1572341288367830
[29-10-2019 10:58:54] PTP Time is available from NVPPS Driver
[29-10-2019 10:58:54] Platform: number of GPU devices detected 1
[29-10-2019 10:58:54] Platform: currently selected GPU device integrated ID 0
[29-10-2019 10:58:54] SDK: Resources mounted from /usr/local/driveworks-2.0/data/
[29-10-2019 10:58:54] SDK: Create NvMediaDevice
[29-10-2019 10:58:54] egl::Display: found 2 EGL devices
[29-10-2019 10:58:54] egl::Display: use drm device: drm-nvdc
[29-10-2019 10:58:54] Platform: currently selected GPU device integrated ID 0
[29-10-2019 10:58:54] Loading rig file: ./rig_config/rig_aurix_can_a_1c.json
[29-10-2019 10:58:54] SensorFactory::createSensor() -> can.aurix, ip=10.42.0.146,bus=a,config-file=EasyCanConfigFileA.conf,file-buffer-size=8192
[29-10-2019 10:58:54] SensorFactory::createSensor() -> camera.gmsl, camera-type=ar0231-rccb-bae-sf3324,camera-group=a,camera-count=1,siblingIndex=0,slave=0,format=lraw,output-format=raw,fifo-size=30,file-buffer-size=4194304
[29-10-2019 10:58:54] CameraGMSL: Create NvMediaIPPManager
[29-10-2019 10:58:54] CameraGMSL: required FPS = 30, resolution = 1920x1208
nvmedia isc: IscPwrCtrlInit: 939: Camera power control library: NVCCP
Max96712 Rev 2 detected!
MAX96712: Enable periodic AEQ on Link 0
MAX96705: Pre-emphasis set to 0xaa
Sensor AR0231 RCCB Rev7 detected!
[29-10-2019 10:58:55] CameraGMSL: default IPP event callback function set
[29-10-2019 10:58:55] camera params: index_table=off,file=,camera-type=ar0231-rccb-bae-sf3324,camera-group=a,camera-count=1,siblingIndex=0,slave=0,format=lraw,output-format=raw,fifo-size=30,file-buffer-size=4194304
[29-10-2019 10:58:55] CameraGMSL: serializer bitrate not specified. Using 8000000.
[29-10-2019 10:58:55] EGLStream: EGL_SUCCESS
[29-10-2019 10:58:55] StreamProducerCUDA: successfully initialized
Rig: rig_aurix_can_a_1c.json NewSink: /dev/null
[29-10-2019 10:58:55] EndpointUDP: started 10.42.0.146:50000
[29-10-2019 10:58:56] SensorManager: started
Press s<Enter> to start, just <Enter> to see progress, q<Enter> to quit.
[29-10-2019 10:58:56] Received from 10.42.0.146:50000 - 46 bytes, src=4, dst=2, app=202, time=388704744, id=259, length=38
[29-10-2019 10:58:56] Received at least 1 CAN messages within 22 bytes
[29-10-2019 10:58:56] CAN messages [291] for 0 at 1572346
[29-10-2019 10:58:56] Parsed 1 CAN messages, found 1 messages on selected EasyCAN bus.
[29-10-2019 10:58:56] Received from 10.42.0.146:50000 - 46 bytes, src=4, dst=2, app=202, time=388706354, id=259, length=38
[29-10-2019 10:58:56] Received at least 1 CAN messages within 22 bytes
[29-10-2019 10:58:56] CAN messages [291] for 0 at 645699600000000
[29-10-2019 10:58:56] Parsed 1 CAN messages, found 1 messages on selected EasyCAN bus.
[29-10-2019 10:58:58] Received from 10.42.0.146:50000 - 46 bytes, src=4, dst=2, app=202, time=388707964, id=259, length=38
[29-10-2019 10:58:58] Received at least 1 CAN messages within 22 bytes
[29-10-2019 10:58:58] CAN messages [291] for 0 at 4026536468026536
[29-10-2019 10:58:58] Parsed 1 CAN messages, found 1 messages on selected EasyCAN bus.
[29-10-2019 10:58:59] Received from 10.42.0.146:50000 - 46 bytes, src=4, dst=2, app=202, time=388709564, id=259, length=38
[29-10-2019 10:58:59] Received at least 1 CAN messages within 22 bytes
[29-10-2019 10:58:59] CAN messages [291] for 0 at 4026536468026536
[29-10-2019 10:58:59] Parsed 1 CAN messages, found 1 messages on selected EasyCAN bus.
[29-10-2019 10:59:01] Received from 10.42.0.146:50000 - 46 bytes, src=4, dst=2, app=202, time=388711174, id=259, length=38
[29-10-2019 10:59:01] Received at least 1 CAN messages within 22 bytes
[29-10-2019 10:59:01] CAN messages [291] for 0 at 1572346
[29-10-2019 10:59:01] Parsed 1 CAN messages, found 1 messages on selected EasyCAN bus.
s
[29-10-2019 10:59:03] Received from 10.42.0.146:50000 - 46 bytes, src=4, dst=2, app=202, time=388712784, id=259, length=38
[29-10-2019 10:59:03] Received at least 1 CAN messages within 22 bytes
[29-10-2019 10:59:03] CAN messages [291] for 0 at 327680004449484
[29-10-2019 10:59:03] Parsed 1 CAN messages, found 1 messages on selected EasyCAN bus.
[29-10-2019 10:59:03] camera params: file=/home/nvidia/odaiba/record_test/camera:front:center:120fov.lraw,camera-type=ar0231-rccb-bae-sf3324,camera-group=a,camera-count=1,siblingIndex=0,slave=0,format=lraw,output-format=raw,fifo-size=30,file-buffer-size=4194304
[29-10-2019 10:59:03] CameraGMSL: serializer bitrate not specified. Using 8000000.
[29-10-2019 10:59:04] EGLStream: EGL_SUCCESS
[29-10-2019 10:59:04] StreamProducerCUDA: successfully initialized
[29-10-2019 10:59:04] EncoderLRAW: End of recording, Camera Frames = 239 Encoded Frames = 239 Dropped Frames = 0
[29-10-2019 10:59:04] EGLStream: EGL_SUCCESS
Rig: rig_aurix_can_a_1c.json NewSink: .
Rig: rig_aurix_can_a_1c.json Sensor: can:vehicle Bytes: 54
Rig: rig_aurix_can_a_1c.json Sensor: camera:front:center:120fov Bytes: 10879700
Rig: rig_aurix_can_a_1c.json EndOfSensorsInfo
[29-10-2019 10:59:04] Received from 10.42.0.146:50000 - 46 bytes, src=4, dst=2, app=202, time=388714394, id=259, length=38
[29-10-2019 10:59:04] Received at least 1 CAN messages within 22 bytes
[29-10-2019 10:59:04] CAN messages [291] for 0 at 327680004449484
[29-10-2019 10:59:04] Parsed 1 CAN messages, found 1 messages on selected EasyCAN bus.
[29-10-2019 10:59:06] Received from 10.42.0.146:50000 - 46 bytes, src=4, dst=2, app=202, time=388715994, id=259, length=38
[29-10-2019 10:59:06] Received at least 1 CAN messages within 22 bytes
[29-10-2019 10:59:06] CAN messages [291] for 0 at 1572346
[29-10-2019 10:59:06] Parsed 1 CAN messages, found 1 messages on selected EasyCAN bus.
[29-10-2019 10:59:06] IndexTable: cannot populate index table, sensor events are non-monotonic. Expecting timestamp for event 2 larger or equal to 327680004449484 found 1572346. Seeking range will be limited to: events[0,0], time[327680004449484,327680004449484].
terminate called after throwing an instance of 'dw::core::Exception'
what(): DW_END_OF_STREAM: SensorSerializerByte: error updating seek table
Aborted (core dumped)