|
|
|
@ -224,7 +224,9 @@ public:
@@ -224,7 +224,9 @@ public:
|
|
|
|
|
// set overall board orientation
|
|
|
|
|
void set_board_orientation(enum Rotation orientation, Matrix3f* custom_rotation = nullptr) { |
|
|
|
|
_board_orientation = orientation; |
|
|
|
|
_custom_rotation = custom_rotation; |
|
|
|
|
if (custom_rotation) { |
|
|
|
|
_custom_rotation = custom_rotation; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// Set the motor compensation type
|
|
|
|
|