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 45 of file SVHControllerFeedback.h.

Constructor & Destructor Documentation

◆ SVHControllerFeedback()

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 57 of file SVHControllerFeedback.h.

Member Function Documentation

◆ operator==()

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

Compares two SVHControllerFeedback objects.

Definition at line 64 of file SVHControllerFeedback.h.

Member Data Documentation

◆ current

int16_t driver_svh::SVHControllerFeedback::current

Returned current value of the motor [mA].

Definition at line 50 of file SVHControllerFeedback.h.

◆ position

int32_t driver_svh::SVHControllerFeedback::position

Returned position value of the motor [Ticks].

Definition at line 48 of file SVHControllerFeedback.h.


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


schunk_svh_library
Author(s): Georg Heppner, Lars Pfotzer, Felix Exner, Johannes Mangler, Stefan Scherzinger, Pascal Becker
autogenerated on Fri Apr 14 2023 02:53:52