Public Member Functions | Public Attributes | List of all members
driver_svh::SVHControllerFeedback Struct Reference

The SVHControllerFeedback saves the feedback of a single motor. More...

#include <SVHControllerFeedback.h>

Public Member Functions

bool operator== (const SVHControllerFeedback &other) const
 Compares two SVHControllerFeedback objects. More...
 
 SVHControllerFeedback (const int32_t &_position=0, const int16_t &_current=0)
 standard constructor More...
 

Public Attributes

int16_t current
 Returned current value of the motor [mA]. More...
 
int32_t position
 Returned position value of the motor [Ticks]. More...
 

Detailed Description

The SVHControllerFeedback saves the feedback of a single motor.

Definition at line 38 of file SVHControllerFeedback.h.

Constructor & Destructor Documentation

driver_svh::SVHControllerFeedback::SVHControllerFeedback ( const int32_t _position = 0,
const int16_t _current = 0 
)
inline

standard constructor

Parameters
_positionIntitial position value, defaults to 0
_currentInitital current value, defaults to 0

Definition at line 50 of file SVHControllerFeedback.h.

Member Function Documentation

bool driver_svh::SVHControllerFeedback::operator== ( const SVHControllerFeedback other) const
inline

Compares two SVHControllerFeedback objects.

Definition at line 56 of file SVHControllerFeedback.h.

Member Data Documentation

int16_t driver_svh::SVHControllerFeedback::current

Returned current value of the motor [mA].

Definition at line 43 of file SVHControllerFeedback.h.

int32_t driver_svh::SVHControllerFeedback::position

Returned position value of the motor [Ticks].

Definition at line 41 of file SVHControllerFeedback.h.


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


schunk_svh_driver
Author(s): Georg Heppner
autogenerated on Mon Jun 10 2019 15:04:59