|
Haptic Controller
|
Message struct for reboooting Odrive. More...
Public Member Functions | |
| constexpr | Set_Reboot_msg_t ()=default |
| Set_Reboot_msg_t (const TBoard::TCanIntf::TMsg &msg) | |
| void | encode_msg (TBoard::TCanIntf::TMsg &msg) |
| void | decode_msg (const TBoard::TCanIntf::TMsg &msg) |
| void | encode_buf (uint8_t *buf) const |
| Encoders data to the buffer to send over CAN. | |
| void | decode_buf (const uint8_t *buf) |
| Decoders data from the buffer and saves to struct message. | |
Public Attributes | |
| uint8_t | Action = 0 |
Static Public Attributes | |
| static const uint8_t | cmd_id = 0x16 |
| static const uint8_t | msg_length = 8 |
Message struct for reboooting Odrive.
Definition at line 147 of file odrive_msgs.hpp.
|
constexprdefault |
|
inline |
Definition at line 152 of file odrive_msgs.hpp.
References decode_msg().
|
inline |
Decoders data from the buffer and saves to struct message.
| buf | pointer to the buffer |
Definition at line 177 of file odrive_msgs.hpp.
References Action.
Referenced by decode_msg().
|
inline |
Definition at line 162 of file odrive_msgs.hpp.
References decode_buf().
Referenced by Set_Reboot_msg_t().
|
inline |
Encoders data to the buffer to send over CAN.
| buf | pointer to the buffer |
Definition at line 170 of file odrive_msgs.hpp.
References Action.
Referenced by encode_msg().
|
inline |
Definition at line 157 of file odrive_msgs.hpp.
References encode_buf().
| uint8_t Set_Reboot_msg_t::Action = 0 |
Definition at line 185 of file odrive_msgs.hpp.
Referenced by decode_buf(), OdriveController< CAN >::enable_anticogging(), and encode_buf().
|
static |
Definition at line 182 of file odrive_msgs.hpp.
|
static |
Definition at line 183 of file odrive_msgs.hpp.