text: /****************************************************************
   *
   * Copyright (c) 2011
   * All rights reserved.
   *
   * Hochschule Bonn-Rhein-Sieg
   * University of Applied Sciences
   * Computer Science Department
   *
   * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   *
   * Author:
   * Jan Paulus, Nico Hochgeschwender, Michael Reckhaus, Azamat Shakhimardanov
   * Supervised by:
   * Gerhard K. Kraetzschmar
   *
   * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   *
   * This sofware is published under a dual-license: GNU Lesser General Public
   * License LGPL 2.1 and BSD license. The dual-license implies that users of this
   * code may choose which terms they prefer.
   *
   * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions are met:
   *
   *     * Redistributions of source code must retain the above copyright
   *       notice, this list of conditions and the following disclaimer.
   *     * Redistributions in binary form must reproduce the above copyright
   *       notice, this list of conditions and the following disclaimer in the
   *       documentation and/or other materials provided with the distribution.
   *     * Neither the name of the Hochschule Bonn-Rhein-Sieg nor the names of its
   *       contributors may be used to endorse or promote products derived from
   *       this software without specific prior written permission.
   *
   * This program is free software: you can redistribute it and/or modify
   * it under the terms of the GNU Lesser General Public License LGPL as
   * published by the Free Software Foundation, either version 2.1 of the
   * License, or (at your option) any later version or the BSD license.
   *
   * 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 Lesser General Public License LGPL and the BSD license for more details.
   *
   * You should have received a copy of the GNU Lesser General Public
   * License LGPL and BSD license along with this program.
   *
   ****************************************************************/
  
  #ifndef YOUBOT_UNITS_HPP
  #define	YOUBOT_UNITS_HPP
  #include <boost/units/io.hpp>
  #include <boost/units/pow.hpp>
  #include <boost/units/systems/si.hpp>
  #include <boost/units/systems/temperature/celsius.hpp>
  #include <boost/units/cmath.hpp>
  #include <boost/units/make_scaled_unit.hpp>
  #include <boost/units/systems/si/prefixes.hpp>
  
  
  using namespace boost::units;
  using namespace boost::units::si;
  using namespace boost::units::angle;
  
  //typedef boost::units::si::length meter;
  using boost::units::si::meters;
  namespace youbot {
  
  typedef boost::units::make_scaled_unit<si::length, boost::units::scale<10, boost::units::static_rational<-3> > >::type millimeter;
  typedef boost::units::make_scaled_unit<si::length, boost::units::scale<10, boost::units::static_rational<-2> > >::type centimeter;
  BOOST_UNITS_STATIC_CONSTANT(centimeters, centimeter);
  
  
  typedef boost::units::make_scaled_unit<si::time, boost::units::scale<10, boost::units::static_rational<-3> > >::type millisecond;
  //BOOST_UNITS_STATIC_CONSTANT(millimeters, millimeter);
  
  } // namespace youbot
  
  #endif	/* YOUBOT_UNITS_HPP */
  
  