cmvr-es/include/hardware/can/can_group.h
2025-10-24 09:51:14 +08:00

27 lines
492 B
C++

//
// Created by linbo on 2025/10/22.
//
#ifndef CMVR_ES_CAN_GROUP_H
#define CMVR_ES_CAN_GROUP_H
#include "motor_protocol/motorprotocolmanager.h"
namespace cmvr::device
{
class CanGroup
{
public:
explicit CanGroup(const XmlNode &cfg);
~CanGroup() = default;
private:
std::string id_;
unsigned int channelId_;
bool enable_;
std::shared_ptr<MotorProtocolManager> motor_protocol_manager;
};
}
#endif //CMVR_ES_CAN_GROUP_H