/HomogTrans

A library for handling 4x4 transformation matrices

Primary LanguageC++MIT LicenseMIT

Homogeneous Transformation Library

The Homogeneous Transformations Library (HTF) is a C++ library that provides a set of tools for working with homogeneous transformations, rotations, translations, and more. It is designed to be flexible and easy to integrate into your projects that involve robotics, computer graphics, or any application where you need to manipulate transformation matrices.

Features

Create and manipulate homogeneous transformation matrices.
Perform rotations, translations, and combinations of transformations.
Convert between rotation matrices, Euler angles, and quaternions.
Decompose transformation matrices into translation and rotation components.

Installation

Clone the repository to your local machine:
git clone https://github.com/your-username/HomogeneousTransformations.git

Navigate to the project directory:

cd HomogeneousTransformations

Create a build directory:

mkdir build
cd build

Generate the build files using CMake:

cmake ..

Build the library and example tests:

make

Run the example tests:

./tests

Usage

To use the Homogeneous Transformations Library in your project, follow these steps:

Include the necessary header in your source code:
#include <htf/htf.h>

Create Htf objects and manipulate transformations as needed:

    htf::Htf transform1;
    // Set transformations, rotations, translations, etc.

Build and link your project with the library and any required dependencies.

Documentation

Detailed documentation for the library's classes and methods can be found in the Documentation directory. License

This project is licensed under the MIT License - see the LICENSE file for details. Contributing

Contributions are welcome! If you have suggestions, bug reports, or feature requests, please create an issue on the repository. Acknowledgments

This library is inspired by the need for efficient and reliable homogeneous transformations in robotics and computer graphics.