Skip to content
Snippets Groups Projects
Commit a31fa857 authored by ucart's avatar ucart
Browse files

created a couple of quick ways to run motor tests

parent 775d87fe
No related branches found
No related tags found
No related merge requests found
#! /bin/bash
cd ..
while true ; do
./setparam 37 0 $1
sleep 0.4
./setparam 37 0 $(( $1 - 1 ))
sleep 0.4
done
cd ..
./addnode 0 "Zero"
./setparam "zero" 0 0
./setsource "signal mixer" "pitch" "zero" 0
./setsource "signal mixer" "roll" "zero" 0
./setsource "signal mixer" "yaw" "zero" 0
./addnode 0 "PWM_VAL"
./setparam "pwm_val" 0 100000
./setsource "signal mixer" "throttle" "pwm_val" 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment