Accessing the service data inside MAVSDK
-
Hello @Alex-Kushleyev @modaltb ,
I wanted to know whether we can access the service data's (for example the depth information from stereo cam) inside docker, when we run MAVSDK.
If yes, How can we access the data. If no, what are other options to access the data inside the docker. -
@Jetson-Nano Our services transfer data using MPA pipes which are modeled on top of standard Linux pipes. So, yes, you can access those pipes within a docker.
-
@Eric-Katzfey Thank you for the reply.
Can you help on how to access the data inside MAVSDK. -
@Jetson-Nano MAVSDK does not support MPA. I'm guessing that you are trying to write an application that runs in docker that uses information from MPA and also uses MAVSDK? Is that what you are trying to do? If so, you can look at our applications for examples on how to use data from MPA. For example, here is the source for voxl-inspect-cam: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/master/tools/voxl-inspect-cam.c?ref_type=heads
-
Thank you @Eric-Katzfey , I'll check it out and will get back to you.