Connecting to a Robot - northern-bites/nbites GitHub Wiki

Setting up a link

Connecting to a robot from your computer is important.

If you are connecting to a robot wirelessly, then their hostname is just their name (e.g. inara, mal, etc.). There are stickers on their heads with their names. Watch 'Firefly' to understand where the names come from.

If you are connecting to a robot with a wired connection, then add '.local' to the end of the names to get the new hostname. For example, Mal's hostname when connecting with an Ethernet chord is 'mal.local'.

To test if the connection is working try pinging the robot. For example

ping <hostname>

If that works (if you see something like “64 bytes received...”) then you're good to try and connect.

Connection via SSH

SSH or Secure SHell is a network protocol which allows data to be exchanged between two networked devices. simple use the command ssh user@hostname and then enter the password for that computer. You can use this to ssh into the robocup server, robots, or even other computers!

To ssh into the RoboCup server: ssh [email protected]

To ssh into a robot via ethernet: ssh [email protected]

Ssh via wireless: ssh nao@robot-name

Once you’ve connected, your terminal prompt will change to show the name of the robot. In most cases, you can confirm that you’re connected by running a say command like say “hello world”. If the robot speaks, you’ve definitely connected!

⚠️ **GitHub.com Fallback** ⚠️