Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

tomT

tom

@tom
admin
Unfollow Follow
About
Posts
1.8k
Topics
0
Shares
0
Groups
3
Followers
7
Following
0

Posts

Recent Best Controversial

  • Setting up network interfaces
    tomT tom

    @ryan_meagher You should be able to do this using the /etc/network/interfaces approach you mentioned. voxl-modem uses that approach in order to set a static IP for Microhard on eth0. This is what the /etc/network/interfaces file looks like in that case:

    # This file describes the network interfaces available on your system
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
    	address 192.168.168.100
    	netmask 255.255.255.0
    	gateway 192.168.168.1
    
    
    Ask your questions right here!

  • Static IP address on eth0
    tomT tom

    @SmittyHalibut That page may be outdated. You definitely can set a static IP on eth0, it is required for Microhard usage. For example voxl-modem uses the interfaces file here for setting a static IP: https://gitlab.com/voxl-public/utilities/voxl-modem/-/blob/master/config/interfaces

    It does require pulling down / up the interface on boot: https://gitlab.com/voxl-public/utilities/voxl-modem/-/blob/master/scripts/voxl-modem#L516 which may be a solution for @Sem-Andeweg

    VOXL

  • How to install and configure OpenVPN?
    tomT tom

    @Djalma-Ribeiro You can create a systemd service file and enable it to run on boot and have it execute the OpenVPN connection command.

    Here is an example on how we have used it in the past on a VOXL:

    [Unit]
    After=voxl-time-sync.service
    Requires=voxl-time-sync.service
    
    [Service]
    Type=forking
    ExecStartPre=/bin/sleep 2
    ExecStart=/usr/sbin/openvpn --script-security 2 --daemon --config /etc/openvpn/KEY_FILE
    
    [Install]
    WantedBy=default.target
    

    Won't be exactly the same as above but that's the general idea.

    Ask your questions right here!

  • How to flash new image for VOXL 2 Flight Deck?
    tomT tom

    @clarizza https://docs.modalai.com/flash-system-image/#flashing-a-voxl-sdk-release

    Ask your questions right here!

  • Voxl 2 and Herelink Slow Video stream
    tomT tom

    @Nicholas-Hansen In order to set an IP address at boot you could create a systemd service that runs a script similar to this portion of the voxl-modem startup script:

    Link Preview Image
    scripts/voxl-modem-start · master · voxl / VOXL SDK / Utilities / voxl-modem · GitLab

    Modem utilities for the VOXL platform.

    favicon

    GitLab (gitlab.com)

    You could probably highjack the doodle workflow if you really want to. It's pretty basic, it just waits for the network interface to enumerate and sets the IP address if it is different from what is set in the config file. It then monitors that interface and sets the IP again if it ever changes

    echo -e "\nWaiting for eth0..."
            rc=1
            while [ $rc -ne 0 ]; do
                ifconfig -s | grep eth0
                rc=$?
                sleep 1
            done
    
            echo -e "\neth0 initialized"
    
            # loop and re-set IP if network interface goes down and back up
            while true
            do
                # grab ip address from eth0
                eth0_ip=$(ip -4 addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | head -1)
    
                # if it's not what we expect, fix it
                if [[ "$eth0_ip" != *"$DOODLE_IP"* ]]; then
                    echo "setting IP address to: $DOODLE_IP"
                    ifconfig eth0 $DOODLE_IP netmask 255.0.0.0 up
                fi
                sleep 1
            done
    
    Ask your questions right here!

  • dpkg nor opkg found on VOXL
    tomT tom

    @Gary-Holmgren Ah so that would be the issue, the default password of oelinux123 is hard-coded into the deploy_to_voxl.sh script

    Support Request Format for Best Results

  • Voxl not connecting to QGC
    tomT tom

    @PawelJ Yep, it should be either 14550 or 14551.

    VOXL

  • Can't find how to configure the hires camera
    tomT tom

    @AnthoJack https://docs.modalai.com/configure-cameras/ You can start here and then modify

    Sentinel

  • Voxl-mapper on VOXL2
    tomT tom

    @Jgaucin Are you on SDK 1.0?

    Mapping and Planning

  • error compiling voxl-vision-px4 from source
    tomT tom

    I would rebuild using the master branch and do the following:

    You can use the opkg server in order to install the dependencies.

    In /etc/opkg/opkg.conf uncomment the line #src/gz dev http://voxl-packages.modalai.com/dev.

    Then, call opkg update

    • Install libmodal_json with opkg install libmodal_json
    • Install voxl-mpa-tools with opkg install voxl-mpa-tools
    • Back on your host pc, run ./install-on-voxl.sh
    Ask your questions right here!

  • M500 will not connect to QGC, but still has shh connection
    tomT tom

    @Steve-Sager We don't support using Windows for flashing. Do you have an Ubuntu machine you could use to flash? Preferably Ubuntu 18.04.

    VOXL m500 Reference Drone

  • Voxl not connecting to QGC
    tomT tom

    @PawelJ It looks as though you are using the correct IP in your config file and voxl-vision-px4 is running correctly. Is it possible that you have some custom firewall setup on your host PC that is blocking traffic on that port?

    VOXL

  • Flight time estimate?
    tomT tom

    @tangotoo You can see the specs here: https://docs.modalai.com/sentinel-functional-description/

    Sentinel

  • Voxl-mapper on VOXL2
    tomT tom

    @Jgaucin If your Sentinel is on SDK 1.0, voxl-mapper 0.1.9 should be available onboard for installation by running apt install voxl-mapper

    Mapping and Planning

  • How to start docker daemon?
    tomT tom

    @Daniel-Ryu Check out the documentation here: https://docs.modalai.com/docker-on-voxl/

    Try running voxl-configure-docker-support.sh

    Ask your questions right here!

  • M500 will not connect to QGC, but still has shh connection
    tomT tom

    @Steve-Sager That's interesting, you can use vi to modify the file and enter the correct IP in the qgc_ip field, vi /etc/modalai/voxl-vision-px4.conf

    VOXL m500 Reference Drone

  • Voxl not connecting to QGC
    tomT tom

    @PawelJ There isn't an exact way to do that, if you want you could edit your initial question and add a [SOLVED] section at the top and describe the solution.

    VOXL

  • Post-Crash Sentinel Wi-Fi modem issue
    tomT tom

    @Jgaucin I would take a look here to see if following the unbricking process solves your issue: https://docs.modalai.com/voxl2-qdl/

    Sentinel

  • HDMI output from Seeker Vision FPV Goggles
    tomT tom

    @David-Avery See the following graphic. 8517d647-3a1b-452f-a269-b8e123b63957-image.png

    You can connect a USB-C to hdmi adapter to the USB-C labeled "DisplayPort Out"

    I recommend using the following adapter: https://www.amazon.com/Cable-Matters-48Gbps-Adapter-Supporting/dp/B08MSWMXT4?th=1

    No software configuration changes are needed.

    FPV Drones

  • Speed between waypoints in MAVSDK
    tomT tom

    @jbruell94 I would look at the MAVSDK Python source examples here: https://github.com/mavlink/MAVSDK-Python/tree/main/examples

    I believe it is one of the "MissionItem" params in the example here: https://github.com/mavlink/MAVSDK-Python/blob/edd21f4d95a5a37ca1a24fd7ffb97da5bfb9d86d/examples/mission.py#L27

    We don't develop MAVSDK ourselves so those questions may be better suited for the PX4 forum / slack: https://discuss.px4.io/c/mavsdk/19

    Ask your questions right here!
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups