0

When operating, the robot can encounter a variety of error states, such as overheating:

http://doc.aldebaran.com/2-8/family/pepper_user_guide/voice_notifications_pep.html#notifications-pepper

How can I detect the presence of an error condition using the Python API, and read those codes to act on them accordingly?

Some programmer dude
  • 400,186
  • 35
  • 402
  • 621
whatsisname
  • 5,872
  • 2
  • 20
  • 27
  • Please take some time to refresh [the help pages](http://stackoverflow.com/help), especially ["What topics can I ask about here?"](http://stackoverflow.com/help/on-topic) and ["What types of questions should I avoid asking?"](http://stackoverflow.com/help/dont-ask). Also take the [tour] and read about [ask] good questions and [this question checklist](https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/). Lastly please don't forget how to create a [mre] of your own attempt, or how to [edit] your questions. – Some programmer dude Sep 08 '21 at 05:35

2 Answers2

1

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).

Ales Horak
  • 114
  • 6
0

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.

Victor Paléologue
  • 2,025
  • 1
  • 17
  • 27