Open SeanKetring opened 9 years ago
Issue updated, please view on github for most recent version.
Update: I found some resources that might be helpful but I am still trying to figure out the details: http://www.ni.com/tutorial/7109/en/ This is a concise how they work guide with some short examples. Theres an example of people setting up one I found: http://letsmakerobots.com/content/how-use-quadrature-encoder. These might be helpful for people who understand the python code found in dmcc_motor.py
I'm going to work on this one...
I'm going to work on this.
I'm working on this. So let's on Thurs. to discuss it
This is the data sheet for the motors https://www.pololu.com/product/2271
Sean helped me figuring out the correct to match the pins of the cape and the micro-controller as shown in the figure. Now the encoders give values for the pos. and the vel. We need to see how to interpret them.
We have an example of this being used from a few years ago:
https://github.com/IEEERobotics/bot/blob/master/bot/hardware/dmcc_motor.py
So calling the position, velocity, etc, properties is really straightforward.
I added a rapper in omni_driver.py on the omni dev branch.
@WillDuncan1
https://github.com/IEEERobotics/DMCC_Library/blob/master/examples/dmcc_motor_test.py
Here's a sample script of them being used
Introduction
Some motors come with sensors attached to them that allow them to measure how much they've moved.
Notes
Requirements
*Possibly come up with an alternate method for using them.
Resources