WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::math::TrapezoidProfile< Distance >::State Class Reference

Profile state. More...

#include <wpi/math/trajectory/TrapezoidProfile.hpp>

Public Member Functions

constexpr bool operator== (const State &) const =default

Public Attributes

Distance_t position {0}
 The position at this state.
Velocity_t velocity {0}
 The velocity at this state.

Detailed Description

template<class Distance>
class wpi::math::TrapezoidProfile< Distance >::State

Profile state.

Member Function Documentation

◆ operator==()

template<class Distance>
bool wpi::math::TrapezoidProfile< Distance >::State::operator== ( const State & ) const
constexprdefault

Member Data Documentation

◆ position

template<class Distance>
Distance_t wpi::math::TrapezoidProfile< Distance >::State::position {0}

The position at this state.

◆ velocity

template<class Distance>
Velocity_t wpi::math::TrapezoidProfile< Distance >::State::velocity {0}

The velocity at this state.


The documentation for this class was generated from the following file: