This document introduces the demo project of "go_power_status", including how to get the battery percentage and power status.
（Either one of following）
- Slamware SDP mini
- Slamware SDP
- Slamware Kit
- Zeus/Apollo robot base
- Right click on "get_power_status" project, set as StartUp project.
Right click on "get_power_status", then " Properties"，configure "include" and "lib" directories to the corresponding folder path of Slamware SDK.
It's not necessary to copy files to the project directory, user will only need to configure the path of SDK.
- Right click on " get_power_status ", then "properties"，set "Command Arguments" as follows:
Syntax ：get_power_status <IP address>>
- Click " F5" to execute.
- The output from console will be as follows：
Get battery percentage and power status