File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 33Open a wav and push samples to the speaker. This is a toy example, in real
44conditions output from a microphone or a text-to-speech engine would be
55 pushed to the speaker instead.
6+
7+ It requires the 'rerun-loader-urdf' package to be installed. It's not on PyPI,
8+ so you need to install it from the GitHub repository: pip install git+https://github.com/rerun-io/rerun-loader-python-example-urdf.git
69"""
710
811import logging
Original file line number Diff line number Diff line change 1818import numpy as np
1919import requests
2020import rerun as rr
21- from rerun_loader_urdf import URDFLogger
21+
22+ try :
23+ from rerun_loader_urdf import URDFLogger
24+ except ImportError :
25+ raise ImportError (
26+ "The 'rerun-loader-urdf' package is required for this module. "
27+ "Please install it from the GitHub repository: "
28+ "pip install git+https://github.com/rerun-io/rerun-loader-python-example-urdf.git"
29+ )
2230from urdf_parser_py import urdf
2331
2432from reachy_mini .kinematics .placo_kinematics import PlacoKinematics
You can’t perform that action at this time.
0 commit comments