Merge branch 'master' of github.com:madcowswe/ODrive

This commit is contained in:
Oskar Weigl
2018-06-23 17:35:13 -07:00
2 changed files with 16 additions and 11 deletions
+5 -5
View File
@@ -5,11 +5,11 @@ Contributions to this table highly encouraged!
Encoder|Manufacturer|Output|Index|Max CPR|Max RPM|Voltage|Supported|Price|Link|Datasheet
:--|:--|:--|:-:|:-:|:-:|:-:|:--|:--|:--|:--
AMT102|CUI|Quadrature|Yes|8192|-|5V|Yes|-|-|-
AMT203|CUI|Quadrature + Absolute|Yes|4096|-|5V|Quadrature Only|-|-|-
AS5047P|AMS|Quadrature + Absolute|Yes|4096|28k|3.3V or 5V|Quadrature Only|-|-|-
E6B2-CWZ6C|Omron|Quadrature|Yes|8000|-|5-24V|Yes|-|-|[Datasheet](http://www.ia.omron.com/products/family/487/)
J733|-|Quadrature|No|2400|-|5-24V|Yes|-|-|-
AMT102|CUI|Quadrature|Yes|8192 (2048 * 4)|-|5V|Yes|-|-|-
AMT203|CUI|Quadrature + Absolute|Yes|4096 (1024 * 4)|-|5V|Quadrature Only|-|-|-
AS5047P|AMS|Quadrature + Absolute|Yes|4096 (1024 * 4)|28k|3.3V or 5V|Quadrature Only|-|-|-
E6B2-CWZ6C|Omron|Quadrature|Yes|8000 (2000 * 4)|-|5-24V|Yes|-|-|[Datasheet](http://www.ia.omron.com/products/family/487/)
J733|-|Quadrature|No|2400 (600 * 4)|-|5-24V|Yes|-|-|-
## Encoder Calibration
+11 -6
View File
@@ -82,20 +82,25 @@ Most instructions in this guide refer to a utility called `odrivetool`, so you s
### OSX
We are going to run the following commands for installation in Terminal.
1. If you don't already have it, install homebrew:
```sh
```bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
2. Install python:
```sh
```bash
brew install python
```
3. If you get the error: `Error: python 2.7.14_2 is already installed`, then upgrade to Python 3 by running:
```sh
```bash
brew upgrade python
```
4. Now that you have Python 3 and all the package managers, run:
```sh
4. The odrive tools uses libusb to communicate to the ODrive:
```bash
brew install libusb
```
5. Now that you have Python 3 and all the package managers, run:
```bash
pip3 install odrive
```
@@ -152,7 +157,7 @@ You can read more about the odrivetool [here](odrivetool.md).
The largest effect on modulation magnitude is speed. There are other smaller factors, but in general: if the motor is still it's not unreasonable to have 50A in the motor from 5A on the power supply. When the motor is spinning close to top speed, the power supply current and the motor current will be somewhat close to each other.
</div></details>
* The velocity limit: `odrv0.axis0.motor.config.vel_limit` [counts/s]. The motor will be limited to this speed; again the default value is quite slow.
* The velocity limit: `odrv0.axis0.controller.config.vel_limit` [counts/s]. The motor will be limited to this speed; again the default value is quite slow.
* You can change `odrv0.axis0.motor.config.calibration_current` [A] to the largest value you feel comfortable leaving running through the motor continously when the motor is stationary.
2. Set other hardware parameters: