ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. tom
    • Profile
    • Following 0
    • Followers 6
    • Topics 0
    • Posts 1672
    • Best 111
    • Controversial 1
    • Groups 2

    tom

    @tom

    admin

    115
    Reputation
    234
    Profile views
    1672
    Posts
    6
    Followers
    0
    Following
    Joined Last Online
    Website www.modalai.com Location San Diego, CA

    tom Unfollow Follow
    ModalAI Team admin

    Best posts made by tom

    • RE: Setting up network interfaces

      @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
      
      
      posted in Ask your questions right here!
      tomT
      tom
    • RE: Static IP address on eth0

      @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

      posted in VOXL
      tomT
      tom
    • RE: How to install and configure OpenVPN?

      @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.

      posted in Ask your questions right here!
      tomT
      tom
    • RE: How to flash new image for VOXL 2 Flight Deck?

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

      posted in Ask your questions right here!
      tomT
      tom
    • RE: Voxl 2 and Herelink Slow Video stream

      @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:

      https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/blob/master/scripts/voxl-modem-start?ref_type=heads#L242

      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
      
      posted in Ask your questions right here!
      tomT
      tom
    • RE: Website redirects

      @wilkinsaf should be good now

      posted in FAQs
      tomT
      tom
    • RE: Voxl not connecting to QGC

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

      posted in VOXL
      tomT
      tom
    • RE: Connecting V2 LTE modem to Rpi4

      @Henry-Cappel See script here: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-modem/-/blob/master/scripts/sierra-rpi-setup.sh

      Pinouts are here: https://docs.modalai.com/lte-modem-v2-dongle-datasheet/#raspberrypi-4

      posted in Cellular Modems
      tomT
      tom
    • RE: Totally confused from the beginning

      @local-ad What are you trying to do?

      posted in VOXL-CAM
      tomT
      tom
    • RE: error compiling voxl-vision-px4 from source

      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
      posted in Ask your questions right here!
      tomT
      tom

    Latest posts made by tom

    • RE: Playing with VFC

      @Aaron-Porter The VFC flight mode that will be entered when switching into offboard is dependant on what is specified in /etc/modalai/voxl-vision-hub.conf

      Example here:

      "vfc_submode_ch":	6,
      	"vfc_alt_mode_rc_min":	0,
      	"vfc_alt_mode_rc_max":	0,
      	"vfc_flow_mode_rc_min":	1700,
      	"vfc_flow_mode_rc_max":	2100,
      	"vfc_hybrid_flow_mode_rc_min":	0,
      	"vfc_hybrid_flow_mode_rc_max":	0,
      	"vfc_position_mode_rc_min":	1300,
      	"vfc_position_mode_rc_max":	1700,
      	"vfc_traj_mode_rc_min":	0,
      	"vfc_traj_mode_rc_max":	0,
      

      In this example, VFC flight modes are monitored on channel 6
      Depending on what position the switch is in, a different VFC mode will be entered

      So for example, if the middle position of flight modes is set to "Offboard", when the switch is flipped into the middle position ~1500, VFC position mode will be entered

      posted in Ask your questions right here!
      tomT
      tom
    • RE: Google Fi

      @bendraper We generally have to activate the SIM card by inserting it into either an android phone or iphone and activate it with the google fi app before using it with VOXL2

      posted in Ask your questions right here!
      tomT
      tom
    • RE: Voxl 2 Mini not detected via USB

      @Sarika-Sharma With the device powered and plugged in via USB, what do you see with lsusb?

      posted in VOXL 2 Mini
      tomT
      tom
    • RE: VOXL 2 Ethernet and USB Hub Add-on with Doodle lab radio

      @AidanGallagher With an M0130 USB breakout board

      M0130: https://www.modalai.com/products/m0130-3?variant=48186331693360

      You can use this cable:
      MCBL-00085: https://www.modalai.com/products/mcbl-00085?_pos=2&_sid=0c5d87c5e&_ss=r

      and get rid of the need for the doodle breakout board

      posted in VOXL Accessories
      tomT
      tom
    • RE: Unable to bind controllers with starling 2

      @taiwohazeez Have you reviewed this doc?

      https://docs.modalai.com/orqa-ghost/

      You'll have to use the Orqa FPV controller, an ELRS commando will be incompatible with this receiver

      posted in FPV Drones
      tomT
      tom
    • RE: Unable to bind controllers with starling 2

      @taiwohazeez What is the SKU of your drone? voxl-inspeckt-sku

      Do you know what receiver is on your drone? Ghost and ELRS would require different receivers

      posted in FPV Drones
      tomT
      tom
    • RE: Voxl 2 Mini not detected via USB

      @Sarika-Sharma If you're using a VM on windows in order to run Ubuntu you'll need to setup USB device pass-through from your host machine.

      I would recommend running linux natively if possible

      posted in VOXL 2 Mini
      tomT
      tom
    • RE: VOXL 2 Ethernet and USB Hub Add-on with Doodle lab radio

      @AidanGallagher Can you post a picture of the setup you're using?

      posted in VOXL Accessories
      tomT
      tom
    • RE: Starling 2 Max GPS-denied Development Drone 5G Modem GPS Issues?

      @MichaelH The issue is that users have seen GPS signal degradation when LTE/5G is running due to the placement of the GPS

      posted in Starling & Starling 2
      tomT
      tom
    • RE: VOXL 2 Ethernet and USB Hub Add-on with Doodle lab radio

      @AidanGallagher Are you able to ping the doodle modem itself? Also double check you aren't trying to use an IP that is already being used on the doodle network

      posted in VOXL Accessories
      tomT
      tom