urdf-loader
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -7,4 +7,8 @@ # Changelog | ||
## Unreleased | ||
## [0.4.1] - 2018-08-19 | ||
### Changed | ||
- README update | ||
## [0.4.0] - 2018-08-19 | ||
### Changed | ||
- Add "path" variable to parse function signature | ||
@@ -11,0 +15,0 @@ - URDF paths are no longer resolved relative to the package path |
{ | ||
"name": "urdf-loader", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "URDF Loader for THREE.js and webcomponent viewer", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -26,6 +26,10 @@ # javascript urdf-loader | ||
loader.load( | ||
'.../package/dir/', // The equivelant of a (list of) ROS package(s):// directory | ||
'T12/urdf/T12.URDF', // The path to the URDF within the package OR absolute | ||
'T12/urdf/T12.URDF', // The path to the URDF within the package OR absolute | ||
{ | ||
packageName : '.../package/dir/' | ||
}, // The equivelant of a (list of) ROS package(s):// directory | ||
robot => { }, // The robot is loaded! | ||
(path, ext, done) => { }, // Callback for each mesh for custom mesh processing and loading code | ||
{ | ||
loadMeshCb: (path, ext, done) => { }, // Callback for each mesh for custom mesh processing and loading code | ||
} | ||
); | ||
@@ -135,11 +139,11 @@ </script> | ||
### name : String | ||
#### name : String | ||
The name of the robot described in the `<robot>` tag. | ||
### links : Object | ||
#### links : Object | ||
A dictionary of `linkName : URDFLink` with all links in the robot. | ||
### joints : Object | ||
#### joints : Object | ||
@@ -152,19 +156,19 @@ A dictionary of `jointName : URDFJoint` with all joints in the robot. | ||
### name : String | ||
#### name : String | ||
The name of the joint. | ||
### jointType : String | ||
#### jointType : String | ||
The type of joint. Can only be the URDF types of joints. | ||
### limit : Object | ||
#### limit : Object | ||
An object containing the `lower` and `upper` constraints for the joint. | ||
### axis : THREE.Vector3 | ||
#### axis : THREE.Vector3 | ||
The axis described for the joint. | ||
### angle : Number | ||
#### angle : Number | ||
@@ -175,3 +179,3 @@ _readonly_ | ||
### ignoreLimits : Boolean | ||
#### ignoreLimits : Boolean | ||
@@ -186,3 +190,3 @@ Whether or not to ignore the joint limits when setting a the joint position. | ||
### URDFLink | ||
## URDFLink | ||
@@ -189,0 +193,0 @@ #### name |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
327
1
68053