We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9df0c commit 53920fdCopy full SHA for 53920fd
1 file changed
pybricks/experimental/odometry.c
@@ -79,8 +79,8 @@ void pb_background_pursuit_update(void) {
79
80
// 3. PURE PURSUIT MATH
81
// Calculate m_left and m_right based on target_x/y relative to global_x/y
82
- //float m_left = 1.0f;
83
- //float m_right = 1.0f;
+ float m_left = 1.0f;
+ float m_right = 1.0f;
84
85
// 4. DRIVE
86
pbio_servo_run_forever(left_servo_ptr, (int32_t)(p_target_speed * m_left));
0 commit comments