Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The data package

Peter Corke edited this pageFeb 28, 2021 ·1 revision

The toolbox contains executable code, mostly Python but some C code for dynamics, and data such as STL meshes, URDF files, and some datasets.

The data is getting close to 200MB compared to under 20MB for the code. PyPI has a limit on the total amount of data a package can have, the bigger each release of a package is, the few versions can be held at any one time. Unlike the code, the data doesn't change much, but it adds baggage to every PyPI release.

For this reason the data part of the Toolbox is nowpackaged and distributed separately. You don't need to explicitly install the data package, since it is a dependency of RTB and will automatically installed when you when you install RTB-P.

Files included

FolderPurpose
datamiscellaneous STL files and data sets
meshesSTL mesh models for DH robots
xacroURDF/xacro models for URDF robots

Accessing files in the data package

pip will install the package at some place of its choosing in your filesystem, but the path to any of the files can be easily found:

fromroboticstoolbox.tools.dataimportpath_to_datafilepath=path_to_datafile("xacro/franka_description/robots/frankie_arm_hand.urdf.xacro")

Data files, such as those that support examples in the RVC book, can be similarly located and loaded

fromroboticstoolbox.tools.dataimportloadmatm=loadmat("data/house.mat")

which finds and parses a MATLAB style.mat file, then returns its value.

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp