urdf-loader
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -7,2 +7,7 @@ # Changelog | ||
## [0.6.1] - 2019-03-06 | ||
### Fixed | ||
- Continuous joints not being able to rotate. | ||
- Always parse joint angles to numbers | ||
## [0.6.0] - 2019-02-23 | ||
@@ -9,0 +14,0 @@ ### Added |
{ | ||
"name": "urdf-loader", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "URDF Loader for THREE.js and webcomponent viewer", | ||
@@ -5,0 +5,0 @@ "main": "umd/URDFLoader.js", |
@@ -204,3 +204,3 @@ # javascript urdf-loader | ||
```html | ||
// 1. Example for single package named `default_package` | ||
<!-- 1. Example for single package named `default_package` --> | ||
<urdf-viewer package=".../path/to/default_package" ...></urdf-viewer> | ||
@@ -212,6 +212,6 @@ ``` | ||
```html | ||
// 1. Example for single package named `default_package` with fallback: | ||
<!-- 1. Example for single package named `default_package` with fallback: --> | ||
<urdf-viewer package=".../path/to/parent" ...></urdf-viewer> | ||
// since `parent` does not match `default_package` | ||
// the path ".../path/to/parent/default_package" is assumed | ||
<!-- since `parent` does not match `default_package` | ||
the path ".../path/to/parent/default_package" is assumed --> | ||
``` | ||
@@ -224,3 +224,3 @@ | ||
```html | ||
// 2. Example for serialized package map that contains `package1` and `package2` | ||
<!-- 2. Example for serialized package map that contains `package1` and `package2` --> | ||
<urdf-viewer package="package1:.../path/to/package1, package2:.../path/to/package1" ...></urdf-viewer> | ||
@@ -227,0 +227,0 @@ ``` |
@@ -108,2 +108,4 @@ import { Object3D, Quaternion } from 'three'; | ||
values = values.map(v => parseFloat(v)); | ||
if (!this.origPosition || !this.origQuaternion) { | ||
@@ -128,3 +130,3 @@ | ||
if (!this.ignoreLimits) { | ||
if (!this.ignoreLimits && this.jointType === 'revolute') { | ||
@@ -131,0 +133,0 @@ angle = Math.min(this.limit.upper, angle); |
@@ -112,2 +112,4 @@ (function (global, factory) { | ||
values = values.map(v => parseFloat(v)); | ||
if (!this.origPosition || !this.origQuaternion) { | ||
@@ -132,3 +134,3 @@ | ||
if (!this.ignoreLimits) { | ||
if (!this.ignoreLimits && this.jointType === 'revolute') { | ||
@@ -135,0 +137,0 @@ angle = Math.min(this.limit.upper, angle); |
Sorry, the diff of this file is not supported yet
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
238520
2691