WPILibC++ 2024.1.1-beta-4
MecanumDriveKinematicsProto.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 <wpi/SymbolExports.h>
9
11
12template <>
13struct WPILIB_DLLEXPORT wpi::Protobuf<frc::MecanumDriveKinematics> {
14 static google::protobuf::Message* New(google::protobuf::Arena* arena);
16 const google::protobuf::Message& msg);
17 static void Pack(google::protobuf::Message* msg,
18 const frc::MecanumDriveKinematics& value);
19};
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
Helper class that converts a chassis velocity (dx, dy, and dtheta components) into individual wheel s...
Definition: MecanumDriveKinematics.h:44
Definition: ntcore_cpp.h:26
static frc::MecanumDriveKinematics Unpack(const google::protobuf::Message &msg)
static google::protobuf::Message * New(google::protobuf::Arena *arena)
static void Pack(google::protobuf::Message *msg, const frc::MecanumDriveKinematics &value)