- Connecting and setting up the Raspberry Pi
- Launching LibRob
- (Optional) Troubleshooting router connection
The first step is to connect to the Raspberry Pi from your Laptop and check whether everything is connected properly to the Pi. Follow the following instructions:
- Check that the Pi and router are powered by the batteries, that the Lidar, robot, microphone and controller are connected by USB to the Pi and that the router is connected to the Pi by ethernet.
- Connect to the LibRob Wi-Fi on your Laptop (if you can't find it go to the Troubleshooting part)
- Open a terminal window
- Type
ssh ubuntu@ros-pi.lanto connect to the Pi - Password: ubuntu
The next will be to run the relevant launch files in order to start the Operation of LibRob. Follow these instructions:
- Turn on the robot
- Go to terminal
- Type
cd catkin_ws/src/to go the GitLab repo - You can type
git pullif you're not sure whether you have the latest version - Type
tmuxto open a virtual terminal (so you don't close all the processes if there is a connection failure, if it does fail usetmux ato "reattach" your virtual terminal) - run
roslaunch librob start_Pi.launchon the Pi - run
roslaunch librob start_laptop.launchon the Lenovo laptop - Adjust the initial position of the robot on rviz
Note: If the launch files mention an error with the USB ports you'll have to swap the USB ports on the rplidar.launch and teleop.launch files.
The rplidar will either use USB0 or USB2 and the teleop will be USB0 or USB1
The router might run into issues when it tries to set up our LAN in the library. If that's the case, you won't have internet access through LibRob or you won't see the librob Wi-Fi option. If this happens, try this:
- If you don't see the LibRob WiFi connect to the router using an ethernet cable (not necessary if you can connect but can't access Pi or internet)
- Go to your favourite browser and type
192.168.2.1in the search bar - Connect using username: root, Password: root credentials
- Go to
Network/wireless/overview - Click the scan button on the first item of the list
- Find the channel number of the strongest
Imperial-WPAsignal - Go back to overview and edit the librob client to the right channel number