-
Notifications
You must be signed in to change notification settings - Fork 1
The Robot
Sam Griffen edited this page Dec 1, 2019
·
1 revision
The robot is built on a Seeedstudio Arduino robot platform. There is not a lot to be said for the robot, other than calibration.
The robot must be calibrated in order for the commands to have any bearing on the real world. These calibration settings will vary depending on the surface the robot is on, battery status, and which leg you stand on when you turn it on.
Calibration contants are given at the top of robot.ino, and are as follows:
-
CM_PER_SEC: Describes how many centimeters the robot travels in one second with motors on full speed. Calibrating this will require a simple sketch that moves the robot forwards at full speed. It is good to move the robot for 10 seconds, then divide the time by 10, in order to obtain a more accurate result. -
DEG_PER_SEC: Similar to the previous constant. This defines how many degrees the robot turns in one second with the left motor full throttle forwards, and right motor full throttle backwards. Again, this needs manual tuning.