New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not subscribe to 2 video streams in parallel. #150
Comments
Agent comment from Leon in Zendesk ticket #102279: Hello, thank you for contacting DJI. May I ask which model are you using? This problem may be related to the model of the machine. Thank you for your support of DJI products. Best Regards, °°° |
We are using the DJI Matrice M30T model. |
Agent comment from Leon in Zendesk ticket #102279: Hello, thank you for contacting DJI. The M30T model supports subscribing to two camera video streams at the same time. If you need to customize the streams of two lenses at the same time, you can refer to this method: Thank you for your support of DJI products. Best Regards, °°° |
We are currently using the following codes. In our dji_psdk_ros2_node.cpp we have:
In our modified test_liveview.cpp we have:
But the callbacks are not receiving any images unless we comment out one of the liveview_camera->StartCameraStream() functions. |
Agent comment from Leon in Zendesk ticket #102279: Hello, thank you for contacting DJI. Thank you for your patience. Got it, we will try to reproduce your problem in a local C++ routine and will contact you again soon. Thank you for your support of DJI products. Best Regards, °°° |
Hello! |
Agent comment from Leon in Zendesk ticket #102279: Hello, thank you for contacting DJI. Thank you for your patience. At present, we can verify the problem of being unable to obtain the two videos and have synchronized them with the R&D team for analysis and confirmation. If there is any progress, we will synchronize them with you again. Thank you for your support of DJI products. Best Regards, °°° |
Hello! |
I am using a slightly modified version of the LiveviewSample code for our use case. But we have just changed the names of the function and the camera positions. The issue that we are facing is that we can either subscribe to the thermal camera feed or the wide camera feed at the time, as shown by commenting out liveview_camera->StartWideCameraStream or liveview_camera->StartThermalCameraStream.
auto *liveview_camera = new LiveviewSample();
But when we uncomment both the lines to subscribe to both video streams in parallel, none of the callbacks receive any images. The PSDK is still functioning well as I can receive widget data in widget callbacks and so on. Is this a shortcoming of PSDK or does subscribing from two image streams at the same time require special procedures?
The text was updated successfully, but these errors were encountered: