mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
[wpimath] Struct cleanup (#6011)
This commit is contained in:
@@ -20,3 +20,5 @@ struct WPILIB_DLLEXPORT wpi::Struct<frc::Rotation2d> {
|
||||
static frc::Rotation2d Unpack(std::span<const uint8_t> data);
|
||||
static void Pack(std::span<uint8_t> data, const frc::Rotation2d& value);
|
||||
};
|
||||
|
||||
static_assert(wpi::StructSerializable<frc::Rotation2d>);
|
||||
|
||||
Reference in New Issue
Block a user