WPILibC++ 2024.1.1-beta-4
moment_of_inertia.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include "units/area.h"
8#include "units/base.h"
9#include "units/mass.h"
10
11namespace units {
12UNIT_ADD(moment_of_inertia, kilogram_square_meter, kilogram_square_meters,
14
15using namespace moment_of_inertia;
16} // namespace units
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition: base.h:1446
Unit Conversion Library namespace.
Definition: angle.h:31
unit< std::ratio< 1, 180 >, radians, std::ratio< 1 > > UNIT_ADD(angle, arcsecond, arcseconds, arcsec, unit< std::ratio< 1, 60 >, arcminutes >) using namespace angle