Skip to content

Toolbox for Coordinate Transformations for Robotics Analysis

License

Notifications You must be signed in to change notification settings

parthp08/CoordinateTransformations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoordinateTransformations

Toolbox for Coordinate Transformations for Robotics Analysis.

Documentation: https://coordinatetransformations.readthedocs.io/en/latest/

Installation

Run the following to install [older version, for latest changes please install directly from the repo]:

pip install CoordinateTransformations

for installing directly from this repo

pip install git+https://github.com/parthp08/CoordinateTransformations

Usage

from CoordinateTranformations import RotationMatrix, TrasformationMatrix

# Create Rotation Matrix object
R = RotationMatrix()

# Generate Rotation of 30 degree about X-axis
R.rotx(30, unit='deg')

# Convert Rotation Matrix to Euler Angles in degrees
alpha, beta, gamma = R.to_euler_angles(output_unit='deg')

# Get Rotation Matrix from Euler Angles
R2 = RotationMatrix()
R2.from_euler_rotation(alpha, beta, gamma, unit='deg', order='zyx')

for more example see tests files

Developing CoordinateTransformations

To install CoordinateTransformations, along with tools you need to develop and run tests, run the following in your virtualenv:

pip install -e .[dev]

About

Toolbox for Coordinate Transformations for Robotics Analysis

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages