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
<?xml version="1.0" encoding="utf-8"?> | |
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never"> | |
<!-- This style was edited with the Visual CSL Editor (http://steveridout.com/csl/visualEditor/) --> | |
<info> | |
<title>Journal of Biomechanics</title> | |
<id>http://www.zotero.org/styles/journal-of-biomechanics</id> | |
<author> | |
<name>Dustyn Roberts</name> | |
<email>dustyn@nyu.edu</email> | |
</author> |
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 <Servo.h> // shortcut to code written by awesome people to make our lives easier | |
Servo myServo; // create servo object to control a servo | |
int pos; // variable to store the servo position | |
void setup() // happens once | |
{ | |
myServo.attach(5); // attaches the servo on pin indicated to the servo object | |
} |
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 <Servo.h> | |
Servo ShoulderServo; // create servo object to control a servo | |
Servo ElbowServo; // create servo object to control a servo | |
int elbowPos; // variable to store the servo position | |
int shoulderPos; // variable to store the servo position | |
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
// this code elevates the robotic arm then makes it wiggle back and forth | |
#include <Servo.h> | |
Servo ShoulderServo; // create servo object to control a servo | |
Servo ElbowServo; // create servo object to control a servo | |
int shoulderPos; // variable to store the servo position | |
int elbowPos; // variable to store the servo position |
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
// this code elevates the robotic arm then makes it wiggle back and forth | |
#include <Servo.h> | |
Servo ShoulderServo; // create servo object to control a servo | |
Servo ElbowServo; // create servo object to control a servo | |
int shoulderPos; // variable to store the servo position | |
int elbowPos; // variable to store the servo position |
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
// by David Cummings 8/30/2012 | |
#include <Servo.h> | |
Servo Elbow; // create servo object to control a servo | |
Servo Shoulder; | |
int e_pos = 90; // variable to store the servo position | |
int s_pos = 90; | |
char read_char; |
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
/* | |
Planar Robotic Arm Visualizer | |
by Dustyn Roberts 20120622 | |
modified by David Cummings 20120830 | |
*/ | |
import processing.serial.*; | |
//constants | |
float a1 = 198; // shoulder-to-elbow "bone" length from Solidworks (mm) | |
float a2 = 220; // elbow-to-wrist "bone" length from Solidworks (mm) - longer c bracket |
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 the Processing serial library | |
Serial myPort; // The serial port | |
float bgcolor = #FAE312; // Background color | |
float fgcolor; // Fill color | |
float xpos, ypos; // Starting position of the ball | |
int sensors[]; | |
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
clear all; % erases all data | |
clf; % clears previous plot | |
%read in all of Winter's relevant data | |
kinematics = xlsread('Winter_Appendix_data_DR07112012.xlsx','A4.RelJointAngularKinematics','a5:l110'); | |
kinetics = xlsread('Winter_Appendix_data_DR07112012.xlsx','A5.ReactionForces&Moments','a6:x111'); | |
positions = xlsread('Winter_Appendix_data_DR07112012.xlsx','A2.Filtered_Marker_Kinematics','a5:ay111'); | |
time = xlsread('Winter_Appendix_data_DR07112012.xlsx','A4.RelJointAngularKinematics','c5:c110'); | |
%constants |
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
// TEA TIME! | |
// Libraries for the DS18B20 Temperature Sensor | |
#include <OneWire.h> | |
#include <DallasTemperature.h> | |
// PINS-------------------------------------- | |
// One-Wire Temperature Sensor | |
#define ONE_WIRE_BUS 2 // Blue Stripe is data |