mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
cyclic_example.cpp File Reference

Example file for the cyclical values implementation (see the cyclic class) More...

#include <mrs_lib/geometry/cyclic.h>
#include <random>
#include <ros/ros.h>
+ Include dependency graph for cyclic_example.cpp:

Classes

struct  degrees
 

Typedefs

using radians = mrs_lib::geometry::radians
 
using sradians = mrs_lib::geometry::sradians
 

Functions

template<class T >
void printit (const T &a, const std::string &name)
 
template<class T >
void printcont (const T &cont, const std::string &name)
 
int main ()
 

Detailed Description

Example file for the cyclical values implementation (see the cyclic class)

Author
Matouš Vrba - vrbam.nosp@m.ato@.nosp@m.fel.c.nosp@m.vut..nosp@m.cz

This example may be run after building mrs_lib by executing rosrun mrs_lib cyclic_example.

See geometry/cyclic_example.cpp.