趣味で作ってるロボット用ソフトウェア
Main Page
Related Pages
Classes
Files
Examples
Class List
Class Index
Class Hierarchy
Class Members
All
Classes
Files
Functions
Enumerations
Enumerator
Friends
Pages
hrk
Battery
Public Types
|
Public Member Functions
|
List of all members
hrk::Battery Class Reference
Public Types
enum
{
Error
= -1 }
Public Member Functions
bool
is_available
() const
bool
is_charging
() const
int
remaining_percent
() const
int
remaining_second
() const
Detailed Description
Examples:
battery_example.cpp
.
Member Function Documentation
int Battery::remaining_percent
(
)
const
バッテリーの充電率を返す
Return values
[0,100]
充電率
-1
エラー
Examples:
battery_example.cpp
.
The documentation for this class was generated from the following files:
lib/system/
Battery.h
lib/system/
Battery.cpp
Generated on Tue Oct 24 2017 04:56:06 for 趣味で作ってるロボット用ソフトウェア by
1.8.6