Skyward boardcore
Loading...
Searching...
No Matches
Angle.h File Reference
#include <ratio>
#include "Units.h"
Include dependency graph for Angle.h:

Go to the source code of this file.

Namespaces

namespace  Boardcore
 Driver for the VN100S IMU.
 
namespace  Boardcore::Units
 
namespace  Boardcore::Units::Angle
 

Typedefs

template<class Ratio = std::ratio<1>>
using Boardcore::Units::Angle::Angle = Unit< UnitKind::Angle, Ratio >
 
using Boardcore::Units::Angle::Degree = Angle<>
 
using Boardcore::Units::Angle::Radian = Angle< std::ratio< static_cast< std::intmax_t >(180 *1e10), static_cast< std::intmax_t >(3.14159265358979323846 *1e10)> >
 

Functions

template<class ToAngle , class FromAngle >
ToAngle Boardcore::Units::Angle::angle_cast (FromAngle const &from)
 
constexpr auto Boardcore::Units::Angle::operator""_rad (long double n)
 
constexpr auto Boardcore::Units::Angle::operator""_deg (long double n)
 
constexpr auto Boardcore::Units::Angle::operator""_rad (unsigned long long n)
 
constexpr auto Boardcore::Units::Angle::operator""_deg (unsigned long long n)