More sorts of currents in feedback (#5)

* more types of current in state

* fixed layout assertions and added namespaces
This commit is contained in:
2021-06-28 10:34:10 +02:00
committed by GitHub
parent b6f0d6a185
commit 964acb82f0
3 changed files with 52 additions and 24 deletions

View File

@@ -2,6 +2,9 @@
#include <stdint.h>
namespace bobbycar {
namespace protocol {
enum class ControlType : uint8_t {
Commutation,
Sinusoidal,
@@ -14,3 +17,6 @@ enum class ControlMode : uint8_t {
Speed, // Only with FieldOrientedControl
Torque // Only with FieldOrientedControl
};
} // namespace protocol
} // namespace bobbycar