Friday, January 15, 2010

Useful Things

to check from visual studio command prompt that Nao is alive or not, use this command:
ping ipaddress of Nao

Nao's OS is a linux OS so it can be used like that.
to remotely run any programme or module etc, one can connect to Nao remotely using SSH like Secure Shell Client and run commands or transfer files etc.

commands for running Nao:

./status checks whether Nao and Bhuman are running or not and outputs the result.
./naoqid start|stop|restart this command starts, stops and restart NaoQi respectively.

in Nao when NaoQi starts it automatically runs some module, these modules are mentioned in autoload.ini startup file at location /opt/naoqi/modules/lib/autoload.ini
and so one need to add module's name here which is needed, then these will be automatically started with NaoQi

If any changes is made in autoload.ini then NaoQi has to be restarted to make new modules running.

all these above task can be done remotely by connecting with Nao using SSH.

No comments:

Post a Comment

Followers

Contributors