mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Orientation
This commit is contained in:
@@ -22,4 +22,9 @@ inline std::unordered_map<int, int> MODULE_TO_NUM_CHANNELS_MAP {{ModuleType_SPLI
|
||||
#define DC_ENCODER_A 15
|
||||
#define DC_ENCODER_B 16
|
||||
|
||||
inline std::unordered_map<uint8_t, uint8_t> CHANNEL_TO_0_DEG_MAP{{0, 9} };
|
||||
inline std::unordered_map<uint8_t, uint8_t> CHANNEL_TO_90_DEG_MAP{{0, 7} };
|
||||
inline std::unordered_map<uint8_t, uint8_t> CHANNEL_TO_180_DEG_MAP{{0, 8} };
|
||||
inline std::unordered_map<uint8_t, uint8_t> CHANNEL_TO_270_DEG_MAP{{0, 10} };
|
||||
|
||||
#endif //MODULE_H
|
||||
|
||||
Reference in New Issue
Block a user