update dependency
This commit is contained in:
parent
4e726be376
commit
53fe9bf51a
59 changed files with 8277 additions and 10 deletions
|
@ -53,7 +53,6 @@ declare global {
|
|||
getPredicateValue(callBack: (value: V) => boolean): K[];
|
||||
incrementValue(key: K): void;
|
||||
}
|
||||
interface Vector3 {}
|
||||
}
|
||||
export const extensions = () => {
|
||||
StringExtensions();
|
||||
|
|
|
@ -37,7 +37,7 @@ import { throttle } from "../helper/throttle";
|
|||
import { Asset, InstanceRgbCamera, RobossemblerAssets, SceneSimpleObject } from "../model/robossembler_assets";
|
||||
import { LoadingManager } from 'three';
|
||||
import URDFLoader, { URDFLink } from 'urdf-loader';
|
||||
import { UrdfTransforms, coordsToQuternios, coordsToVector } from "../../features/simulations/tranforms_model";
|
||||
import { UrdfTransforms, coordsToQuaternion } from "../../features/simulations/tranforms_model";
|
||||
|
||||
Object3D.DEFAULT_UP = new Vector3(0, 0, 1);
|
||||
|
||||
|
@ -475,7 +475,7 @@ export class CoreThreeRepository extends TypedEvent<BaseSceneItemModel> {
|
|||
const currentLink = this.sceneFrame[transform?.child_frame_id ?? ""]
|
||||
const currentLinkParrent = this.sceneFrame[transform?.header.frame_id ?? ""]
|
||||
// currentLink.position.copy(coordsToVector(transform.transform.translation))
|
||||
currentLink.quaternion.copy(coordsToQuternios(transform.transform.rotation))
|
||||
currentLink.quaternion.copy(coordsToQuaternion(transform.transform.rotation))
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue