Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
transformations.hpp File Reference
#include <Eigen/Dense>
Include dependency graph for transformations.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  common_lib
 
namespace  common_lib::maths
 

Functions

double common_lib::maths::normalize_angle (double angle)
 Function to keep angle in [-Pi, Pi[ radians.
 
double common_lib::maths::get_wheel_velocity_from_rpm (const double rpm, const double wheel_diameter)
 Function to get the translational velocity of a wheel from rpm and wheel diameter.
 
Eigen::Matrix2d common_lib::maths::get_rotation_matrix (const double angle)
 Function to get the rotation matrix for a given angle.
 
Eigen::Vector2d common_lib::maths::cartesian_to_cylindrical (const Eigen::Vector2d &cartesian)
 Function to convert cartesian coordinates to cylindrical coordinates.
 
Eigen::VectorXd common_lib::maths::global_to_local_coordinates (const Eigen::Vector3d &local_reference_frame, const Eigen::VectorXd &global_points)
 Transform points from a global reference frame to a local reference frame.
 
Eigen::VectorXd common_lib::maths::local_to_global_coordinates (const Eigen::Vector3d &local_reference_frame, const Eigen::VectorXd &local_points)
 Transform points from a local reference frame to a global reference frame.