Haptic Controller
Loading...
Searching...
No Matches
Limits< T > Struct Template Reference

Limit struct to store upper and lower limits. More...

Public Member Functions

over_limits (T compare) const
 

Public Attributes

lower
 
upper
 

Detailed Description

template<typename T>
struct Limits< T >

Limit struct to store upper and lower limits.

Template Parameters
Thetype of the limit

Definition at line 33 of file helpers.hpp.

Member Function Documentation

◆ over_limits()

template<typename T >
T Limits< T >::over_limits ( T compare) const
inline

Definition at line 38 of file helpers.hpp.

References Limits< T >::lower, and Limits< T >::upper.

Referenced by soft_limit_torques().

Member Data Documentation

◆ lower

◆ upper


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