Please follow this comprehensive guide to run the rover. Be prepared mentally to Google errors if any before contacting your seniors :)
- Start the electron server and click the propulsion button.
- Wait for Backend laptop to complete step 4.
- Join the same network as Jetson.
- Change the IP in the propulsion file at 2 spots.
- Open a new terminal and run
python3 propulsion.py
. Make sure you are in correct directory before running this. - Give the commands after pressing enter
- Connect the Jetson to your Hotspot.
- Check the IP of Jetson using the phone and ssh into Jetson. Commands provided in next point.
ssh ares@<ip of jetson>
password: ares1234
- Go to the correct directory
Desktop/Rover-Programs/RoverServer
- Run
python3 server.py
- Check in the terminal whether the data is being received and there's a line saying connection established.
- Open the VNC viewer and enter the ip of Jetson in the top bar.
- Use
password: ares1234
to enter the Jetson. - Go to the
Desktop/Rover-Programs/RoverServer
to find the files. - Open the files and use your Debugging skills to find the error.
- Open Aurdino IDE.
- Go to tools.
- Open ports. And write down all the given ports on paper and close it.
- Go to propulsion folder in the above provided directory. Go to the only file in the folder. And replace the port currently it is "/devtty1".