cmvr-es/include/hardware/can/can_group.h

28 lines
495 B
C
Raw Normal View History

2025-10-22 16:40:55 +08:00
//
// Created by linbo on 2025/10/22.
//
#ifndef CMVR_ES_CAN_GROUP_H
#define CMVR_ES_CAN_GROUP_H
2025-10-24 09:51:14 +08:00
#include "motor_protocol/motorprotocolmanager.h"
2025-10-24 10:51:49 +08:00
namespace cmvr::hardware
2025-10-22 16:40:55 +08:00
{
class CanGroup
{
public:
explicit CanGroup(const XmlNode &cfg);
~CanGroup() = default;
2025-10-24 10:51:49 +08:00
private:
2025-10-24 09:51:14 +08:00
std::string id_;
unsigned int channelId_;
bool enable_;
std::shared_ptr<MotorProtocolManager> motor_protocol_manager;
2025-10-22 16:40:55 +08:00
};
}
#endif //CMVR_ES_CAN_GROUP_H