Hi,
Our robot moves at different speeds in our autonomous based on the amount of power it gets (high power = faster, and vice-versa with low), despite being set to the same motor power. We were wondering if there is any way to check the robot's battery power via code, so that we can set the robot to different motor powers depending on the battery's voltage. While we will be changing batteries often in competition to keep at high power, it would be very useful since our robot drains power pretty quickly.
Thank you,
Maelstrom
Our robot moves at different speeds in our autonomous based on the amount of power it gets (high power = faster, and vice-versa with low), despite being set to the same motor power. We were wondering if there is any way to check the robot's battery power via code, so that we can set the robot to different motor powers depending on the battery's voltage. While we will be changing batteries often in competition to keep at high power, it would be very useful since our robot drains power pretty quickly.
Thank you,
Maelstrom
Comment