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] enabling_button_pressed() always return False when in Auto(Remote) Mode #89

Closed
ShirunK opened this issue Dec 11, 2024 · 3 comments · Fixed by #93
Closed

[BUG] enabling_button_pressed() always return False when in Auto(Remote) Mode #89

ShirunK opened this issue Dec 11, 2024 · 3 comments · Fixed by #93
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ShirunK
Copy link

ShirunK commented Dec 11, 2024

Version information

  • RDK: [v1.5.1]
  • Robot software: [v2.10.0]
  • OS: [Ubuntu 22.04 - x86_64]

Describe the bug
In Auto(Remote) mode, enabling_button_pressed() always return False even the enabling button is being pressed. In Auto and Manual mode, the func works well.

Steps to reproduce

robot = flexivrdk.Robot(args.robot_sn)
while not robot.fault():
   print(robot.enabling_button_pressed())
@ShirunK ShirunK added the bug Something isn't working label Dec 11, 2024
@pzhu-flexiv
Copy link
Collaborator

@ShirunK Thanks for the feedback. Does this issue persist if you power cycle the robot with the mode switch on the motion bar kept at the Auto position?

@ShirunK
Copy link
Author

ShirunK commented Dec 23, 2024

@ShirunK Thanks for the feedback. Does this issue persist if you power cycle the robot with the mode switch on the motion bar kept at the Auto position?

@pzhu-flexiv Thanks for your reply. Upon checking, If the robot is power-cycled with the mode switch on the motion bar set to Auto, after restart, enabling_button_pressed() always returns False in Auto mode, regardless of button presses. Switching to Manual mode and back to Auto resolves this, allowing the command to return True when the button is pressed. However, in Auto (Remote) mode, the command always returns False, irrespective of button presses.

@pzhu-flexiv
Copy link
Collaborator

@ShirunK Hi, thanks for the feedback. The bug has been identified and will be fixed in the upcoming v1.6 release.

@pzhu-flexiv pzhu-flexiv added this to the v1.6 milestone Jan 2, 2025
@pzhu-flexiv pzhu-flexiv linked a pull request Jan 9, 2025 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.

2 participants