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

    John Keller

    @John Keller

    0
    Reputation
    2
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    John Keller Unfollow Follow

    Latest posts made by John Keller

    • Failing to boot

      I was using the voxl2 on my starling 2 drone out in the sun for a few hours on a ~80 F day. Commands which would normally be responsive like ros2 topic echoing, etc. were taking a long time to output any text so I thought it might be overheating and powered it off.

      A few days later I tried turning it on and it doesn't boot up. I can't connect over adb shell. I get the following output from dmesg when plugging it in:

      [31549.649340] usb 1-9: new high-speed USB device number 15 using xhci_hcd
      [31549.800919] usb 1-9: New USB device found, idVendor=05c6, idProduct=900e, bcdDevice= 0.00
      [31549.800933] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [31549.800937] usb 1-9: Product: QUSB_BULK_SN:C67DF5D4
      [31549.800941] usb 1-9: Manufacturer: Qualcomm CDMA Technologies MSM
      [31549.800944] usb 1-9: SerialNumber: 22d3828

      I see this in lsusb

      Bus 001 Device 015: ID 05c6:900e Qualcomm, Inc. QUSB_BULK_SN:C67DF5D4

      fastboot devices doesn't list anything.

      Is there a way to fix or debug this? Thank you.

      posted in Ask your questions right here!
      John KellerJ
      John Keller
    • EGL example for voxl2

      I saw that the voxl2 supports OpenGLES 3.1 and I would like to port over some of our OpenGL code to run on the voxl2. I am starting off by trying to get EGL to initialize with the following program but it is failing on the call to eglInitialize with error 0x3001 which is EGL_NOT_INITIALIZED. I am building with gcc egl-query.c -o egl-query -lEGL.

      Is there any examples of using EGL/OpenGL or does anyone know how to get this working?

      Thank you

      #include <EGL/egl.h>
      #include <EGL/eglext.h>
      #include <stdio.h>
      
      int main(void)
      {
          EGLDisplay display;
          EGLint major, minor;
      
          display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
          if (display == EGL_NO_DISPLAY) {
              printf("eglGetDisplay failed\n");
              return 1;
          }
      
          if (!eglInitialize(display, &major, &minor)) {
              EGLint err = eglGetError();
              printf("eglInitialize failed (0x%x)\n", err);
              return 1;
          }
      
          printf("EGL initialized successfully\n");
          printf("EGL version: %d.%d\n", major, minor);
      
          const char* vendor     = eglQueryString(display, EGL_VENDOR);
          const char* version    = eglQueryString(display, EGL_VERSION);
          const char* extensions = eglQueryString(display, EGL_EXTENSIONS);
          const char* clientapis = eglQueryString(display, EGL_CLIENT_APIS);
      
          printf("EGL_VENDOR:      %s\n", vendor ? vendor : "(null)");
          printf("EGL_VERSION:     %s\n", version ? version : "(null)");
          printf("EGL_CLIENT_APIS: %s\n", clientapis ? clientapis : "(null)");
          printf("EGL_EXTENSIONS:\n%s\n", extensions ? extensions : "(null)");
      
          eglTerminate(display);
          return 0;
      }
      
      
      posted in VOXL SDK
      John KellerJ
      John Keller