Reference

Reference

The REST API, the MessagePack robot API and the command-line tools.

Ports

PortProtocolServed byPurpose
7700TCPhulkRobot API
7702TCPhulkREST API (HTTP/JSON, local network only)
7701UDPnao-rs-guardDeath switch stop (NAO-RS STOP)
22TCPHULKs-OSSSH, user nao

Files on the robot

PathWhat
/run/nao-rs/deathswitchThe death switch page
/home/nao/hulkThe nao-rs installation: bin/hulk, bin/nao-rs-guard, bin/naoctl, etc/
/home/nao/hulk.prevThe previous installation, kept for rollback
/etc/systemd/system/hulk.servicehulk on the nao-rs runtime
/etc/systemd/system/nao-rs-guard.serviceThe guard
/etc/tmpfiles.d/nao-rs.confCreates /run/nao-rs at boot
/etc/systemd/network/50-nao-rs-wired.networkThe wired network: DHCP, 172.28.28.28/24, link-local
~/.config/nao-rs/rest-token (user nao)The REST API token
/var/run/alfand/cputempLast CPU temperature reading, in thousandths of a degree
/media/internal/DeviceHeadInternalGeode.xmlHead id and version (read only)

Logs

journalctl -u hulk -f            # the runtime and hulk
journalctl -u nao-rs-guard -f   # the guard: takeovers, UDP stops

On this page