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 <utility>
#include <ros/ros.h>
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 | |
sr_math_utils | |
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 (int64_t bit_mask, int index) |
static bool | sr_math_utils::is_bit_mask_index_true (int64_t 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 |
This is a header library used to implement some useful math functions. It is used in our different packages.
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.