Skip to content

Instantly share code, notes, and snippets.

@GabrielDai
GabrielDai / arduDaemon
Last active October 15, 2017 21:46
Script to run arducopter as daemon
#!/bin/bash
OUTPUT_FILE="/dev/null"
IP="192.168.8.1"
PORT="9761"
while getopts ":o:p:i:h" opt; do
case $opt in
h)
printf "\narduDaemon runs arducopter like a daemon\n\n"
@GabrielDai
GabrielDai / SpinningChecker
Created October 15, 2017 17:15
A little script to check the spinning direction of motors for Beaglebone blue running ardupilot
#!/bin/bash
#A little script to check the spinning direction of motors before final assembling
echo "-- Spinning Checker --"
echo "You should connect the ESC on channel 1"
rc_calibrate_escs
rc_test_servos -c 1 -e 0.07