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 <iostream> | |
#include <vector> | |
#include <librealsense2\rs.hpp> | |
// loadbagfile: load a bag file to a pipeline | |
void loadbagfile(rs2::pipeline & pipe, std::string filename) | |
{ | |
rs2::config cfg; | |
cfg.enable_device_from_file(filename); |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class SimpleRecursion : MonoBehaviour { | |
void Start () { | |
//Terminating condition | |
if(transform.localScale.x > 1.001f) |
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
/*Apply body-wide style choices here*/ | |
body { | |
padding:0; | |
margin:0; | |
text-decoration-color: white; | |
font-family: helvetica; | |
} | |
h1 { |
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 <SoftwareSerial.h> | |
#include <Adafruit_Thermal.h> | |
#define TX_PIN 6 | |
#define RX_PIN 5 | |
SoftwareSerial mySerial(RX_PIN, TX_PIN); | |
Adafruit_Thermal printer(&mySerial); | |
String inputString = ""; |
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 processing.serial.*; | |
import controlP5.*; | |
import de.looksgood.ani.*; | |
import ddf.minim.*; | |
Minim minim; | |
AudioPlayer middle_song, lower_song, upper_song, error_sound, reward_sound; | |
AniSequence voting_sequence; | |
// GUI variables | |
ControlP5 cp5; |
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 gab.opencv.*; | |
import processing.video.*; | |
import java.awt.*; | |
Capture video; | |
OpenCV opencv; | |
String timestamp; | |
void setup(){ | |
size(1280,720); | |
video = new Capture(this, 1280,720); |