Newbee: Quick Starter to get Code
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.
- Edited
Upgrading Firmware
SSH into Rae
Change to home folder
cd ~
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):
- 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.
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?
- Edited
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.)
- Edited
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.
- Edited
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.
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.
- Edited
Hi Philllip
There is the standard RobotHub FE API for communicating with your app from said app's frontend
there is nothing to install right now, its auto injected in your frontend when served from the frontend
folder
this means it is rather difficult to use React/other frameworks, develop externally
but it's easy to use in plain Javascript (<script>
) for very simple things
the documentation on this was pulled, as the API is changing right now, and new documentation is WIP - although that's going to require a new firmware to use, accompanying libraries will be released and more.
You can, however, still see it used in our luxonis/robothub-examplestree/main repository
as for replicating some of the functionality of the official app - some of the calls/features are internal and inaccessible to other apps right now as this app is being rewritten for public consumption at the moment.
Also you can't really write just frontend for the official RAE app - there is no way to connect to it
it must be the app's official frontend (placed as part of apps source) to connect to it.
Could you be a bit more specific about what you are trying to achieve?
Thanks,
Jaka