$search

sr_math_utils.hpp File Reference

This is a header library used to implement some useful math functions. It is used in our different packages. More...

#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_int.hpp>
#include <boost/random/uniform_real.hpp>
#include <boost/thread/detail/singleton.hpp>
#include <ros/ros.h>
Include dependency graph for sr_math_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sr_math_utils::filters::AlphaBetaFilter
class  sr_math_utils::filters::LowPassFilter
class  sr_math_utils::Random_

Namespaces

namespace  sr_math_utils
namespace  sr_math_utils::filters

Typedefs

typedef
boost::detail::thread::singleton
< class Random_ > 
sr_math_utils::Random

Functions

static uint64_t sr_math_utils::counter_with_overflow (uint64_t full_value, uint16_t new_value)
static int sr_math_utils::ipow (int base, int exp)
static bool sr_math_utils::is_bit_mask_index_false (int bit_mask, int index)
static bool sr_math_utils::is_bit_mask_index_true (int bit_mask, int index)
static double sr_math_utils::linear_interpolate_ (double x, double x0, double y0, double x1, double y1)
static int sr_math_utils::sign (double x)
static double sr_math_utils::to_degrees (double rad)
static double sr_math_utils::to_rad (double degrees)

Variables

static const double sr_math_utils::pi = 3.14159265

Detailed Description

This is a header library used to implement some useful math functions. It is used in our different packages.

Author:
Ugo Cupcic <ugo@shadowrobot.com>, Contact <contact@shadowrobot.com>
Date:
Mon Jun 20 10:20:27 2011

Copyright 2011 Shadow Robot Company Ltd.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition in file sr_math_utils.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


sr_utilities
Author(s): Ugo Cupcic
autogenerated on Sat Mar 2 13:58:21 2013