Reliable Long Distance, Low Latency Communication for the Jetson Nano, suitable for Remote Control
- You need a Jetson Nano that connects to the internet, running linux
- You need Python 3.6 or higher
- You need to have a camera plugged into the Jetson Nano
- You need to have gstreamer installed
- A MyRio that is connected through wired internet link
- A remote control computer
- Make sure you comply with the liscence before modifying the code
- If you do not have a MyRio connected via wired internet link
- Set connectmyrio=False
- If you do have a MyRio connected via wired internet link
- Set connectmyrio=True
- Get the Static or Static DHCP IP Address of the MyRio's Wired Interface
- Get the Hosting Port of the running MyRio program
- Set remhost to the IP Address of the MyRio
- Set the remport to the port of the MyRio
- If you have a camera that doesn't work with the current video configuration
- In the start_video function, modify the string to match the camera settings of your camera
- This can be found through v4l-ctl
- You should start with the remaining values as supplied
- Use ifconfig to get your current IP address
- Use UFW to open the hosting port to TCP, which by default is TCP port 8081
-
sudo ufw allow 8081
-
- Use UFW to open the video hosting port to TCP, which by default is TCP port 8082
-
sudo ufw allow 8082
-
- Run robo.py using Python3
- If you are going to connect with a client
- Enter your IP Address into the client's configuration
- Enter your hosting port into the client's configuraiton
- Enter your video hosting port into the respective client configuration file
- Configure the rest of the client as specified in the client documentation
- Run the client
- Copy the 4 digit random pairing code from the client to the terminal created by robo.py, and hit enter
- The program should be connected and running now if you entered the number correctly
- If you didn't then the server will say so, and you will have to go back to step 10. v.
- Make sure you comply with the liscence before modifying the code
- Use ifconfig to get your current IP address
- Run robo.py using Python3
- If you are going to connect with a client
- Enter your IP Address into the client's configuration, if it has changed
- Enter your video hosting port into the respective client configuration file
- Configure the rest of the client as specified in the client documentation
- Run the client
- Copy the 4 digit random pairing code from the client to the terminal created by robo.py, and hit enter
- The program should be connected and running now if you entered the number correctly
- If you didn't then the server will say so, and you will have to go back to step 4. iv.