WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
ElevatorFeedforwardProto.hpp
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 "pb.h"
12
13template <>
#define WPILIB_DLLEXPORT
Definition SymbolExports.hpp:36
A helper class that computes feedforward outputs for a simple elevator (modeled as a motor acting aga...
Definition ElevatorFeedforward.hpp:20
Class for wrapping a nanopb istream.
Definition Protobuf.hpp:55
Class for wrapping a nanopb ostream.
Definition Protobuf.hpp:119
struct _wpi_proto_ProtobufElevatorFeedforward wpi_proto_ProtobufElevatorFeedforward
Definition CvSource.hpp:15
wpi::util::ProtoInputStream< wpi::math::ElevatorFeedforward > InputStream
Definition ElevatorFeedforwardProto.hpp:16
static std::optional< wpi::math::ElevatorFeedforward > Unpack(InputStream &stream)
wpi::util::ProtoOutputStream< wpi::math::ElevatorFeedforward > OutputStream
Definition ElevatorFeedforwardProto.hpp:18
static bool Pack(OutputStream &stream, const wpi::math::ElevatorFeedforward &value)
wpi_proto_ProtobufElevatorFeedforward MessageStruct
Definition ElevatorFeedforwardProto.hpp:15
Protobuf serialization template.
Definition Protobuf.hpp:36