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

Home the robot through the web interface #60

Open
1 of 3 tasks
hello-binit opened this issue Jun 25, 2024 · 2 comments
Open
1 of 3 tasks

Home the robot through the web interface #60

hello-binit opened this issue Jun 25, 2024 · 2 comments
Assignees

Comments

@hello-binit
Copy link
Collaborator

hello-binit commented Jun 25, 2024

Since some of Stretch's encoders are relative, there's a homing sequence to find zero for those joints when Stretch wakes up. Typically, this would include running the stretch_robot_home.py CLI while SSH-ed into the robot. With the remote teleop capability this repo provides, it would be nice to offer an easy way to home the robot through the web interface. Likely, this would use the /home_the_robot ROS service provided by the driver node (stretch_driver in the Stretch Core pkg) to perform the homing procedure, and the /is_homed topic (std_msgs/Boolean) to check if the robot has been homed. The button to home the robot should be prominently placed.

From a UX perspective, the web interface should disable teleop of all joints that use relative encoders (e.g. arm, lift, wrist yaw, gripper) until the robot has been homed. Other joints (e.g. the mobile base, the head pan/tilt, wrist pitch, and wrist roll) can work normally because their encoders are absolute.

Lastly, but most importantly, the homing procedure involves raising and extending the arm. If the robot is in a narrow area, there's risk that the robot can topple itself or rearrange the environment while it blindly homes the joints. Therefore, the best version of this feature includes a pre-homing scan to confirm that the area immediately surrounding the are is clear of obstacles.

TODOs

  • Provide a way to home the robot
  • Grey-out joints that have not been homed
  • Write a pre-homing scanning routine to ensure it is safe to jog the arm
@hello-binit hello-binit changed the title Home the robot from the web interface Home the robot through the web interface Jun 25, 2024
@hello-binit hello-binit mentioned this issue Aug 30, 2024
2 tasks
@hello-binit
Copy link
Collaborator Author

Hey @hello-vinitha, reopening this issue since tasks 2 and 3 in this issue haven't been addressed yet.

@hello-binit hello-binit reopened this Sep 25, 2024
@hello-vinitha
Copy link
Collaborator

Hey @hello-vinitha, reopening this issue since tasks 2 and 3 in this issue haven't been addressed yet.

Oops, my bad! Completely missed those. I can work on those.

@hello-vinitha hello-vinitha self-assigned this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants