Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To enable communication between all your devices, we have to start Redis on some device. Start it on your laptop in the root framework sic folder (for MacOS and Windows: make sure Docker Desktop is running).

...

Starting SIC on the Robot

Expand
titleNotes on windows installation

This script sets environment variables and start the framework on the robot. However, running scripts on windows is not very simple. If you cannot execute the scripts by calling them from a powershell terminal, open them using a text editor and copy the commands into the terminal manually. Remember to adjust variables such as IP adresses

In a new terminal, start the framework on the robot using

Code Block
languagebash
cd sic/sic_framework/scripts/
sh ./start_robot.sh -h ROBOT_IP -n ROBOT_DEVICE_ID -b REDIS_IP

# Windows:
.\start_robot.ps1 ROBOT_IP ROBOT_DEVICE_ID REDIS_IP

Where:

  • ROBOT_IP is the adress of the Nao or Pepper robot

  • ROBOT_DEVICE_ID can be any name as it is the device_id with which the robot will identify itself in the framework.

  • REDIS_IP Your laptop IP address (use ipconfig on windows or hostname -I on linux or ipconfig getifaddr en0 on mac)

...

Code Block
languagebash
sh ./start_robot.sh -h 192.168.0.116 -n nao1 -b 192.168.0.181

# Windows
.\start_robot.ps1 192.168.0.116 nao1 192.168.0.181

This should show an output like

...