Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Button Presses For Nao

Peter Schmidt edited this page Sep 9, 2017 · 3 revisions

libagent is a Naoqi module that listens for commands from runswift and pushes new sensors readings.

Using libagent's robot interface

libagent uses the chest-button to communicate its state (along with speech). It has chest button and the foot bumpers combinations that perform actions.

LED key

Chest button colour runswift State libagent State
Flashing Red runswift is not responding libagent is in limp mode
Flashing Yellow runswift is not responding libagent is in stand mode
Flashing Green runswift is responding libagent is in limp mode
Solid Red runswift is not responding libagent is in sit mode
Solid Green runswift is responding libagent is in sit mode

Button Interface

Button presses + foot bumper Action
2 No Make body limp or stiff
2 Yes Make head limp or stiff
3 No Start or Stop runswift
3 Yes Restart (or at least stop) naoqi
4 (Ignored) Restart WiFi
hold No Shut down
hold Yes Flash various boards, then reboot

Head stroke

runswift can be started or killed by "stroking" the 3 head buttons forwards or backwards.