2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
custom_units.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include <units/base.h>
8#include <units/length.h>
9#include <units/time.h>
10
11namespace units {
12 UNIT_ADD(velocity,
13 inches_per_second,
14 inches_per_second,
15 ips,
16 units::compound_unit<units::length::inches, units::inverse<units::time::second>>);
17 UNIT_ADD(acceleration,
18 inches_per_second_squared,
19 inches_per_second_squared,
20 ips2,
21 units::compound_unit<units::length::inches, units::inverse<units::squared<units::time::second>>>);
22} // namespace units
Definition custom_units.h:11
UNIT_ADD(velocity, inches_per_second, inches_per_second, ips, units::compound_unit< units::length::inches, units::inverse< units::time::second > >)