Part | # Servo id | Home/Center | min | max | Decreasing direction |
---|---|---|---|---|---|
Base | 1 | 1750 | 1000 | 4095 | in to out |
Shoulder | 2 | 2250 | 1500 | 3000 | left to right |
Elbow | 3 | 2850 | 900 | 3500 | down up |
Wrist | 4 | 2000 | 1000 | 3000 | in out |
This file contains hidden or 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
#pragma once | |
#include <variant> | |
// use fmtlib as the backbone for printing and formating messages. | |
#include <fmt/fmt.h> | |
// Colors from @gon1332 | |
// https://github.com/gon1332/fort320 | |
/* FOREGROUND */ | |
#define RST "\x1B[0m" |
This file contains hidden or 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
<div id="knn-react-app" class="embedded-app" style="text-align: center;"> | |
<button id="knn-1-predict-btn"> <i class=""></i> Predict</button> | |
<input type="checkbox" id="knn-1-scale-btn" /> | |
<label for="subscribeNews">Scale?</label> | |
<input id="knn-1-kvalue" placeholder="# of neighbours eg. 3"/> | |
<input id="knn-1-point-input" placeholder="weight,color,seeds eg. 371,3,1" /> | |
<i class="fas fa-equals"></i> | |
<img width="25" height="25" id="knn-1-class-img" /> | |
</div> | |
<div id="knn-vis1" style="width: 100%; height: 520px;"></div> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
/* | |
* Arduino-serial | |
* -------------- | |
* | |
* A simple command-line example program showing how a computer can | |
* communicate with an Arduino board. Works on any POSIX system (Mac/Unix/PC) | |
* | |
* | |
* Compile with something like: | |
* gcc -o arduino-serial arduino-serial.c |
This file contains hidden or 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 <SCServo.h> | |
SMSCL sm; | |
SMSCL smB; | |
long int wait = 5000; | |
int center = 4095/2; | |
int speed = 250; | |
char data[5]; | |
int start = 0; |
This file contains hidden or 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 <stdio.h> | |
#include <stdlib.h> | |
#include "ros/ros.h" | |
#include "std_msgs/MultiArrayLayout.h" | |
#include "std_msgs/MultiArrayDimension.h" | |
#include "std_msgs/Int32MultiArray.h" |
PCPartPicker part list / Price breakdown by merchant
Type | Item | Price |
---|---|---|
CPU | Intel - Core i7-7700K 4.2GHz Quad-Core Processor | $329.00 @ Amazon |
CPU Cooler | Cooler Master - Hyper 212 EVO 82.9 CFM Sleeve Bearing CPU Cooler | $29.99 @ Amazon |
Motherboard | MSI - Z270 GAMING M7 ATX LGA1151 Motherboard | - |
Memory | Corsair - Vengeance LPX 16GB (2 x 8GB) DDR4-3000 Memory | $154.99 @ Amazon |
Storage | [Samsung - 860 Evo 1TB 2.5" Solid State Drive](https://pcpartpicker.com/product/yzfhP6/samsung-860-evo-1tb-25-solid-state-drive-mz- |
This file contains hidden or 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
GlowScript 2.7 VPython | |
baseball = sphere (pos=vector(0,0,0), radius=0.2, color=color.white) | |
A = arrow(pos=vector(3,-2,4), axis=vector(1,-4,2), shaftsize = 0.1, color=color.cyan) | |
B = arrow(pos=vector(-5,3,4), axis=vector(-7,1,2), shaftsize = 0.1, color=color.cyan) | |
C `= arrow(pos=vector(-1,-6,2), axis=vector(-3,-8,0), shaftsize = 0.1, color=color.cyan) | |
print("Magnitude of A = ", sqrt(A.pos.x**2 + A.pos.y**2 + A.pos.z**2)) | |
print("A - 3B + 2C = ", A.pos - 3*B.pos + 2*C.pos) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.