• RAE
  • Newbee: Quick Starter to get Code

So far I have worked out the following to get some code to start with … there maybe easier ways but I have found nothing here yet.

  1. Install FW: Rae v1.13
  2. Install Default app in develop mode by following below …
  3. Perception Apps -> Install App -> Develop -> Rae default app -> v1.1.1 -> Rae -> Install with selected
  4. Wait for install to complete
  5. Click the app (robot icon)
  6. Click code editor
  7. Top menu right side -> Start App
  8. Top menu right side -> Click the round circle
  9. Login in to manage
  10. Perception Apps
  11. Open Front end
  12. Wait for connection to happen - press refresh if nothing there
  13. Click take control of your Rae
  14. Up and running !

The main thing is the code in step 6 … I suspect it is a good starting place.

    Hi Mike
    Thanks for posting this Mike 🙂.
    Maybe one thing to add, for anyone reading this in the future, please use the latest version of the app/FW to make sure the know issues are ironed out.

    Other notes for NewBees from the KickStarter campaign:

    • As of 14th Oct 2023 "RAE - Default app" is the only "Perception App" made for Rae - others appear to install but are for other devices and will not run - some need a soft/hard reset to recover Rae.
      Other Rae app may appear in the future though.
    • Gone are the days of messing around with DHCP and ip addresses, Rae is next level !
      When you plug the USB lead into a Windows 11 PC, Windows will automatically add in a new Ethernet port.
      This takes time and ssh will fail until fully installed.
      Progress can be followed from the:
      Windows Settings -> Network & internet -> Ethernet tab
      Then select the new port (unplug cable and replug in while on this page to find new Ethernet port), once found you can rename it to Rae. Clicking the new Ethernet connection will show Rae's IP address if all has gone well.
    • Using Putty the host name for Rae is root@192.168.197.55 to ssh (or Windows default ssh from command prompt)
    • For soft reset (effectively the same as hard reset without pressing the reset button AFAIK):
      SSH into Rae … then use:
      "rm -rf /data"
      "rm -rf /var"
      "rm -rf /etc"
      "reboot"
    • As of 14th Oct 2023, the Mobile app does not exist … yet 🙂

    I hope this helps people get started.

    For the first step (installing latest firmware) - could you provide a link for where to get it? I have been searching but been able to find any information on where to find firmware updates. The docs list the command to run but not where to find the link.

    Upgrading Firmware

    1. SSH into Rae

    2. Change to home folder

    cd ~

    1. Use wget to get the latest version (file with the newest date) from here:
      Official Releases: https://luxonisos.fra1.digitaloceanspaces.com/index.html?prefix=release/
      or
      Latest build: https://luxonisos.fra1.digitaloceanspaces.com/index.html?prefix=build/

      I used this at the time (Rae v1.13):

    1. Once downloaded install with:

    mender -install [insert filename here]; reboot

    EG:

    mender -install luxonisos-rae-1.13.dm-verity.mender; reboot

    I believe it should become an official guide on Luxonis website. Here's a video for the initial post. It took me some time to figure that out.

      7 days later

      Hi sskorol ,
      Thank you for the detailed steps, we will be updating our docs shortly (perhaps based off of it).
      Thanks again, Erik

      • Mike replied to this.

        erik … You are welcome 🙂

        Cheers,
        Mike.

        The instructions here assume that RAE even has an internet connection…

        I finally got mine working by connecting to my secondary network. My primary network has special chars in the SSID and I think the encoding in the QR code couldn't account for that. I am able to now log into the robot and load programs as shown in the video above!

        I am noticing though that my robot is drifting as it drives. Is there a native way to adjust the trim for the motors?

        21 days later

        Mike I don't get beyond step 3: I can't select anything in "Develop" (only for "Run")… Is 1.13 required? Still running 1.12, since apparently 1.13 is not yet released (and 1.12 gave me enough headaches so far…).

        When installing "Run", I can see the default app:

        When installing "Develop", i can't:

        (HelloRAE I created myself. Deleting it doesn't change anything (except that the window for "Develop" doesn't show any app then, obviously.)

          Hi DiMa
          It is meant to work that way. The App Store apps don't work in develop mode. The Default app will be made open source and enabled for developer mode, we just need to make some updates to the source code first.

          Thanks,
          Jaka

          I were referring to the first post in this thread - so the described procedure simply doesn't work (anymore) - correct?

          So how does one start to code on the rae? I can't find any examples, there are no instructions, there is basically no documentation - and even the app.py created by RH if you create a new app doesn't work on rae, because the methods used there simply don't exist in the robothub library shipped with rae.

          • Mike replied to this.

            Hi @DiMa
            Hm, you are right. Perhaps there was a develop mode available for some older version of the app and RH.
            Try the examples from here.

            Thanks,
            Jaka

              DiMa

              Hello DiMa …

              I just tried going through the process at the start of this thread again and it looks like things have changed … currently I can not see the Default Rae app in develop (lucky I took a clone of it). It looks like someone at Luxonis needs to tick a box to allow it to be used in develop mode.

              Unfortunately I do not have time to go through it again … so will shelve Rae for another month … and wait for some updates and documentation to be released.

              Rae has so much potential … but seems in dire need of simple back to basics … like move left … move right … from a simple python script … rather than nothing works and no docs.

              My suggestion is to forget about RoboHub for the moment and try and get something running local on Rae.

              jakaskerl Try the examples from here.

              I'll give it a try…

              But seriously: When will we get proper documentation?!

                Hi DiMa
                We are working on it, the docs should have more info/guides every day. Also make sure to look here, not the default docs page.

                Thanks,
                Jaka

                Hi Jaka, I'm looking for the command guide for the call interface from the local front end to the RAE. These commands are the same as those being used in the button Local Front End of the RobotHub dashboard to send robot control and receive image packages. Can you share a link to that guide for me to work on while waiting for your release? Thanks.