https://github.com/ami-iit/meshcat-viz-python

Generic visualizer of robot models based on MeshCat

https://github.com/ami-iit/meshcat-viz-python

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.2%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Generic visualizer of robot models based on MeshCat

Basic Info
  • Host: GitHub
  • Owner: ami-iit
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Size: 60.5 KB
Statistics
  • Stars: 7
  • Watchers: 4
  • Forks: 2
  • Open Issues: 2
  • Releases: 2
Created almost 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

meshcat-viz-python

Generic visualizer of robot models based on MeshCat.

Installation

You can install the project with pypa/pip, preferably in a virtual environment:

bash pip install git+https://github.com/ami-iit/meshcat-viz-python

Example

Visualize a manipulator ```python import pathlib import gym_ignition_models import numpy as np from meshcat_viz.world import MeshcatWorld # Load a model resource model_sdf_path = pathlib.Path( gym_ignition_models.get_model_resource( robot_name="panda", resource_type=gym_ignition_models.ResourceType.URDF_PATH ) ) # Open the visualizer world = MeshcatWorld() world.open() # Insert the model from a URDF/SDF resource. # Note: for URDF files support, check details in https://github.com/ami-iit/rod. model_name = world.insert_model(model_description=model_sdf_path) # Update the base position world.update_model(model_name=model_name, base_position=np.array([1.0, 0, 0])) # Update the joint positions s = world._jaxsim_models[model_name].joint_random_positions() world.update_model(model_name=model_name, joint_positions=s) ```

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Maintainers

| | @diegoferigo | |:---------------------------------------------------------------:|:------------------:|

License

BSD3

Owner

  • Name: Artificial and Mechanical Intelligence
  • Login: ami-iit
  • Kind: organization
  • Location: Italy

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 59
  • Total Committers: 3
  • Avg Commits per committer: 19.667
  • Development Distribution Score (DDS): 0.085
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
diegoferigo d****o@i****t 54
Filippo Luca Ferretti 1****i 4
Silvio Traversaro s****o@t****t 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 5
  • Total pull requests: 15
  • Average time to close issues: 3 months
  • Average time to close pull requests: 2 days
  • Total issue authors: 4
  • Total pull request authors: 3
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.33
  • Merged pull requests: 15
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • stephane-caron (2)
  • traversaro (1)
  • diegoferigo (1)
  • flferretti (1)
Pull Request Authors
  • diegoferigo (10)
  • flferretti (1)
  • traversaro (1)
Top Labels
Issue Labels
help wanted (1)
Pull Request Labels

Dependencies

.github/workflows/ci_cd.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
.github/workflows/style.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • isort/isort-action master composite
  • psf/black stable composite
pyproject.toml pypi
setup.py pypi