iCub-main
Loading...
Searching...
No Matches
bcbBattery Directory Reference
Directory dependency graph for bcbBattery:

Files

 
bcbBattery.cpp
 
bcbBattery.h

Detailed Description

bcbBattery

This module implements the IBattery interface to retrieve the status of the battery in the iCub backpack.

Dependencies

In order for this module to be compiled, it needs to be enabled with the option ENABLE_icubmod_bcbBattery set to ON. In addition, yarp needs to be compiled with the following options set to ON:

In addition, in order to have a GUI representation of the battery status, enable the following in yarp

How to use

This module can be used by resorting to the configuration files already available in the battery folder in the experimentalSetups of robots-configuration. From that folder, it is sufficient to run yarprobotinterface.

Configuration parameters

The configuration file of this module needs two groups. A group named SERIAL_PORT with all the parameters relative to the serial port connection. For the meaning of these parameters refer to the serialPort header file. Their setup depends on the serial configuration done on the hardware side.

The second group should be named GENERAL and should contain the following: