@James-Strawson thanks for the suggestions!
Best posts made by Steve Arias
Latest posts made by Steve Arias
RE: How to use custom libmodal_pipe in MPA service
How to use custom libmodal_pipe in MPA service
I've forked libmodal_pipe (https://gitlab.com/SteveArias1/libmodal_pipe) and have made changes to this forked repo. I have generated and installed an ipk package of this custom libmodal_pipe via
voxl-docker -i voxl-crossand the other usual commands that follow (
./install_build_deps.sh stable, etc.). I'm able to install this custom version of libmodal_pipe on the VOXL board. It's running this custom libmodal_pipe on the board as we speak..
I've made a new MPA service that uses libmodal_pipe. I've been using voxl-docker to build and install this service to the VOXL board. Specifically, I use the voxl-cross docker image and run a custom
./install_build_deps.shscript which downloads libmodal_pipe, libmodal_json and voxl-mavlink from the stable opkg repo (http://voxl-packages.modalai.com/stable).
I want to use a custom function that I made in the custom libmodal_pipe library in my MPA service. How can I use the custom libmodal_pipe library that I have? I can't use opkg to get it since the stable repo only has the stable ipk packages that ModalAI provides by default.
using boost c++ library on VOXL
I want to use the boost C++ library (https://www.boost.org/) on one of the MPA services (voxl-tflite-server, https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-tflite-server). I read a post where someone was trying to use
apt-getfunctionality, where the answer was to look at the documentation on running Ubuntu on VOXL (https://docs.modalai.com/docker-on-voxl/). I have been developing on VOXL by doing the following dev flow:
- Make changes on local PC running Ubuntu
voxl-docker -i voxl-crosson PC which runs the voxl-cross docker image
- In docker image:
./install_build_deps.sh stablewhich installs the dependencies of the MPA service via opkg
- Build via
- Make ipk package via
- Exit docker image
install_on_voxl.shwhich pushes ipk package to VOXL board via ADB and installs it via opkg
Do I need to create my own custom docker image that has boost installed on it, or can I install boost on my voxl-cross docker image?
Creating a new client to read from voxl-tflite-server pipe
I see that there is example code for creating a server and client (https://gitlab.com/voxl-public/modal-pipe-architecture/libmodal_pipe/-/tree/master/examples). This is helpful as I am trying to create a client that reads the detection outputs from voxl-tflite-server (https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-tflite-server/-/blob/master/server/models.cpp#L240). However, I'm not sure on how to proceed. Do I need to make my own MPA service and run the client there? Can I add my client in libmodal_pipe and run it there? Do I need to add my client in voxl-tflite-server and run it there?