Files
bobbycar-protocol/bobbycar-common.h
Daniel Brunner 964acb82f0 More sorts of currents in feedback (#5)
* more types of current in state

* fixed layout assertions and added namespaces
2021-06-28 10:34:10 +02:00

23 lines
379 B
C++

#pragma once
#include <stdint.h>
namespace bobbycar {
namespace protocol {
enum class ControlType : uint8_t {
Commutation,
Sinusoidal,
FieldOrientedControl
};
enum class ControlMode : uint8_t {
OpenMode,
Voltage,
Speed, // Only with FieldOrientedControl
Torque // Only with FieldOrientedControl
};
} // namespace protocol
} // namespace bobbycar