This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QGC WPL 110 | |
0 0 0 16 0.000000 0.000000 0.000000 0.000000 39.872074 32.732212 0.090000 1 | |
1 0 3 16 0.000000 0.000000 0.000000 0.000000 39.871994 32.732208 5.000000 1 | |
2 0 3 16 0.000000 0.000000 0.000000 0.000000 39.872005 32.732372 5.000000 1 | |
3 0 3 16 0.000000 0.000000 0.000000 0.000000 39.871979 32.732376 5.000000 1 | |
4 0 3 16 0.000000 0.000000 0.000000 0.000000 39.871975 32.732227 5.000000 1 | |
5 0 3 16 0.000000 0.000000 0.000000 0.000000 39.871956 32.732227 5.000000 1 | |
6 0 3 16 0.000000 0.000000 0.000000 0.000000 39.871952 32.732376 5.000000 1 | |
7 0 3 16 0.000000 0.000000 0.000000 0.000000 39.871937 32.732368 5.000000 1 | |
8 0 3 16 0.000000 0.000000 0.000000 0.000000 39.871941 32.732227 5.000000 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import threading | |
import logging | |
import dronekit_sitl | |
from dronekit import connect, VehicleMode, LocationGlobalRelative, Command, LocationGlobal | |
import numpy as np | |
import cv2 | |
from picamera import PiCamera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import threading | |
import logging | |
import dronekit_sitl | |
from dronekit import connect, VehicleMode, LocationGlobalRelative, Command, LocationGlobal | |
import numpy as np | |
import cv2 | |
from picamera import PiCamera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import threading | |
import logging | |
import dronekit_sitl | |
from dronekit import connect, VehicleMode, LocationGlobalRelative, Command, LocationGlobal | |
import numpy as np | |
import cv2 | |
from picamera import PiCamera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import threading | |
import logging | |
import dronekit_sitl | |
from dronekit import connect, VehicleMode, LocationGlobalRelative, Command, LocationGlobal | |
import numpy as np | |
import cv2 | |
from picamera import PiCamera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import threading | |
import logging | |
import dronekit_sitl | |
from dronekit import connect, VehicleMode, LocationGlobalRelative, Command, LocationGlobal | |
import numpy as np | |
import cv2 | |
from picamera import PiCamera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import threading | |
import logging | |
import dronekit_sitl | |
from dronekit import connect, VehicleMode, LocationGlobalRelative, Command, LocationGlobal | |
import numpy as np | |
import cv2 | |
from picamera import PiCamera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def set_velocity_body(vehicle, vx, vy, vz, duration): | |
""" Remember: vz is positive downward!!! | |
http://ardupilot.org/dev/docs/copter-commands-in-guided-mode.html | |
Bitmask to indicate which dimensions should be ignored by the vehicle | |
(a value of 0b0000000000000000 or 0b0000001000000000 indicates that | |
none of the setpoint dimensions should be ignored). Mapping: | |
bit 1: x, bit 2: y, bit 3: z, | |
bit 4: vx, bit 5: vy, bit 6: vz, | |
bit 7: ax, bit 8: ay, bit 9: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import cv2 | |
from picamera import PiCamera | |
from picamera.array import PiRGBArray | |
import math | |
import time | |
def ironmaiden(x, y, w, h, frame, t, color, a): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import serial as sl | |
import time | |
ser = sl.Serial('COM10', baudrate=9600) | |
rawdata=[] | |
count = 0 | |
a = str(ser.readline()) | |
while count < 70: |