Public Member Functions | Private Attributes
labust::math::unwrap Struct Reference

#include <NumberManipulation.hpp>

List of all members.

Public Member Functions

double operator() (double angle)
 unwrap ()

Private Attributes

double anglek_1
int index

Detailed Description

The structure handles angle unwrapping. We use a structure for re-entrant behaviour. When doing estimation or control use the angle unwrapper to condition the vehicle angle. We recommend putting this in vehicle driver to supply a unwrapped vehicle yaw.

Definition at line 171 of file NumberManipulation.hpp.


Constructor & Destructor Documentation

Generic constructor.

Definition at line 176 of file NumberManipulation.hpp.


Member Function Documentation

double labust::math::unwrap::operator() ( double  angle) [inline]

Based on the current angle and history calculates the unwrapped angle value. Useful for tracking the amount of full circles the vehicle has taken.

Parameters:
angleAngle in radians.

Definition at line 183 of file NumberManipulation.hpp.


Member Data Documentation

The last angle.

Definition at line 201 of file NumberManipulation.hpp.

The wrap-around index.

Definition at line 205 of file NumberManipulation.hpp.


The documentation for this struct was generated from the following file:


snippets
Author(s): Gyula Nagy
autogenerated on Fri Aug 28 2015 11:22:33