Reputation: 6150
When operating, the robot can encounter a variety of error states, such as overheating:
How can I detect the presence of an error condition using the Python API, and read those codes to act on them accordingly?
Upvotes: 0
Views: 122
Reputation: 2342
For overheating specifically, see ALNotificationManager
.
For Pepper, it corresponds to the code 720.
Note that these notifications are punctual and disappear when read. Thus when the notification has disappeared, that does not mean that the problem has disappeared, nor vice versa.
Upvotes: 0
Reputation: 151
You may use the ALDiagnosis API, the getPassiveDiagnosis() method.
By the way - you refer to NAOqi 2.8, which is only for NAO6. The last version for Pepper (as far as I know) is NAOqi 2.5 (or QiSDK, aka NAOqi 2.9, which is for Android-based Pepper control).
Upvotes: 1