sk.robotics.robot classes

function robot_getvoltage

^ 
Poll the robot battery voltage.

The command will determine the current voltage on the robot battery. When the battery power drops below 5.6 V, the robot is automatically shut down by its firmware. When the motors are running, the voltage can drop by 1 V. When the robot is charging, the reported voltage is higher by several deciVolts. The voltage typically does not raise above 7.5 V.

Source:
robotdll/robotdll.h:661
Author:
Version:
latest version
Param:
id robot object handle
Returns:
current battery voltage in tenths of Volts
See Also:
robot_getsensors, robot_getactivity
Code:
public ROBOTDLL_API short robot_getvoltage ( short id )

(c) FMFI UK Bratislava, robotika.sk
Dokumentácia vygenerovaná pomocou ccdoc