mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Merge branch 'main' into 2027
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../../include/frc/controller/BangBangController.h"
|
||||
#include "frc/controller/BangBangController.h"
|
||||
|
||||
#include <wpi/sendable/SendableBuilder.h>
|
||||
|
||||
|
||||
@@ -1992,6 +1992,7 @@ namespace units
|
||||
* @param[in] rhs unit to copy.
|
||||
*/
|
||||
template<class UnitsRhs, typename Ty, template<typename> class NlsRhs>
|
||||
requires traits::is_unit_v<UnitsRhs> && traits::is_unit_v<Units> && traits::is_convertible_unit_v<UnitsRhs, Units>
|
||||
constexpr unit_t(const unit_t<UnitsRhs, Ty, NlsRhs>& rhs) noexcept :
|
||||
nls(units::convert<UnitsRhs, Units, T>(rhs.m_value), std::true_type() /*store linear value*/)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user