Skip to main content

Pluto Robot

1. Overview & Safety

There are two ways to control Pluto:

  • Part A: The chassis alone, controlled from a phone (no Raspberry Pi needed). Use this for a quick test.
  • Part B: The Raspberry Pi controls the chassis, driven by keyboard over SSH.

 

Safety (Read First):

  • Drive in an open area with a clear path, and keep your hand ready to switch off the chassis or lift it up safely.
  • If Pluto is placed on a desk, always make sure that the wheels can spin freely to avoid Pluto from driving off the desk by accident.
  • Chassis battery: 12.6 V is full. Charge it if it is below 10 V.
  • Only drive slowly at first.
  • The chassis stops by itself if it receives no command for 3 seconds.
  • Power the chassis off before connecting or disconnecting the TX/RX jumper cables.
  • Never connect the Pi’s 5 V pins (2 and 4) to the chassis.

2. Part A: Manual Drive with Waveshare Web Interface

What you need:

Item Notes
Phone or laptop with WiFi and a browser Chrome is recommended by Waveshare. iPhone with Safari worked for us.
Charged chassis battery 3× 18650 cells installed
No software to install The control page is built into the chassis

Steps

  1. Power on the chassis with the silver button on the back of the chassis. The small display on the chassis should show a version number.
  2. On your phone, open the WiFi settings and connect to the network UGV with the password 12345678. The phone will warn that there is no internet. This is normal. Stay connected.
  3. Open a browser and go to http://192.168.4.1.
  4. Use the control page to drive.
  5. When finished, stop the robot and switch off the chassis.

Manual control interface on phone

 

Make sure Plutos wheels are off the table

3. Part B: Raspberry Pi Control & Setup

What you need:

Item Notes
Laptop Needs an SSH client.
Ethernet cable If your laptop has no Ethernet port, you need a USB-to-Ethernet adapter
Phone with a mobile hotspot Used by the Pi for WiFi in the field. Needs its hotspot name and password
Pi login Hostname: “PLUTO8” User: “pluto”, password: “pluto8” or “Pluto8”
Charged power for the Pi UPS HAT batteries charged
Charged chassis battery As in Part A

The Pi is assumed to be fully set up already. Installing from scratch is not covered here.

1. Check the Hardware

Look at the robot before powering on:

  • The UART jumper cables run from Pi pins 8, 10 and 6 to the chassis driver board.
  • The LiDAR is plugged into the bottom left USB socket and the GPS into the bottom right socket (viewed from the side with the USB and Ethernet ports) – check that all jumper cable are connected to the USB adapter. The GPS and LiDAR are not needed for keyboard driving, but unplugged sensors cause warnings later.

 

2. Power On and Connect with Ethernet Cable

  1. Power on the Pi with the UPS HAT switch, and wait until it has booted. Then power on the chassis.
  2. Connect the Ethernet cable between the laptop and the Pi. The Pi has the fixed address 192.168.0.200.
  3. Test the connection. ping sends a small test message and shows whether the Pi answers. Open a terminal (e.g. Windows PowerShell) and run: ping 192.168.0.200. Replies mean it works.
  4. Log in with SSH (a remote text terminal on the Pi): ssh pluto@192.168.0.200. On the first connection, type yes to trust the Pi, then enter the password. Always use the IP address. The name PLUTO8.local is unreliable.

 

3. Add Your Phone Hotspot to the Pi (Once Per New Hotspot)

The Pi stores its known WiFi networks in a configuration file (netplan). We add the new hotspot there.

  1. Switch on the hotspot on your phone.
  2. On the Pi, list the configuration files:
    ls /etc/netplan/
  3. Show the contents (replace FILENAME.yaml with the file name from step 2):
    sudo cat /etc/netplan/FILENAME.yaml
    Find the section access-points: under wlan0:. It lists the known hotspots.
  4. Open the file for editing (nano is a simple text editor):
    sudo nano /etc/netplan/FILENAME.yaml
    Add your hotspot as a new entry in the existing access-points: list, with the same indentation as the entries above it:
    "YOUR_HOTSPOT_NAME":
      password: "YOUR_HOTSPOT_PASSWORD"

    Do not create a second wlan0: block. Save with Ctrl+O, Enter, and exit with Ctrl+X. Indentation uses spaces only, never tabs. Correct indentation is a must.
  5. Apply the change safely. netplan try tests the new configuration and automatically undoes it after 120 seconds unless you confirm with Enter, so you cannot lock yourself out:
    sudo netplan try
  6. Check that the Pi has joined the hotspot:
    ip -4 addr show wlan0
    An address like 172.20.10.x (iPhone hotspots) means success. Write it down. Be aware that it may change.
  7. Test: shut down the Pi, unplug the Ethernet cable, power on again, and connect with ssh pluto@<address from step 6>. If the address is unknown, scan the hotspot network from the laptop:
    for i in {1..14}; do ping -c 1 -W 500 172.20.10.$i | grep "bytes from" & done; wait

 

4. Check the Connection to the Chassis

Confirm the serial port to the chassis exists:
ls -l /dev/ttyAMA0

 

5. Start the Software

tmux keeps programs running even if the SSH connection drops. Each “window” is a separate terminal inside it. Start tmux before anything else:
tmux new-session -s robot -n chassis

In this first window, start the chassis driver. source loads our ROS2 workspace into the terminal, and ros2 run starts one program (a “node”):
source ~/robot_ws/install/setup.bash
ros2 run ugv_driver chassis_driver

Open a second window: press Ctrl+B, release, then press C. Start the keyboard control there:
source ~/robot_ws/install/setup.bash
ros2 run ugv_driver teleop_node

Switch windows with Ctrl+B, then the window number (0 or 1). Leave without stopping everything: Ctrl+B, then D. Return after a dropped connection:
tmux attach -t robot

 

6. Check, Then Drive

Before driving, open a third window (Ctrl+B, C) and check that data flows. --once prints a single message:
source ~/robot_ws/install/setup.bash
ros2 topic echo /battery_voltage --once
ros2 topic echo /odom --once

Battery: 12.6 V is full, below 10 V charge.

Go back to the teleop window (Ctrl+B, 1) and drive.

7. Shutdown Procedure

  1. Stop the teleop node (Ctrl+C in its window).
  2. Stop the chassis driver (Ctrl+C in its window).
  3. Close tmux:
    tmux kill-session -t robot
  4. Shut the Pi down properly, and wait until it is fully off before switching off the chassis:
    sudo poweroff