Find your Robot’s IP address

In order to use your robot through TCP connection, you will firstly need to connect to it, which implies that you know its IP address.

The next sections explain how to find your robot IP according to your configuration:

Hotspot mode

If you are directly connected to your robot through its wifi, the IP Address you will need to use is 10.10.10.10.

Simulation or directly on the robot

In this situation, the robot is running on the same computer as the client, the IP address will be the localhost address 127.0.0.1.

Direct ethernet connection

If you are directly connected to your robot with an ethernet cable, the static IP of your robot will be 169.254.200.200.

The reader should note that he may need to change his wired settings to allow the connection. See how to connect to Ned via Ethernet on Ubuntu.

Computer and robot connected on the same router

You will need to find the robot’s address using nmap, or you can also use search button of Niryo Studio to see which robots are available.

You can also Make IP permanent so that you will not have to search for it next time

Make IP permanent

Step 1

Firstly, you need to be connected to your robot via SSH.

On Ubuntu, use the command line:

ssh niryo@<robot_ip_address>

The password is robotics.

On Windows, you can use Putty. Robot username is niryo and password is robotics.

Step 2

Find your proxy key:

ifconfig

Your proxy key is written on the first line and should look something like eth0.

Step 3

Select arbitrarily a number between 50 & 255. It will be your IP address’ last number.

Then, edit the file /etc/network/interfaces:

sudo nano /etc/network/interfaces

And add to its end:

auto <robot_proxy_key>
iface <robot_proxy_key> inet static
    address 192.168.1.<your_ip_address_last_number>
    broadcast 192.168.1.255
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 192.168.1.1

From its next reboot, the robot will appear under the IP 192.168.1.<your_ip_address_last_number>.