Skip to main content

"mr_urdf_loader" Python Package Instructions

Dependency Requirement

numpy , modern_robotics , urdfpy should be preinstalled.

Installing the Package

  pip install mr_urdf_loader

Importing the Package

To import the package, we recommend using

from mr_urdf_loader import loadURDF
MRSetup = loadURDF(urdf_name)

Examples

1. Simple MR test

cd example/3DoF
python3 urdf_loader.py

image

2. Pybullet Simulation

cd example/3DoF
pip install pybullet
python3 sim.py

image

3. UR5 Simulation

cd example/ur5
python3 ur5_sim.py

image

Using the Package Locally

It is possible to use the package locally without installation. Download and place the package in the working directory. Note that since the package is not installed, you need to move the package if the working directory is changed. Importing is still required before using.

4. Pybullet Error

Pybullet의 경우 마지막 링크 urdf를 다음과 같이 inertial 정보를 기입하지 않는 경우 임의의 값으로 수정하여 Dynamics를 해석하는 듯 싶다.

<link name="eef_link" />

따라서 다음처럼 mass가 없는 링크에도 inertial 정보를 기입해야 Modern robotics library와 동일하게 계산된다.

<link name="eef_link">
  <collision>
      <geometry>
        <box size="0.00 0.00 0.00"/>
      </geometry>
      <origin rpy="0 0 0" xyz="0.00 0 0"/>
    </collision>
    <inertial>
      <mass value="0.0"/>
      <origin rpy="0 0 0" xyz="0.0 0.0 0.0"/>
      <inertia ixx="0.0" ixy="0.0" ixz="0.0" iyy="0.0" iyz="0.0" izz="0.0"/>
    </inertial>
</link>

Release files for mr-urdf-loader 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mr-urdf-loader 0.0.10
File Size Uploaded
mr-urdf-loader-0.0.10.tar.gz 7.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mr-urdf-loader 0.0.10
File Interpreter ABI Platform
mr_urdf_loader-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 MB

Release files / mr-urdf-loader-0.0.10.tar.gz

Download URL mr-urdf-loader-0.0.10.tar.gz
Size 7.4 MB
Tags Source
SHA-256 checksum
How to use checksums
2bffc1d7f47b60f6d0329c8629f7f86fae77c44bf4ad1257b0e5e1e6cbf1e169
BLAKE2b-256 checksum
How to use checksums
e16727af1df655aea268cde44020a009c1cf048043920413560b9ac120fb8322
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / mr_urdf_loader-0.0.10-py3-none-any.whl

Download URL mr_urdf_loader-0.0.10-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63d6990fb761c49e5bd367d6b32e1a027f4cc16c3de21d022f806246d05ae054
BLAKE2b-256 checksum
How to use checksums
5ddcadad7955029d42fad1a1bde99081068a449875cce8708b5dc62c1bb2a24c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page