Joint Level Control
|
This class and its subclasses handle the creation of the CAN-Frames needed to control the Hacker Herkules 5 BLDC. More...
#include <message_builder.h>
Public Member Functions | |
MessageBuilder (uint8_t address) | |
Constructor of the MessageBuilder Class. More... | |
can_frame * | getMessage () |
gets the generated SocketCAN-Frame for utilisation by the callee. More... | |
Protected Attributes | |
uint8_t | data [8] |
uint8_t | can_address |
This class and its subclasses handle the creation of the CAN-Frames needed to control the Hacker Herkules 5 BLDC.
MessageBuilder::MessageBuilder | ( | uint8_t | address | ) |
Constructor of the MessageBuilder Class.
address | CAN-ID of the to-be controlled BLDC |
can_frame * MessageBuilder::getMessage | ( | ) |
gets the generated SocketCAN-Frame for utilisation by the callee.