Skip to content

Instantly share code, notes, and snippets.

View 99sphere's full-sized avatar
🎯
Focusing

Gu Lee 99sphere

🎯
Focusing
  • DGIST
  • 333, Techno jungang-daero, Hyeonpung-eup, Dalseong-gun, Daegu, Republic of Korea
View GitHub Profile
@99sphere
99sphere / thermo-hygrometer_with_8x32_dot_matrix_module_and_DHT11.ino
Created October 9, 2022 14:44
thermo-hygrometer_with_8x32_dot_matrix_module_and_DHT11
#include <DHT.h>
#include <DHT_U.h>
#include <MD_MAX72xx.h>
#include <MD_MAX72xx_lib.h>
#define DHTPIN 7
#define DHTTYPE DHT11
DHT dht(DHTPIN, DHTTYPE);
@99sphere
99sphere / airsim_yolo_based_avoidance
Last active April 17, 2024 14:35
AirSim Simple AEB with yolo v3
import airsim #pip install airsim
import cv2
import numpy as np
import time
# for car use CarClient()
client = airsim.CarClient()
car_controls = airsim.CarControls()
def transform_input(responses):
img1d = np.fromstring(responses[0].image_data_uint8, dtype=np.uint8)
@99sphere
99sphere / AirSim_get_raw_img
Last active February 7, 2021 15:15
AirSim_Get_Raw_Image_and_Object_Detection
import airsim #pip install airsim
import cv2
import numpy as np
# for car use CarClient()
client = airsim.CarClient()
def transform_input(responses):
img1d = np.fromstring(responses[0].image_data_uint8, dtype=np.uint8)
#img1d = 255 / np.maximum(np.ones(img1d.size), img1d)
# Python client example to get Lidar data from a car
#
import setup_path
import airsim
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import sys
import math
import time