Go to the documentation of this file.
36 #ifndef SVHCONTROLLERSTATE_H
37 #define SVHCONTROLLERSTATE_H
115 o << std::setw(4) << std::setfill(
'0') << std::hex <<
"pwm_fault "
116 <<
"0x" <<
static_cast<int>(cs.
pwm_fault) <<
" "
118 <<
"0x" <<
static_cast<int>(cs.
pwm_otw) <<
" "
120 <<
"0x" <<
static_cast<int>(cs.
pwm_reset) <<
" "
122 <<
"0x" <<
static_cast<int>(cs.
pwm_active) <<
" "
124 <<
"0x" <<
static_cast<int>(cs.
pos_ctrl) <<
" "
126 <<
"0x" <<
static_cast<int>(cs.
cur_ctrl) <<
" " << std::endl;
128 std::cout << std::dec;
135 #endif // SVHCONTROLLERSTATE_H
SVHControllerState(uint16_t pwm_fault=0, uint16_t pwm_otw=0, uint16_t pwm_reset=0, uint16_t pwm_active=0, uint16_t pos_ctrl=0, uint16_t cur_ctrl=0)
Default constructor with zero values for everything.
The SVHControllerState indicates the current state of the MeCoVis controller IC which is used in the ...
uint16_t cur_ctrl
Enable/Disbale of current controller (0x0001 to Activate)
uint16_t pos_ctrl
Enable/Disable of position controller (0x0001 to Activate )
bool operator==(const SVHControllerState &other) const
Compares two SVHControllerState objects.
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