Revision 7db6cf9f
Changed all TODO and @TODO to @todo to conform to doxygen.
scout/power/src/power.cpp | ||
---|---|---|
50 | 50 |
|
51 | 51 |
/** @todo Fix types: static */ |
52 | 52 |
|
53 |
/** @TODO figure out if we can get things like the current draw from the AVR. */
|
|
54 |
/** @TODO More generally, figure out how we get info from the AVR (avrbridge
|
|
53 |
/** @todo figure out if we can get things like the current draw from the AVR. */
|
|
54 |
/** @todo More generally, figure out how we get info from the AVR (avrbridge
|
|
55 | 55 |
* node?) */ |
56 | 56 |
|
57 | 57 |
uint32_t voltage; /**< the current voltage */ |
58 | 58 |
uint32_t percentage; /**< current percentage of power remaining */ |
59 | 59 |
uint32_t draw; /**< the current draw in mW */ |
60 |
/** @TODO: figure out if these have to be uint8_t's to play nice with ROS */
|
|
60 |
/** @todo: figure out if these have to be uint8_t's to play nice with ROS */
|
|
61 | 61 |
bool externalpower; /**< are we on external power? */ |
62 | 62 |
bool warning; /**< is the battery reporting a warning state? */ |
63 | 63 |
bool critical; /**< is the battery reporting a critical state? */ |
... | ... | |
85 | 85 |
} |
86 | 86 |
|
87 | 87 |
|
88 |
/** @TODO: implement a function to send a message about the power state when
|
|
88 |
/** @todo: implement a function to send a message about the power state when
|
|
89 | 89 |
* it's critical. can't do much with this until I have some way of reading the |
90 | 90 |
* power state from the AVR, I don't believe. */ |
91 | 91 |
|
Also available in: Unified diff