ES3011/robot_controller/constants.h
Andy Killorin cc4d99c218
tuning attempts
currently the right motor is acting funny
2025-12-06 16:27:21 -05:00

18 lines
555 B
C

#pragma once
const float ACCEL_LIMIT = 5.0; // cm/s/s
const float VEL_LIMIT = 15.0; // cm/s
const float BACKLASH_RIGHT = 0.0; // degrees
const float BACKLASH_LEFT = 0.0; // degrees
const float WHEEL_DIAMETER = 6.37; // cm
const float WHEEL_TO_WHEEL = 0.0; // cm
// centimeters per second to rpm
const float CMS_RPM = 60.0 / (PI*WHEEL_DIAMETER);
// degrees to centimeters
const float DEG_CM = (PI*WHEEL_DIAMETER) / 360.0;
const float FORWARD_DISTANCE = 30.0; // cm
const float TURN_AMOUNT = 180.0; // degrees
const float RETURN_DISTANCE = 100.0; // cm