ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. SHofmeester
    • Profile
    • Following 0
    • Followers 1
    • Topics 10
    • Posts 38
    • Best 1
    • Controversial 0
    • Groups 0

    SHofmeester

    @SHofmeester

    1
    Reputation
    15
    Profile views
    38
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    SHofmeester Unfollow 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!
      SHofmeesterS
      SHofmeester

    Latest posts made by SHofmeester

    • UART communication

      Hi,

      We want to connect an arduino to the J10 UART.
      When we try voxl-uart-loopback -d 7, it fails.
      When we use 'voxl-i2c scan 7 400000`, it recognizes the device (besides the UART TX and RX we connected the SDA and SCL as well)

      We also tried it with a GPS, so that we could be sure it wasn't the arduino code, but it had the same result: uart failed and i2c was recognized.

      / # serial-read-teensy -d 7
      INITIALIZING
      Sending 10 bytes:
      0123456789
      Transfer should take ~1736us, sleeping for 6736us (+5000us overhead)
      Reading back data...
      ERROR: voxl_uart_read 0 bytes, expected 10
      closing uart bus
      FAIL
      

      Can you help us with this?

      Thanks in advance!

      posted in Ask your questions right here!
      SHofmeesterS
      SHofmeester
    • Mavlink communication

      Hi,

      We had a C program running on our VOXL 1 that has always worked, including on image-version 3.8.0 with voxl-suite 0.7.0. But on the newest version 4.0.0 with voxl-suite 1.0.0, it doesn't work.

      The program receives mavlink messages using MPA and voxl-mavlink-server. It is based on the voxl-vision-px4 module that handles mavlink IO to/from PX4 (https://forum.modalai.com/post/5026).

      When we flash the image on the VOXL, the mavlink program still works. But once we use opkg update and opkg upgrade, it doesn't work any more.

      Did anything change in a recent update that could have an effect on this program, like something below?

      #define PIPE_SERVER_NAME		"i2c-mavlink"
      #define VOXL_IO_CH				9
      #define I2C_MAVLINK_CH			4
      #define I2C_MAVLINK_PIPE_NAME	"mavlink_to_px4"
      #define VOXL_IO_NAME			"voxl_i2c_mavlink"
      #define VOXL_IO_LOCATION		(MODAL_PIPE_DEFAULT_BASE_DIR VOXL_IO_NAME "/")```
      
      
      Thanks in advance!
      posted in Ask your questions right here!
      SHofmeesterS
      SHofmeester
    • RE: VOXL no ADB access

      @tom
      I'm powering the VOXL with the standard power module delivered with the VOXL.

      I have tried different cables and ports, but the results are the same. Those are cables and ports do work with another VOXL we have.

      Is there a specific location on the board we can measure with a multimeter to see if the VOXL is still functioning correctly on a hardware level? Or is that too difficult or dangerous?

      posted in Ask your questions right here!
      SHofmeesterS
      SHofmeester
    • RE: VOXL no ADB access

      Hi @tom,

      I tried lsusb both regularly and with the fastboot method from the unbricking procedure. But it didn't recognize the device. The result of lsusb was the same when it was plugged in and when it wasn't plugged in. I tried with another VOXL and it did recognize it.

      posted in Ask your questions right here!
      SHofmeesterS
      SHofmeester
    • VOXL no ADB access

      Hi,

      On one of our VOXLs I tried to access it using adb shell, but it couldn't find the device. It also doesn't show up when I use adb devices.
      When I used this procedure (that has worked on another device before), it keeps saying Waiting for fastboot....

      Is there another method?

      Thanks in advance!

      posted in Ask your questions right here!
      SHofmeesterS
      SHofmeester
    • RE: Limit cameras problem

      @aashry Thank you for your quick reply. It is working now!

      posted in Ask your questions right here!
      SHofmeesterS
      SHofmeester
    • Limit cameras problem

      Hi,

      On a VOXL-CAM, I am trying to use voxl-configure-cameras 2 to reduce the CPU usage. This is the output:
      d39f5224-ec89-46e2-86ec-28d515aeacf2-image.png

      But when I run voxl-inspect-cam -a, all of the cameras are used:
      602a92c5-1aa1-48fb-8292-f86ac2d033f9-image.png

      How can I configure it so that I use "tracking only"?

      Thanks in advance!

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

      Thank you for your help! I was able to download it directly and it works now. On my other device I was only able to build it, but on this device downloading it directly works.

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

      Hi @Eric-Katzfey,
      This is the result when I run docker images:
      4b8c6550-aff4-42d4-9318-ed1f3cbf363f-image.png

      I feel like I am forgetting something, because I was able to install it before.
      I set up voxl-docker (voxl-docker -l and voxl-cross work), downloaded the 2 files and put them in cross_toolchain/downloads and then ran ./install-hexagon-docker.sh. Am I missing anything?

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

      Hi @Chad-Sweet,

      These are the files in voxl-docker/cross_toolchain/downloads: df041145-d84d-43c5-9337-842e6236cff2-image.png
      I tried it again with the file you linked, but the error stays the same.

      Additional information:

      1. When I try to run ./installsdk.sh --APQ8096 --arm-gcc /opt/ now, it says the following: 29503efe-dba8-4f46-aa38-df8f458663e2-image.png I tried to run the export-commands, but nothing changed.
      2. Inside /opt/ there is a directory called Qualcomm with a folder called: ARM_tools and Hexagon_SDK

      We really appreciate your help!

      posted in Ask your questions right here!
      SHofmeesterS
      SHofmeester