Skip to content

beam_utils

Jake McLaughlin edited this page Jun 19, 2019 · 2 revisions

beam_utils

This module contains generic functionalities used across the codebase.

Functions

Angles

This package contains functions related to dealing with angles that are commonly used in the code base.

Log

This package contains logging capabilities for logging info, debugging messages and critical errors.

Math

This package contains commonly used math operations, such as converting transformation representations, converting coordinate systems etc...

Time

This package contains timing operations used for timing functions, converting chrono and ros time, etc...

Example usage:

#include "beam_utils/math.hpp"

int main(){
   beam::Vec2 point1(30, 20);
   beam::Vec2 point2(50, 10);
   double distance = beam::distance(point1, point2);

}
Clone this wiki locally