Socket
Socket
Sign inDemoInstall

urdf-loader

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urdf-loader - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

6

CHANGELOG.md

@@ -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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc