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

Introduce stretch_configure_tool.py #287

Merged
merged 9 commits into from
Feb 20, 2024
Merged

Conversation

hello-binit
Copy link
Contributor

This PR introduces a new CLI called stretch_configure_tool.py. It eliminates a pain point around changing the robot.tool parameter and updating the URDF (and exported URDF). The CLI does 3 things:

  1. Check if tool needs to change
    • It compares the tool against the supported tools for that model
    • It checks that the hardware visible matches what it would expect for the tool
    • Screenshot from 2024-02-20 05-19-22
  2. If the tool does need to change, it intelligently determines what tool should be configured
    • Filters by the supported tools
    • Filters by the visible hardware
    • If ambiguity remains, it prompts the user to select a tool:
    • Screenshot from 2024-02-20 02-04-08
  3. Configures the new tool
    • Changes the robot parameters in stretch_configuration_params.yaml (robot.tool and i_feedforward)
    • Updates the calibrated URDF in ROS. Builds off Stretch URDF.
    • Exports the calibrated URDF to Python
    • Screenshot from 2024-02-20 05-19-52

This tool supports all three models, all officially supported tools, Ubuntu 20.04 and 22.04.

@hello-binit hello-binit merged commit f329a9f into master Feb 20, 2024
@hello-binit hello-binit deleted the feature/configure_tool branch February 20, 2024 10:22
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

Successfully merging this pull request may close these issues.

None yet

1 participant