【发布时间】:2018-03-04 06:27:02
【问题描述】:
在这里,我想计算机器人在 atmega 2560 中行进的距离?我知道公式距离 = 车轮周长 * 电机转速(以 rpm 为单位)。但我不知道如何将此公式应用于以下问题。
What is the approximate distance covered by the robot in 2 seconds, if OCR5AL=OCR5BL=0xB2. Given that, maximum speed at which the motors rotate is 300 rpm and wheels have a radius of 2.8cm.
Where
OCR5AL is Output compare register low value for Left Motor
OCR5BL is Output compare register low value for Right Motor
Maximum speed is attained, when OCR5AL =OCR5BL =0xFF.
【问题讨论】: