• RAE
  • Newbee: Quick Starter to get Code

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

  • Mike replied to this.

    Hi Jaka, I'm thinking that the available run mode only for the RAE default app and with local front-end control is working instead of manual. I'd like to create my remote app running either Java or Python to send the same API command interface method to RAE. For a simple autonomous RAE driving practice application, I can view the the video stream from a selected front or rear view to make the driving control decision to go along a straight or curve path and even to avoid an obstacle. This is what I want to achieve.

    Thanks,

    Phillip

    10 days later

    jakaskerl

    It seems there are many people coming on board with RAE … not all have a background from the previous Luxonis devices and cameras … let alone the Luxonis APIs.

    Typically there would be expectations to be able to move RAE via simple python code, to stream camera feeds, reading image frames … all from python code … this would open up "programming" RAE to a lot of people. Not everyone here is wanting leading edge AI vision on day one … rather expecting to start small and grow into it. Even ROS is a major jump for some.

    Running local is another benefit. Not everyone wants 24/7 cloud connections just to run RAE.