Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Repeatably attempting to connect to a Rizon 10 by creating a flexivrdk.Robot while the controler is still bootin causes the controller to never boot. #75

Closed
skyrimax opened this issue Jul 16, 2024 · 1 comment · Fixed by #72
Assignees
Labels
bug Something isn't working
Milestone

Comments

@skyrimax
Copy link

Version information

  • RDK: v0.10
  • Robot softwarepackage:v2.11.5
  • OS: L4T 5.10.104-tegra, arm64v8

Describe the bug
Repeatably attempting to connect to a Rizon 10 by creating a flexivrdk.Robot while the controler is still bootin causes the controller to never boot. We waited well over 10 minutes.

Steps to reproduce
Here is simple python script that should allow you to reproduce the issue

import flexivrdk

robot_ip_addr = 'ENTER YOUR ROBOT IP HERE'
local_ip_addr = 'ENTER YOUR LOCAL IP HERE

while True:
    try:
        robot = flexivrdk.Robot(robot_ip_addr, local_ip_addr)
        logger.info('Connected to Barry robot')
        break
    except Exception as e:
        logger.warning(f'Caught {type(e)} while attempting to connect to Barry robot: {e}, retrying in 5s')
        await asyncio.sleep(5)
        continue
  1. Unplug/switch off the controller
  2. Start the above pyhton script
  3. Plug/switch on the controller
  4. Wait
  5. The controller never completelly boots and the connection is never established

Expected behavior
We would expect the controller the controller to boot normally and the RDK to connect once the controller is ready

Additional context
We don't think this has an influence, but out script runs in a docker container with the priviledged flag enabled.

@skyrimax skyrimax added the bug Something isn't working label Jul 16, 2024
@dajun-flexiv
Copy link

dajun-flexiv commented Jul 16, 2024

Hi,

This behavior was later fixed in RDK v1.4. I have just tested it on v1.4 and it was working. Unfortunately, v1.4 is not compatible with the currently released robot firmware v2.11.5. I will keep you updated on future robot firmware releases. Sorry for the inconvenience.

If you would be so kind, can you change the title of the issue to be more descriptive, so other users can also learn from this problem? Thank you so much!

image

@pzhu-flexiv pzhu-flexiv changed the title [BUG] [BUG] Repeatably attempting to connect to a Rizon 10 by creating a flexivrdk.Robot while the controler is still bootin causes the controller to never boot. Jul 23, 2024
@pzhu-flexiv pzhu-flexiv added this to the v1.4 milestone Jul 23, 2024
@pzhu-flexiv pzhu-flexiv linked a pull request Jul 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants