Control of Raspberry Pi - ci-group/revolve GitHub Wiki

Logging in

To log in to a robot, find his ip address (you can use nmap/zenmap and do a pingscan) and log in:

$ ssh [email protected]
Password:

raspberry

If you encounter problems:

  1. Check if you are connected to correct Wi-Fi network.
  2. Try scanning the network using nmap
$ nmap -sP 192.168.1.*

and then ssh to a discovered IP address

$ ssh [email protected]

Enable the pigpio daemon

If running the scripts terminates with a following error:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Can't connect to pigpio on localhost(8888)

Did you start the pigpio daemon? E.g. sudo pigpiod

Did you specify the correct Pi host/port in the environment variables PIGPIO_ADDR/PIGPIO_PORT? E.g. export PIGPIO_ADDR=soft, export PIGPIO_PORT=8888

Did you specify the correct Pi host/port in the pigpio.pi() function? E.g. pigpio.pi('soft', 8888)) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

the pigpio daemon is not started. Solution:

$ sudo pigpiod

if still you get an error, try (changing the way to access the GPIO)

$ sudo pigpiod -a1

Shutting down

Safest way for shutting down Raspberry Pi is with command:

$ sudo shutdown -h now

If you want to reboot, use

$ sudo shutdown -r now
⚠️ **GitHub.com Fallback** ⚠️