Calling Battery Percentage
Hi, I'm new to the board and looking for help with a project I'm doing for my robotics team. Currently, we have many talented programmers and builders that are on the team but our work is all for not with the issues we are having with power levels decreasing every time we run our bots. The power output changes with the battery percentage, which causes the bots to run very poorly, especially with multiple motors and sensors on a single robot. I'm here trying to figure out if there's anyway possible to call the battery percentage on these robots and turn them into a coefficient in our programming?
Thank you!