Skip to content

Instantly share code, notes, and snippets.

View tylerjw's full-sized avatar
🦀
Peace was never an option

Tyler Weaver tylerjw

🦀
Peace was never an option
View GitHub Profile
@tylerjw
tylerjw / euler.c
Last active August 29, 2015 13:55
Euler's Method (iterative).
/**
Euler's Method (iterative).
@author Tyler Weaver
Compile:
gcc euler.c -o euler
Run:
./euler
*/
@tylerjw
tylerjw / euler_r.c
Last active August 29, 2015 13:55
Euler's Method (recursive).
/**
Euler's Method (recursive).
@author Tyler Weaver
Compile:
gcc euler_r.c -o euler_r
Run:
./euler_r
*/
@tylerjw
tylerjw / euler_r.c
Last active August 29, 2015 13:55
MATH450 Homework Wk4
/**
Euler's Method (recursive).
@author Tyler Weaver
Compile:
gcc euler_r.c -o euler_r
Run:
./euler_r
Homework 4.8
@tylerjw
tylerjw / compare_e_ie_r.c
Created January 30, 2014 20:58
Compare Euler's, Improved Euler's, and Runge-Kutta methods of Estimating Differential Equation
/**
Comparison between methods (euler, imp euler, & runge-kutta)
@author Tyler Weaver
Compile:
gcc compare.c -o compare
Run:
./compare
*/
@tylerjw
tylerjw / rally_computer.ino
Created August 18, 2017 00:17
Basic rally computer for use with Adafruit feathers.
#include <TinyGPS++.h>
// Enable one of these two #includes and comment out the other.
// Conditional #include doesn't work due to Arduino IDE shenanigans.
#include <Wire.h> // Enable this line if using Arduino Uno, Mega, etc.
//#include <TinyWireM.h> // Enable this line if using Adafruit Trinket, Gemma, etc.
#include "Adafruit_LEDBackpack.h"
#include "Adafruit_GFX.h"
Adafruit_7segment red = Adafruit_7segment();

Keybase proof

I hereby claim:

  • I am tylerjw on github.
  • I am tylerjw (https://keybase.io/tylerjw) on keybase.
  • I have a public key ASAj2YkcpfMzyrgPMpeilWSE6vJuj-h0_dzXhqiibBIPuAo

To claim this, I am signing this object:

@tylerjw
tylerjw / desk_trinket.ino
Created October 19, 2017 17:13
AMQ desk controller display for Adafruit 5V Trinket
/*
* Tyler's AMQ Desk Controller.
*/
#include <Wire.h>
#include <Adafruit_LEDBackpack.h>
#include <SoftwareSerial.h>
Adafruit_7segment disp = Adafruit_7segment();
SoftwareSerial serial(4,1);
@tylerjw
tylerjw / mtc_hackathon_notes.md
Created July 11, 2019 15:57
MTC Hackathon Notes
  1. Setup enviroment
mkdir ~/mtc_workspace
source /opt/ros/kinetic/setup.bash
catkin config --init
mkdir src
cd src
git clone git@github.com:PickNikRobotics/mtc_experiments.git
git clone git@github.com:PickNikRobotics/picknik_ur5_moveit_config.git
git clone git@github.com:ros-planning/moveit_task_constructor.git
@tylerjw
tylerjw / gist:fbc69b8574e3f91967e0273b8f4785a2
Last active May 4, 2020 22:17
move_group_pick_place kinetic valgrind output
root@0a5d7aa235e9:~/ros_ws# rostest moveit_ros_planning_interface move_group_pick_place_test.test --text
... logging to /root/.ros/log/rostest-0a5d7aa235e9-10761.log
xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
For more infos, see http://wiki.ros.org/xacro#Processing_Order
xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
For more infos, see http://wiki.ros.org/xacro#Processing_Order
xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
@tylerjw
tylerjw / jog_arm_migration.md
Last active June 30, 2020 20:26
MoveIt JogArm -> Servo and API migration guide

MoveIt Servo migration guide

The ros package moveit_jog_arm is now named moveit_servo. If you were previously using moveit_jog_arm you will need to do a find/replace for these phrases in your code base:

  • jog_arm -> servo
  • JogArm -> Servo
  • jog_server -> servo_server

C++ API Changes