LOGIN






Welcome, Guest

Problems with handling events and python modules
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Problems with handling events and python modules

Problems with handling events and python modules 1 year, 4 months ago #21897

Hello! I'm a student developing with Nao for my Senior design project. I've ran into a pretty big roadblock.

I'm programming in Python2.6, connecting to Nao through IDLE (the python IDE). I'm developing on the Nao H25.

I'm having a hard time getting Nao to handle events in general. The events I'd like to catch in particular are his sonar and face detection. I'm fully aware that the Aldebaran website has an example for handling events and python modules, and the code makes sense from a viewers standpoint, however when I try to set up a test in a similar fashion I get no results; my code will no facility sonar detection, face detection or any other sensor for that matter.

Note: I have been able to detect faces with ALMemory.getData("FaceDetection"), but with that method I have to constantly be checking that value for changes. I'm looking for a way to have Nao detect faces as an event.

If anyone has any information, help, or tutorial to get started I would greatly appreciate it.

Thanks!

Re: Problems with handling events and python modules 1 year, 4 months ago #21901

I'm still working on this problem and have narrowed it down.

I'm having a hard time using ALMemory; specifically the subscribeToEvent method.

Does anyone have any personal experience with ALMemory and how it should work?

Thanks

Jake
  • Page:
  • 1
Time to create page: 0.20 seconds