Endorob  1.4
A C++ Robotics library by P. Berthet-Rayne
endorob.cpp File Reference
#include "stdafx.h"
#include "endorob.h"

Go to the source code of this file.

Functions

Vec3d get_rpy (const Mat &mat)
 
Mat4d set_rpy (const Mat &mat, Vec3d rpy)
 
Mat3d rot_x (const double &angle)
 
Mat3d rot_y (const double &angle)
 
Mat3d rot_z (const double &angle)
 
Mat3d rot_xyz (const double &angle, const Vec3d &axis)
 
Mat4d rotate_transform_locally (const Mat4d &mat, const Mat3d &rot)
 
Mat4d rotate_transform_around_P (const Mat4d &T, const Mat3d &rot, const Vec &P)
 
Mat4d rotate_transform_around_axis_and_P (const Mat4d &T, const double &angle, const Vec3d &axis, const Vec &P)
 
Vec3d project_point_onto_line (const Vec3d &P, const Vec3d &A, const Vec3d &B)
 
Vec3d sphere_line_intersection (const double &radius, const Vec3d &center, const Vec3d &A, const Vec3d &B)
 
Mat3d get_rotation_increment (const Mat3d &start, const Mat3d &goal)
 
Vec get_vector_increment (const Vec &start, const Vec &goal)
 
Mat4d get_transform_increment (const Mat4d &start, const Mat4d &goal)
 
Vec3d get_Euler (const Mat &mat)
 
Mat4d invert_transform (const Mat4d &mat)
 
double rad_to_degree (const double &val)
 
double degree_to_rad (const double &val)
 
bool is_almost_equal (const double &a, const double &b, const double &tolerance)
 
bool is_geq (const double &a, const double &b, const double &tolerance)
 
bool is_leq (const double &a, const double &b, const double &tolerance)
 

Variables

std::mutex mutx
 

Function Documentation

◆ degree_to_rad()

double degree_to_rad ( const double &  val)

Definition at line 4845 of file endorob.cpp.

◆ get_Euler()

Vec3d get_Euler ( const Mat mat)
related

Definition at line 4814 of file endorob.cpp.

◆ get_rotation_increment()

Mat3d get_rotation_increment ( const Mat3d start,
const Mat3d goal 
)
related

Definition at line 4795 of file endorob.cpp.

◆ get_rpy()

Vec3d get_rpy ( const Mat mat)
related

Definition at line 1962 of file endorob.cpp.

◆ get_transform_increment()

Mat4d get_transform_increment ( const Mat4d start,
const Mat4d goal 
)
related

Definition at line 4805 of file endorob.cpp.

◆ get_vector_increment()

Vec get_vector_increment ( const Vec start,
const Vec goal 
)
related

Definition at line 4800 of file endorob.cpp.

◆ invert_transform()

Mat4d invert_transform ( const Mat4d mat)
related

Definition at line 4832 of file endorob.cpp.

◆ is_almost_equal()

bool is_almost_equal ( const double &  a,
const double &  b,
const double &  tolerance 
)

Definition at line 4850 of file endorob.cpp.

◆ is_geq()

bool is_geq ( const double &  a,
const double &  b,
const double &  tolerance 
)

Definition at line 4857 of file endorob.cpp.

◆ is_leq()

bool is_leq ( const double &  a,
const double &  b,
const double &  tolerance 
)

Definition at line 4865 of file endorob.cpp.

◆ project_point_onto_line()

Vec3d project_point_onto_line ( const Vec3d P,
const Vec3d A,
const Vec3d B 
)
related

Definition at line 2051 of file endorob.cpp.

◆ rad_to_degree()

double rad_to_degree ( const double &  val)

Definition at line 4840 of file endorob.cpp.

◆ rot_x()

Mat3d rot_x ( const double &  angle)
related

Definition at line 1989 of file endorob.cpp.

◆ rot_xyz()

Mat3d rot_xyz ( const double &  angle,
const Vec3d axis 
)
related

Definition at line 2004 of file endorob.cpp.

◆ rot_y()

Mat3d rot_y ( const double &  angle)
related

Definition at line 1994 of file endorob.cpp.

◆ rot_z()

Mat3d rot_z ( const double &  angle)
related

Definition at line 1999 of file endorob.cpp.

◆ rotate_transform_around_axis_and_P()

Mat4d rotate_transform_around_axis_and_P ( const Mat4d T,
const double &  angle,
const Vec3d axis,
const Vec P 
)
related

Definition at line 2033 of file endorob.cpp.

◆ rotate_transform_around_P()

Mat4d rotate_transform_around_P ( const Mat4d T,
const Mat3d rot,
const Vec P 
)
related

Definition at line 2018 of file endorob.cpp.

◆ rotate_transform_locally()

Mat4d rotate_transform_locally ( const Mat4d mat,
const Mat3d rot 
)
related

Definition at line 2009 of file endorob.cpp.

◆ set_rpy()

Mat4d set_rpy ( const Mat mat,
Vec3d  rpy 
)
related

Definition at line 1980 of file endorob.cpp.

◆ sphere_line_intersection()

Vec3d sphere_line_intersection ( const double &  radius,
const Vec3d center,
const Vec3d A,
const Vec3d B 
)
related

Definition at line 2061 of file endorob.cpp.

Variable Documentation

◆ mutx

std::mutex mutx

Definition at line 24 of file endorob.cpp.