Fixed tf_buffer_ not being initialized

This commit is contained in:
2026-03-24 20:39:18 +01:00
parent 8f4f7dba8b
commit 0105984458
4 changed files with 8 additions and 5 deletions

View File

@@ -24,7 +24,8 @@
#define ENCODER_LEFT_PIN_B 13
#define ENCODER_CPR 3840
#define WHEEL_RADIUS 0.0300
#define WHEEL_SEPARATION 0.264
//#define WHEEL_RADIUS (0.0300 * 1.01483541)
#define WHEEL_RADIUS 0.028
#define WHEEL_SEPARATION 0.271
#define TIMER_CYCLE_US 1000
//======================================================

View File

@@ -62,8 +62,8 @@ typedef struct calib_diff_t {
} calib_diff_t;
static calib_diff_t calib_enc = {
.left_gain = 1.000,
.right_gain = 1.0000
.left_gain = 1.0,
.right_gain = 1.0,
};
void update_pos_cb() {