From a8a797fd45a8151ffb13faf84b5ee0f48e55acc0 Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Fri, 22 Jun 2018 14:43:52 -0700 Subject: [PATCH 1/3] Update getting-started.md --- docs/getting-started.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 2036796b..b0953831 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -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 ``` From e875348740c231301f7e5b57bdefe21cbdb34d38 Mon Sep 17 00:00:00 2001 From: Deezmaker Labs Date: Fri, 22 Jun 2018 20:00:57 -0700 Subject: [PATCH 2/3] Added 4x multiplier note to MAX CPR in hopes to make it clear for firmware settings --- docs/encoders.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/encoders.md b/docs/encoders.md index 9c3c52ba..47ec0944 100644 --- a/docs/encoders.md +++ b/docs/encoders.md @@ -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 From 7f4ec76fe7cc51a462b5167e29ab9ed7857b676c Mon Sep 17 00:00:00 2001 From: Deezmaker Labs Date: Fri, 22 Jun 2018 20:23:31 -0700 Subject: [PATCH 3/3] Corrected `odrv0.axis0.controller.config.vel_limit` --- docs/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index b0953831..d671276e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -157,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. - * 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: