Struct SVHControllerFeedback

Struct Documentation

struct SVHControllerFeedback

The SVHControllerFeedback saves the feedback of a single motor.

Public Functions

inline SVHControllerFeedback(const int32_t &position = 0, const int16_t &current = 0)

standard constructor

Parameters:
  • _position – Intitial position value, defaults to 0

  • _current – Initital current value, defaults to 0

inline bool operator==(const SVHControllerFeedback &other) const

Compares two SVHControllerFeedback objects.

Public Members

int32_t position

Returned position value of the motor [Ticks].

int16_t current

Returned current value of the motor [mA].