com.kuka.nav.battery
Interface BatteryListener


public interface BatteryListener

Interface for receiving events the state of charge of a robot changes to a different, predefined battery level.


Method Summary
 void onBatteryLevelChanged(com.kuka.nav.robot.MobileRobot robot, BatteryLevels.BatteryLevel previousLevel, BatteryLevels.BatteryLevel currentLevel)
          Called when the state of charge of a robot changes to a different battery level.
 

Method Detail

onBatteryLevelChanged

void onBatteryLevelChanged(com.kuka.nav.robot.MobileRobot robot,
                           BatteryLevels.BatteryLevel previousLevel,
                           BatteryLevels.BatteryLevel currentLevel)
Called when the state of charge of a robot changes to a different battery level.

Parameters:
robot - the robot whose battery state of charge has changed
previousLevel - the previous charge level; may be null (e.g. for initial events)
currentLevel - the current charge level


Copyright © 2019. All rights reserved.