Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
graphs
out_vids
vids
.gitignore
4_experiment.ipynb
4_experiment.py
5_experiment.ipynb
6_experiment-Copy1.ipynb
6_experiment.ipynb
README.md
common.py
compute.py
draw.py
graph.py
main.py
track.py

README.md

457

Example Operation

Example Tracking

Why

For our capstone project our team is building an bottom bracket for the Veemo (Enclosed Electric Bike) with integrated angular position detection of the crank arm. To validate our optical encoder built from scratch I built this tool so that we can compare readings from the arduino to the actual motion of the spindle/crank arm.

How

  1. Take video of the spindle spinning with a clear orange marker to track
  2. Using OpenCV + Python track the position of this marker
  3. Convert x,y motion capture data by fitting a circle using Non-Linear Least Squares (NLLS) to convert x,y into angles of the crank arm
  4. Cross-reference the data with our arduino reading from the optical encoder
You can’t perform that action at this time.