Go to the documentation of this file.
35 #ifndef SVHCONTROLLERFEEDBACK_H
36 #define SVHCONTROLLERFEEDBACK_H
169 for (std::vector<SVHControllerFeedback>::iterator it = data.
feedbacks.begin();
176 for (std::vector<SVHControllerFeedback>::iterator it = data.
feedbacks.begin();
192 for (std::vector<SVHControllerFeedback>::iterator it = data.
feedbacks.begin();
199 for (std::vector<SVHControllerFeedback>::iterator it = data.
feedbacks.begin();
213 for (std::vector<SVHControllerFeedback>::const_iterator it = cf.
feedbacks.begin();
217 o <<
"Chan " << i <<
" : " << *it;
225 #endif // SVHCONTROLLERFEEDBACK_H
int16_t current
Returned current value of the motor [mA].
bool operator==(const SVHControllerFeedback &other) const
Compares two SVHControllerFeedback objects.
bool operator==(const SVHControllerFeedbackAllChannels &other) const
Compares two SVHControllerFeedbackAllChannels objects.
std::vector< SVHControllerFeedback > feedbacks
Vector holding multiple channels.
The SVHControllerFeedbackAllChannes saves the feedback of a all motors.
SVHControllerFeedbackAllChannels(const SVHControllerFeedback &feedback0, const SVHControllerFeedback &feedback1, const SVHControllerFeedback &feedback2, const SVHControllerFeedback &feedback3, const SVHControllerFeedback &feedback4, const SVHControllerFeedback &feedback5, const SVHControllerFeedback &feedback6, const SVHControllerFeedback &feedback7, const SVHControllerFeedback &feedback8)
Constructs a SVHControllerFeedbackAllChannels data structure from explicit ffedback elements.
The SVHControllerFeedback saves the feedback of a single motor.
SVHControllerFeedback(const int32_t &position=0, const int16_t ¤t=0)
standard constructor
SVHControllerFeedbackAllChannels()
Constructs an empty SVHControllerFeedbackAllChannels objects, prefilled with 9 default channel feedba...
int32_t position
Returned position value of the motor [Ticks].
SVHControllerFeedbackAllChannels(std::vector< SVHControllerFeedback > feedbacks)
Creates a SVHControllerFeedbackAllChannels structure from a vector.
driver_svh::ArrayBuilder & operator>>(driver_svh::ArrayBuilder &ab, SVHControlCommand &data)
overload stream operator to easily deserialize control commands for one channel
driver_svh::ArrayBuilder & operator<<(driver_svh::ArrayBuilder &ab, const SVHControlCommand &data)
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