Skip to content

turn processTx into a template method #3750

@GrayHoang

Description

@GrayHoang

Description of the task

In stspin_motor_controller.h:
Instead of using std::variant and visitor in processTx, consider turning processTx into a template method with frame type as a template param, and use template specialization to select implementation based on frame type

Acceptance criteria

  • No longer a std::variant and visitor in processTx

Blocked By

Metadata

Metadata

Assignees

Labels

Code QualityCode readability, SOLID principlesDifficulty - 3Easy and simple issues that require some context to doRobot Software

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions