WPILibC++
2024.3.2
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
11
namespace
units
{
12
UNIT_ADD
(moment_of_inertia, kilogram_square_meter, kilogram_square_meters,
13
kg_sq_m,
compound_unit<mass::kilograms, area::square_meters>
)
14
15
using namespace
moment_of_inertia;
16
}
// namespace units
area.h
base.h
units::compound_unit
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition:
base.h:1434
mass.h
units
Unit Conversion Library namespace.
Definition:
data.h:31
units::UNIT_ADD
squared< angle::degrees > UNIT_ADD(solid_angle, spat, spats, sp, unit< std::ratio< 4 >, steradians, std::ratio< 1 > >) using namespace solid_angle
units
moment_of_inertia.h
Generated on Wed Mar 13 2024 05:20:40 for WPILibC++ by
1.9.4