diff options
author | damic014 <damic014@umn.edu> | 2019-10-29 12:28:56 -0500 |
---|---|---|
committer | damic014 <damic014@umn.edu> | 2019-10-29 12:28:56 -0500 |
commit | 7b933645f701596470fde82ebea16d897306f89f (patch) | |
tree | b52698306c24c764dd740c772c4290932dc8cf0a /.gitignore | |
parent | Add interrupts for HW limit switches. (diff) | |
download | ee4511w-7b933645f701596470fde82ebea16d897306f89f.tar ee4511w-7b933645f701596470fde82ebea16d897306f89f.tar.gz ee4511w-7b933645f701596470fde82ebea16d897306f89f.tar.bz2 ee4511w-7b933645f701596470fde82ebea16d897306f89f.tar.lz ee4511w-7b933645f701596470fde82ebea16d897306f89f.tar.xz ee4511w-7b933645f701596470fde82ebea16d897306f89f.tar.zst ee4511w-7b933645f701596470fde82ebea16d897306f89f.zip |
Add better limit handling to system: when a limit is triggered, return to the linear-zero position.
Add an initialize function for startup: use the limit switches to find the track extent and then go to zero.
With the above two additions, we should be able to assume that new tests will always start at the zero position.
Also add an initialize file which just calls sys.initialize to find the zero position. This should only be run on power-up (eventually, we should configure the Pi to run this on OS startup).
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions