• RAE
  • Example codes for RAE

garymok apologies, they merged some PR's since and it's currently broken. Their repo should be ignored for now, I think. Pack away the rae, it's no use atm.

garymok Check the repo again, just use their prebuilt image on docker hub

Just received my rae. Trying to get it on to the internet. Error at the second step is:

root@keembay:/etc# wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf

Successfully initialized wpa_supplicant

nl80211: kernel reports: Match already configured

nl80211: Could not configure driver mode

nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0

wlp1s0: Failed to initialize driver interface

reset rae and tried again. No luck. It is not able to join the network and get a DHCP address. What could I try next?

Also noticed that after the first login via wifi, I have only been able to login via usb.

Tx.

  • erik replied to this.

    Hi Wijay ,
    Could you try following Robothub installation? That will also configure the wifi before connecting to the robothub cloud.

      hi @Wijay, I found that I needed to enter the command wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf twice (fails the first time).

      The following sequence of commands works for my rae …
      systemctl stop systemd-networkd
      wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf
      ps ax | grep wpa_supplicant # If process isn't running, try again
      wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf
      systemctl status systemd-networkd # Network daemon should have restarted automatically
      ifconfig wlp1s0 # Interface should be up and have an IP address

        hi @erik, whilst the Luxonis RobotHub looks useful … it is a good thing for the rae (and all other products) to be able to operate independently of RobotHub in other cases. After all, it is running Linux … and Wi-Fi should just work 🙂

        I haven't figured out yet why the wpa_supplicant process is failing on my rae … the first time that the wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf command is entered and then succeeds the second time, but will diagnose further.

        Regarding using the Luxonis RobotHub to configure Wi-Fi on the rae robot … entering one's personal Wi-Fi network SSID and password on a third-party web-site is a security risk, which some people may be comfortable with, but really is a poor security practice that should be avoided. At the very least, offering an open-source tool that can be reviewed and run locally to produce a QR-code on the desktop would be better … thanks !

        Note: I realize that completing a KickStarter hardware project … including all the software, firmware and documentation is a huge endeavor. Please don't take my comments as being overly critical … I like the Luxonis products, as well as the commitment to open-source.

          erik Hi Erik, I assume you are referring to the method where you scan the QR code? Tried that first and it does not work.

          geekscape Ji geekscape

          Thanks. Running the wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant.conf command the second time works.

          Many thanks. Let me proceed and see how I go.

          Stupid question. Where is the remote control app for rae? Or is it served as an http page on rae itself?

          Thanks.

            Wijay

            Sorry. Figured out that it is <ip address of rae>:9010.

            geekscape @erik

            Something that could be added to docs would be to use wpa_passphrase <ssid> to generate part of the wpa_supplicant.conf file and not have the password in plaintext anywhere by not copying the #psk= portion of the output.

            5 days later