Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

A simple Java library which allows for coordinate frame transformations.

License

Notifications You must be signed in to change notification settings

kylecorry31/CoordinateFrames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coordinate Frames and Transformations

Build Status

This library allows for the transformation from one coordinate frame to another, allowing for objects to be specified relative to a specific frame, but then converted to another frame of reference.

The following code will create a TransformationMap to convert between coordinate frames.

TransformationMap tf = new TransformationMap();
tf.put("Camera", new Pose(new Point(1, 2, 3), Quaternion.zero));
tf.put("Arm", "Camera", new Pose(new Point(0, 0, 0), new Quaternion(Math.PI / 2, Vector3.k)));
Point fromOrigin = tf.transformToOrigin(new Point(-1, -2, -3), "Camera");
Point fromArm = tf.transform(new Point(-1, -2, -3), "Camera", "Arm");

About

A simple Java library which allows for coordinate frame transformations.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages