Feature can (#4)
* can related implementations * Fixed includes * Added receiving can registers * Added debug utility * template compile time magic * more canbus registers * Indent fixes
This commit is contained in:
16
bobbycar-common.h
Normal file
16
bobbycar-common.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
enum class ControlType : uint8_t {
|
||||
Commutation,
|
||||
Sinusoidal,
|
||||
FieldOrientedControl
|
||||
};
|
||||
|
||||
enum class ControlMode : uint8_t {
|
||||
OpenMode,
|
||||
Voltage,
|
||||
Speed, // Only with FieldOrientedControl
|
||||
Torque // Only with FieldOrientedControl
|
||||
};
|
Reference in New Issue
Block a user