Skip to content

Instantly share code, notes, and snippets.

View capcom-r's full-sized avatar
🎯
Focusing

capcom-r capcom-r

🎯
Focusing
  • Earth
  • localhost
View GitHub Profile
@capcom-r
capcom-r / gist:5dfffe5220f0fca60a58
Created April 30, 2015 17:54
Setting up static IP (wireless) on Raspberry Pi
https://www.raspberrypi.org/forums/viewtopic.php?f=26&t=31003
@capcom-r
capcom-r / gist:36e98b72b03aa8dcc969
Last active August 29, 2015 14:15
Printrbot Plus 2.1 Step Calibration Fix
RSX Printrbot steps problems? (i.e. parts too big or small?)
Run M503 in Repetier to see steps settings. For our printer, they should match https://printrbot.zendesk.com/hc/en-us/articles/202227454-Default-Steps-Per-Millimeter
EXCEPT! The Z should be 1511.57 not 2272.72 - so that website is wrong.
To make changes, type in M92 X80, and similar for Y, Z, and E. To save, type M500. Can re-check with M503.
@capcom-r
capcom-r / gist:49b5ea2c859346dad41a
Created January 20, 2015 03:21
Quadcopter spinning on take off
So your copter is lifting, but spinning like crazy. That means you have the rotation and prop directions correct because its lifting, but you may have them together wrong. So you may have to actually change the prop and direction for each arm (which would still let it lift up, but not spin). Just make sure you followed the diagram correctly.
@capcom-r
capcom-r / gist:1896b553bbca327b7ab9
Created January 20, 2015 00:18
Mission Planner "Installation directory must be on a local drive error"
Follow these steps (found on Adobe forums, works just fine!):
1. Locate the Edge Inspect MSI installer file that you downloaded.
2. While holding down the Shift key on the keyboard, right-click on the Edge Inspect MSI, then choose Copy As Path.
3. Go to Start > All Programs > Accessories.
4. Right-click on Command Prompt and choose Run As Administrator. This should open a command prompt window, labeled "Administrator:".
5. In the Command Prompt window, type msiexec /i (you need to enter a single space after "/i").
6. Right-click in the Command Prompt window, then choose Paste. This should paste the path to the MSI file that you copied in Step 2 above.
7. Press Enter to run the command.
Watch this video: https://www.youtube.com/watch?v=8NAXSBCtSLY
A few things to remember:
- Don't forget it actually matters which motor you connect to which Mx port on the KK - it must be right depending on your motor layout!
- Don't forget to calibrate the throttle so that all motors start spinning at the same time (as shown in above video) - MAKE SURE BLADES ARE OFF!
To turn on self level without AUX connected, arm with right stick all the way to bottom left. Disarm to see self-level should be on. Arm by moving left stick bottom right, disarm by moving left stick bottom left.