I’m working on an application to get the gmsl camera data from ddpx and send it to a logger throuth Ethernet. I’ve looked into the sample of saving data from GMSL camera, but have some difficulties on figure out how could I broadcast them through Ethernet?
I’ve also looked into inter process communication samples but it seems that the camera data need to be encoded somehow. Or, should I use gstreamer to encode and broadcast them on DDPX?
It would be nice if someone could have some suggestions.
Usually the data recording was through external storage, may I know why need to through Ethernet?
Is it related with throughput?
You could refer to “Throughput Recording” part DriveWorks doc for your topic first, this may help you to get some hint how to handle external storage for DriveWorks.
Hi, actually our logger hardware will be connected to ddpx, as camera data is quite a lot, we are planning on sending them through 10Gb Ethernet port to the logger.
Yes exactly. Actually the logger is the storages for the camera data, it will be data triggered and automatically save all the coming data through ehternet. I actually see there is a tool app provided in Driveworks called camera server daemon, that could broadcast the camera frames, using socket tcp communication. But I don’t have the sample code of how it is implemented. I tried to open a client socket to connect to it but the server seems to have some handshake message to trigger the message sending. In the Driveworks sample sample_camera_slave, it could receive the frames but it’s only high-level api, that doesn’t show how the tcp communication is implemented.
If the logger is one of storage, are you using it as a storage device like a NAS?
If yes, all sensor data can be saved directly to the NAS with DriveWorks record tool.
I think if you do the following, you can reduce unnecessary work. Thanks.
1 → 4(o)
1 → 2 → 3 → 4(x)
In the guidance I only see that using the logging tool the data can be saved through USB, which is 1 → 2, how can I config it so it can be send through 1 → 4?
Thanks for the answer. As I mentioned above, the logger is intented to be connected to ddpx via Ethernet, not usb. I guess it cannot be mounted in nvidia/mnt. It will not go through USB. I would probably need to program my own code for UDP socket programming to handle the image broadcasting, I guess?
Some customers are using NAS system for loggers via DriveAGX ethernet port(1 → 4) with the above setting.
I think the choice seems to be a matter of your decision, but please consider NAS system for the logger as well. Thanks.