Skip to content

Instantly share code, notes, and snippets.

View OmarMorando's full-sized avatar
💽
Stay safe, stay free.

Omar Morando OmarMorando

💽
Stay safe, stay free.
View GitHub Profile
@yan12125
yan12125 / BluetoothTest.java
Created December 30, 2014 19:57
Bluethooth test
package org.twbbs.chyen.android.BluetoothTest;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
@fogleman
fogleman / main.py
Last active September 11, 2024 07:27
Collision Avoidance
from collections import deque
from math import sin, cos, pi, atan2, hypot
import random
import time
import wx
SIZE = 600
COUNT = 64
SPEED = 100
FOLLOWERS = 4
#include <stdio.h>
#include <stdlib.h>
#include "ros/ros.h"
#include "std_msgs/MultiArrayLayout.h"
#include "std_msgs/MultiArrayDimension.h"
#include "std_msgs/Int32MultiArray.h"