• RobotHubRAE
  • RAE - Default app stops with "No module named 'robothub'"

When I changed the version of the RAE - Default app to 1.0.0, 1.1.0, and 1.1.1, the error never changed.

I have never seen the Local Frontend of the RAE app normally work.

The firmware version of my RAE is Luxonis OS 1.13.

    Thanks for the comment.

    I updated my RAE with the following commands.

    $ wgethttps://luxonisos.fra1.digitaloceanspaces.com/build/1.13-rae%2B1e5c10578c127185e066f37a20dcaa862d62c1d2/luxonisos-rae-1.13.dm-verity.mender

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

    Then, the error message is changed.

    2023-10-10 02:46:26 GMT+9 INFO | start:103 => Node started!
    2023-10-10 02:46:26 GMT+9 INFO | _spin:106 => rlcpy thread> Start
    2023-10-10 02:46:26 GMT+9 INFO | start:98 => Created ROS2 node with name: base_container...
    2023-10-10 02:46:26 GMT+9 INFO | start:95 => ROS2 context initialized.
    2023-10-10 02:46:26 GMT+9 INFO | on_start:34 => Starting the app...
    2023-10-10 02:46:09 GMT+9 INFO | stop:131 => Shutting down ROS2 context...
    2023-10-10 02:46:09 GMT+9 INFO | _destroy_publishers_and_subscribers:142 => Destroying /battery_status subscriber...
    2023-10-10 02:46:09 GMT+9 INFO | _destroy_publishers_and_subscribers:138 => Destroying /cmd_vel publisher...
    2023-10-10 02:46:09 GMT+9 INFO | stop:125 => Destroying ROS2 node...
    2023-10-10 02:46:09 GMT+9 INFO | _spin:112 => rlcpy thread> Done
    2023-10-10 02:46:09 GMT+9 INFO | on_stop:42 => Stopping the app...
    2023-10-10 02:46:09 GMT+9 Traceback (most recent call last):
    2023-10-10 02:46:09 GMT+9
    2023-10-10 02:46:09 GMT+9 IndexError: list index out of range
    2023-10-10 02:46:09 GMT+9 File "<string>", line 82, in init_streams
    2023-10-10 02:46:09 GMT+9 File "<string>", line 39, in on_start
    2023-10-10 02:46:09 GMT+9 self.on_start()
    2023-10-10 02:46:09 GMT+9 File "/lib/robothub/app.py", line 161, in _run
    2023-10-10 02:46:09 GMT+9 ERROR | _run:165 => App crashed during initialization
    2023-10-10 02:46:09 GMT+9 INFO | create_subscriber:174 => Creating /battery_status subscriber
    2023-10-10 02:46:09 GMT+9 INFO | create_publisher:152 => Creating /cmd_vel publisher

    Hi, can you check the app has the only device available assigned to it? You should see it on the right when on detail of app or under perception devices it shows assigned app.

    yoneken

    I had a similar error when I started out. I ended up uninstalling the app that was put on the robot and re-installing with version 1.1.0. It seams that sometimes the version change dose not work.

    Wow!
    After reassigning the device to my RAE on the robothub's Perception Apps page, the error has gone!

    Now, I can control my RAE with Local Frontend.

    Thank you very much!!

    I resolved the problem by uninstalling the default app 1.1.0 and then installing 1.1.1