Skip to content
Abheet Verma edited this page Jul 7, 2018 · 5 revisions

Welcome to the Flying-Sensor-Node wiki!

Outdoor

After setting up the raspberry with the custom image and configuring the quad-copter using mission planner do the following :-

  • Step 1 - Change directory to Drone-Server
  • Step 2 - Run command ”sudo modprobe bcm2835-v4l2” to get video on web server.
  • Step 3 - Run command ”sudo python SensorLog.py” to get real time sensor data i.e. temperature and humidity
  • Step 4 - Run command ”sudo python GPS.py” to get real time sensor data i.e. GPS (only if the drone is outdoors)
  • Step 5 - Run command ”sudo python app.py” to start the server
  • Step 6 - If the IP address of the raspberry pi is 192.168.43.238 open a browser on a device connected to the network and enter the URL 192.168.43.238:5010 to get access the IoT platform.

Indoor

After setting the DWM1001 module,whycon on the drone and the overhead camera follow the below steps.

  • Step 1 - Make changes to the serial msp.cpp and flash the firmware.
  • Step 2 - Add changed files to pluto drone metapackage
  • Step 3 - Run the data via rosservice.py file to get coordinates and other data
  • Step 4 - Run the launch file and on another terminal run the navigation script.
  • Step 5 - Run the rosbridge websocket launch and open comm.html in browser to control the drone and get data
  • PS - Play with the code to understand it better.

Read Project Proposal from here