Navigation

    ModalAI Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. SHofmeester
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    SHofmeester

    @SHofmeester

    1
    Reputation
    28
    Posts
    11
    Profile views
    1
    Followers
    0
    Following
    Joined Last Online

    SHofmeester Follow

    Best posts made by SHofmeester

    • RE: Libvoxl_io with mavlink

      Hi @Alex-Gardner,

      We switched from using voxl-cross and using adjusted .sh files from voxl-vision-px4, to placing our script inside libvoxl_io and adjusting the install_deps and CMakeLists.txt file. Then we can use the 32bit compilers from libvoxl_io, instead of the 64bit compiler from voxl-vision-px4 (we are not really using voxl-vision-px4 as a whole, we just copied some files for dependencies en building).

      We added the libraries to install-deps, except modal-cv (because we don't need it) and that works. (Libvoxl_io is not among the installed libraries, because we placed our script inside libvoxl_io itself)
      3a3c4a0b-8e8f-427e-8390-7a8881e8d6eb-image.png

      But when we try to build it, it raises the following error:
      f847627f-65ab-4918-909b-42cc143e89a8-image.png

      In /usr/include there is a file called modal_pipe_common.h, but the error remains.
      8f0338fa-b256-4fe8-b463-ef6d68f1c691-image.png

      I also don't understand why the path in the error is: usr/include/c_library_v2/../modal_pipe_server.h, and not: usr/include/modal_pipe_server.h

      Is placing our script inside libvoxl_io like this the right path?
      How can we fix the error?

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester

    Latest posts made by SHofmeester

    • RE: voxl-hexagon: unable to install cross_toolchain

      I tried it on Ubuntu 20.04 as well, but it gave the same message as in Ubuntu 22.04. I also tried it with an older commit from the voxl-docker repository, but that also gave the same message. Does it have to do with the files that need to be downloaded and put in `cross_toolchain/downloads? Do I need to install something else?

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • voxl-hexagon: unable to install cross_toolchain

      Hi,

      I was trying to install voxl-hexagon on Ubuntu 22.04, when I got this message: 7174be92-114f-4934-b387-6dc31ca0bcee-image.png
      When I tried to run ./installsdk.sh --APQ8096 --arm-gcc /opt/ manually, I got the following message: e0cd17d3-a1bf-4303-a5b9-a6f8faf34cdc-image.png
      Can you help me with this?

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • RE: Mavlink random messages

      Hi @modaltb

      We are using a controller connected to an air unit, which is connected to J12 (yellow connector) of the flight core on a VOXL CAM.

      voxl-version result:
      93fd5de6-cfaa-4b6e-b923-16953daf41c0-image.png c785b975-a7e0-411f-81c9-d222ccd5f2fe-image.png f10383cd-b203-45f8-b393-4daa5a64644a-image.png

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • Mavlink random messages

      Hi,

      We're using a modal_pipe to receive mavlink messages. We get the right messages, but sometimes different messages are received (like: 47941, 15297, 18170, 48032 etc. instead of 994, 1494 or 1994). When we connect the VOXL to QGroundControl, RC_CHANNELS doesn't show the random messages (only 994, 1494 or 1994).
      febe4634-da8b-417a-9612-77e4d9b70cce-image.png
      Different data types all show the same random values.

      Can you help us with this?

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • RE: Libvoxl_io with mavlink

      Hi @Alex-Gardner,

      We switched from using voxl-cross and using adjusted .sh files from voxl-vision-px4, to placing our script inside libvoxl_io and adjusting the install_deps and CMakeLists.txt file. Then we can use the 32bit compilers from libvoxl_io, instead of the 64bit compiler from voxl-vision-px4 (we are not really using voxl-vision-px4 as a whole, we just copied some files for dependencies en building).

      We added the libraries to install-deps, except modal-cv (because we don't need it) and that works. (Libvoxl_io is not among the installed libraries, because we placed our script inside libvoxl_io itself)
      3a3c4a0b-8e8f-427e-8390-7a8881e8d6eb-image.png

      But when we try to build it, it raises the following error:
      f847627f-65ab-4918-909b-42cc143e89a8-image.png

      In /usr/include there is a file called modal_pipe_common.h, but the error remains.
      8f0338fa-b256-4fe8-b463-ef6d68f1c691-image.png

      I also don't understand why the path in the error is: usr/include/c_library_v2/../modal_pipe_server.h, and not: usr/include/modal_pipe_server.h

      Is placing our script inside libvoxl_io like this the right path?
      How can we fix the error?

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • RE: Libvoxl_io with mavlink

      Hi @Alex-Gardner,

      Thank you for your reply.

      We changed the find_library-line and now he is able to find the .so-file. It now says the .so-file is the wrong format, which is correct according to your second point.

      For your second point: which libraries below can be build/run 32bit and which ones can't?
      libmodal-json
      libmodal-pipe
      librc-math
      libmodal-cv
      voxl-mpa-tools
      voxl-mavlink

      For the 64bit with 32bit helper service solution: we already made a pipe where we receive mavlink messages from using pipe_validate_mavlink_message_t in _data_from_px4_helper_cb.
      Can we use this pipe for the writing with voxl_io, or do we need to make a new one?
      And how can we write through the pipe with voxl_io, because we checked libmodal_pipe but couldn't find anything for that?
      Do we need to make another script with voxl_io functionalities and run it at the same time as the current mavlink message receiving script and communicate between them using a pipe?

      We are looking at different types of solutions, so we looking forward to your reply.

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • RE: Libvoxl_io with mavlink

      Hi @Alex-Gardner,

      I'm not entirely getting what you are saying.

      In the build_deps file we only added the following line:
      1cbad36d-49b9-461b-aaf9-90c56f1138ec-image.png

      In CMakeLists.txt (from the same folder as the script) we added:
      find_library(LIBAPQ8096_IO libapq8096_io LIBVOXL_IO libvoxl_io HINTS /usr/lib64)
      and
      25182734-b160-4a27-b8bd-212490ded87b-image.png

      When we try to build these files in voxl-cross, we get the errors from the earlier post.

      Do we need to add anything else, or delete something?

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • RE: Libvoxl_io with mavlink

      Thank you, we put the code in _data_from_px4_helper_cb and we are able to get specific mavlink messages now.

      1c0f9e73-9f66-4e90-9184-a2f9691b624a-image.png

      We added libapq8096_io to the install_build_deps.sh and the CMakeLists.txt file. When we #include <voxl_io.h> and add voxl_i2c_init(i2c_bus); to the script and try to build it, the following error is raised:
      2c9e379c-a0d0-49e3-b8ee-fc53692f8a83-image.png

      But when we add voxl_i2c_init(); without an argument, it says:
      41cf6159-ba8e-4b2a-bac5-7b826232d99c-image.png So the script seem to be connected to libapq8096_io.

      We tried to build it in voxl-cross, because voxl-vision-px4 is built in voxl-cross. But libapq8096_io is built in voxl-hexagon. Does the "undefined reference" problem have to do with the different compilers? If so, how can we change the compiler?

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • RE: voxl-vision-px4 not working

      Hi @Alex-Gardner,
      We resolved the issue using this forumpost:
      https://forum.modalai.com/topic/1050/position-flight-is-not-available-after-firmware-update?_=1658251944919

      Thanks for the help

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester
    • RE: voxl-vision-px4 not working

      Hi @Alex-Gardner,

      We recently flashed the voxl to 3.8.0. When we noticed voxl-vision-px4 we reflashed it again with and without wipe, to see if that would resolve it.

      Outputs:
      voxl-version
      e99146d7-cf75-4c69-b542-6075aedecf6e-image.png

      voxl-inspect-services
      b3994ea3-aff4-4332-b576-f5f08a367fd5-image.png

      journalctl -u voxl-vision-px4
      ce409261-c3ee-4d39-bc28-df9bc791a8a9-image.png
      f154bfa1-5c07-4214-957c-2145e680c630-image.png
      4cca5aaa-f577-462a-87aa-3a7c905a3b15-image.png

      Thanks in advance!

      posted in Ask your questions right here!
      SHofmeester
      SHofmeester