# ursim_py **Repository Path**: HelioStudio/ursim_py ## Basic Information - **Project Name**: ursim_py - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-03 - **Last Updated**: 2025-11-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # "mr_urdf_loader" Python Package Instructions # ## Dependency Requirement `numpy` , `modern_robotics` , `urdfpy` should be preinstalled. ## Installing the Package ## ```bash pip install mr_urdf_loader ``` or ```bash git clone https://github.com/tjdalsckd/mr_urdf_loader.git cd mr_urdf_loader pip install . ``` ## Importing the Package ## To import the package, we recommend using ``` from mr_urdf_loader import loadURDF urdf_name = "./test.urdf" MR=loadURDF(urdf_name) M = MR["M"] Slist = MR["Slist"] Mlist = MR["Mlist"] Glist = MR["Glist"] Blist = MR["Blist"] ``` ## Examples ## ### 1. Simple MR test ```bash cd tests/example/3DoF python3 urdf_loader.py ``` ![image](https://user-images.githubusercontent.com/53217819/202921164-f450da46-58bd-4335-a0b7-018957b851b0.png) ### 2. Pybullet Simulation ```bash cd tests/example/3DoF pip install pybullet python3 sim.py ``` ![image](https://user-images.githubusercontent.com/53217819/202921126-a5c297fb-fd0f-4ef4-91fe-4e0b7821c516.png) ### 3. UR5 Simulation ```bash cd tests/example/ur5 python3 ur5_sim.py ``` ![image](https://user-images.githubusercontent.com/53217819/202973442-54be472e-c43e-4569-981f-bc87bf00b678.png) ## 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 Issue In the case of PyBullet, if the final link in the URDF does not include an tag, the dynamics calculations will differ. ``` ``` Therefore, to ensure consistent dynamic behavior with the Modern Robotics library, even links with zero mass should explicitly include inertial information as follows: ``` ```