Terminal command:
ssh robot@ev3dev.local
Password:
maker
- When you SSH in to the Ev3 type
sudo visudo
- In the bottom of the file - below #includedir /etc/sudoers.d, add
username ALL=(ALL) NOPASSWD: ALL
To check what is your robot's username type
whoami
- Exit and save the file
This project allows the user to control R2-D2 through the keyboard and ask it what the weather is.
- Key 0 - Stops the motors
- Key Q - Stops the server and shuts down Ev3
- Key E - Tells the weather
- Key W - Goes forward
- Key S - Goes backward
- Key A - Turns left and goes forward
- Key D - Turns right and goes forward
- R2-D2 TouchSensor - Stops the server and shuts down Ev3
How to launch:
- Launch Server.py
python3 Server.py
- Launch Main.py
python3 Main.py
This project allows the user to remotely control the Lego F1 from a Raspberry Pi from a GUI and take pictures with the Raspberry Pi camera.
- Key Q - Exit program
- Key E - Snapshot
- Key W - Go forward
- Key S - Go backwards
- Key A - Turn left
- Key D - Turn right
- Key Space - Stop motors
How to launch:
- Launch Ev3
python3 Main.py
- Launch Raspberry Pi
LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3
import os
os.system('python3 Main.py --output output')