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
#include <HardwareSerial.h> | |
// Configure DAC pins | |
const int DAC1_PIN = 25; | |
const int DAC2_PIN = 26; | |
// Set voltage range | |
const float VOLT_RANGE = 3.3; | |
void setup() { |
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 pygame | |
import argparse | |
import serial | |
parser = argparse.ArgumentParser(description='channel') | |
parser.add_argument('-t', "--throttle", type=int, default=0, help='throttle value') | |
# Initialize Pygame | |
pygame.init() |
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 time | |
import socket | |
import exceptions | |
import math | |
import argparse | |
from dronekit import connect, VehicleMode, LocationGlobalRelative, APIException | |
from pymavlink import mavutil | |
import cv2 |
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 time | |
import socket | |
import exceptions | |
import math | |
import argparse | |
from dronekit import connect, VehicleMode, LocationGlobalRelative, APIException | |
from pymavlink import mavutil | |
import cv2 |
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 math | |
from pymavlink import mavutil | |
import sys | |
class mission_item: | |
def __init__(self, l, current, x,y,z): | |
self.seq = l | |
self.frame = mavutil.mavlink.MAV_FRAME_GLOBAL_RELATIVE_ALT | |
self.command = mavutil.mavlink.MAV_CMD_NAV_WAYPOINT |
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 cv2 as cv | |
import keyPressModule as kp | |
from djitellopy import tello | |
import socket | |
from threading import Thread | |
import os | |
from multiprocessing import Process | |
from time import sleep |
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 math | |
from pymavlink import mavutil | |
import time | |
class mission_item: | |
def __init__(self, l, current, x,y,z): | |
self.seq = l | |
self.frame = mavutil.mavlink.MAV_FRAME_GLOBAL_RELATIVE_ALT | |
self.command = mavutil.mavlink.MAV_CMD_NAV_WAYPOINT |
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 math | |
from pymavlink import mavutil | |
class mission_item: | |
def __init__(self, l, current, x,y,z): | |
self.seq = l | |
self.frame = mavutil.mavlink.MAV_FRAME_GLOBAL_RELATIVE_ALT | |
self.command = mavutil.mavlink.MAV_CMD_NAV_WAYPOINT | |
self.current = current |
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 serial | |
import time | |
import numpy as np | |
import argparse | |
parser = argparse.ArgumentParser(description='channel') | |
parser.add_argument('-r', "--reset", type=int, default=0, help='reset throttle value') |
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 pygame | |
import serial | |
import argparse | |
parser = argparse.ArgumentParser(description='channel') | |
parser.add_argument('-t', "--throttle", type=int, default=0, help='throttle value') | |
args = parser.parse_args() |
NewerOlder