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

[tutorials] Highlight remote (http) PackageMap capability more prominently #19519

Open
jwnimmer-tri opened this issue Jun 2, 2023 · 1 comment
Assignees
Labels
component: tutorials Drake's tutorials, examples, and website content priority: low type: feature request

Comments

@jwnimmer-tri
Copy link
Collaborator

In #9498 we added AddRemote feature to PackageMap but it seems many people don't know about it, or don't easily find it, or can't figure out how to use it.

To make everything more clear, perhaps we should add a demo as part of the authoring_multibody_simulation.ipynb tutorial.

Perhaps loading one of the dm_control models would be a good demo.

@jwnimmer-tri jwnimmer-tri added type: feature request priority: low component: tutorials Drake's tutorials, examples, and website content labels Jun 2, 2023
@jwnimmer-tri jwnimmer-tri self-assigned this Jun 2, 2023
@RussTedrake
Copy link
Contributor

in the mean time, here is a simple example of pulling from git

    parser.package_map().AddRemote(
        package_name="gcs",
        params=PackageMap.RemoteParams(
            urls=[
                f"https://github.com/mpetersen94/gcs/archive/refs/tags/arxiv_paper_version.tar.gz"
            ],
            sha256=("6dd5e841c8228561b6d622f592359c36517cd3c3d5e1d3e04df74b2f5435680c"),
            strip_prefix="gcs-arxiv_paper_version",
        ),
    )

@jwnimmer-tri jwnimmer-tri changed the title Highlight remote (http) PackageMap capability more prominently [tutorials] Highlight remote (http) PackageMap capability more prominently Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tutorials Drake's tutorials, examples, and website content priority: low type: feature request
Projects
None yet
Development

No branches or pull requests

2 participants