Communication Relay by creating a WiFi Mesh Network ( essentially making IoT Nodes) using ROS, and using that network for Data Telemetry, with Telemetry radios ( Ubiquiti Bullet, Ubiquiti Nanostation) being used as Access Points and Base stations. These are mounted on Drones (with provision for Autopilot using PixHawk modules) so as to facilitate large scale operations at remote locations, accompanied with an Android App. All of this is achieved Without the use of an Active Internet Connection.
Install either ROS Kinetic / ROS Indigo, preferrably ROS Kinetic by following the instructions provided here: https://bit.ly/2Kp5JMR
https://bit.ly/2BjKcC1 . https://bit.ly/Nanostation
After following this, connect to the Designated WiFi SSID you have created, go to Edit Connections, and then set a Static IP Address, as per your choice.
- Drone checks connection to both the Nanostations using ping command(as used using the terminal) (chk_connection.py)
- Whichever Nano the drone gets connected to, the transfer will take place with that Nano(dronecomm1.sh)
- Data syncing is done with the respective nano (drone1.py)
- It will ping the other nanostation ( chk_connection1.py)
- Data syncing is done again with that Nano(The one with which the connection is established in the upper case). (dronecomm2.sh)
- Again it will ping the first (chk_connection2.py)
- Open terminal ( Alt+ Ctrl + T), and type in rosversion -d, to check if ROS has been correctly or not. If the version name is shown, it means that it has been correctly installed and is good to go.
- Get to the directory where check check_connection.py is located, and type in ./check_connection.py. For example, cd Desktop/Summer\ Communications\ Project\ IP/comm_src/src/comm/src/ and then the above command. This would get the system going, and all the processes, as mentioned in the above Pipeline Process, will begin, and in order.
- The files and folders that need to be in the same directory are:
- check_connection.py
- nano2_comm.sh
- nanostation2.py
- send_folder
- receive_folder
- Open check_connection.py and change the IP Address to the one you want to connect to, for example '192.168.1.202'.
- Open nano2_comm.sh
- Change the IP Adress to your own system's IP address in this line: export ROS_IP=192.168.1.200
- Change the IP Adress to the Master's (which is sending the files) IP address in this line: export ROS_MASTER_URI=http://192.168.1.202:11311
- To kill all the processes, type in killall -9 rosmaster
-
- User:ubnt
- Password: iiitd_ubnt
- Preset IP Address: 192.168.1.158
-
- User:ubnt
- Password: ubnt123
- IP Address: 192.168.1.160
-
- Raspberry Pi 2 user: iiitd
- IP Address: 192.168.1.200
- Password: test@123
-
Access Point 1:
- WiFi SSID: ubiquiti_IIITD
- Password: ubiquiti_iiitd123
-
Access Point 2
- WiFi SSID: ubnt_IIITD
- Password: ubiquiti_iiitd123
hi