HOG2
Public Member Functions | Public Attributes | List of all members
armRotations Class Reference

#include <RoboticArm.h>

Public Member Functions

 armRotations ()
 
tRotation GetRotation (int which) const
 
void SetRotation (int which, tRotation dir)
 

Public Attributes

uint16_t rotations
 

Detailed Description

Definition at line 69 of file RoboticArm.h.

Constructor & Destructor Documentation

◆ armRotations()

armRotations::armRotations ( )
inline

Definition at line 71 of file RoboticArm.h.

Member Function Documentation

◆ GetRotation()

tRotation armRotations::GetRotation ( int  which) const

Definition at line 15 of file RoboticArm.cpp.

References kNoRotation, kRotateCCW, kRotateCW, and rotations.

Referenced by RoboticArm::ApplyAction(), and RoboticArm::InvertAction().

◆ SetRotation()

void armRotations::SetRotation ( int  which,
tRotation  dir 
)

Member Data Documentation

◆ rotations

uint16_t armRotations::rotations

Definition at line 73 of file RoboticArm.h.

Referenced by RoboticArm::GetActionHash(), GetRotation(), operator==(), and SetRotation().


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