olympus-robotics / hephaestus

Hephaestus is a C++ framework designed to facilitate robotics development by providing commonly needed functionality and abstractions.
MIT License
26 stars 4 forks source link

Add buff support #162

Closed filippobrizzi closed 1 month ago

filippobrizzi commented 2 months ago

Description

Add buf support and add formatting and lining in CI.

Since v2 buff requires a single buf.yaml file at the workspace's root. This has the disadvantage that for any new module we need to manually add an entry in root buf.yaml.

Modified enums.h toProtoEnum to reflect the new enums name policy that require enum name to be prefixed with the class name.