From 9e776027fada16f450b9e403683b2fa01bc1492a Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Sun, 4 Mar 2018 00:57:09 -0800 Subject: [PATCH 1/2] Update legacy-protocol.md --- Firmware/legacy-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/legacy-protocol.md b/Firmware/legacy-protocol.md index 5693a039..2898432f 100644 --- a/Firmware/legacy-protocol.md +++ b/Firmware/legacy-protocol.md @@ -52,7 +52,7 @@ s type index value ** `0` is float ** `1` is int ** `2` is bool -* `index` is the index in the corresponding [exposed variable table](MotorControl/commands.c). +* `index` is the index in the corresponding [exposed variable table](MotorControl/legacy_commands.c). For example * `g 0 12` will return the phase resistance of M0 From 5985447374a789d9b99327a5e05bd500c87f5121 Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Sun, 4 Mar 2018 00:59:56 -0800 Subject: [PATCH 2/2] Update README.md --- Firmware/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/README.md b/Firmware/README.md index 8c540021..865cd06f 100644 --- a/Firmware/README.md +++ b/Firmware/README.md @@ -167,7 +167,7 @@ If the flashing worked, you can start sending commands. If you want to do that n ## Communicating over USB or UART Warning: If testing USB or UART communication for the first time it is recommend that your motors are free to spin continuously and are not connected to a drivetrain with limited travel. ### From Linux/Windows/macOS -There are two example python scripts to help you get started with controlling the ODrive using python. One will drop you into an interactive shell to query settings, parameters, and variables, and let you send setpoints manually ([tools/explore_odrive.py](tools/explore_odrive.py)). The other is a demo application to show you how to control the ODrive programmatically ([tools/demo.py](tools/demo.py)). Below follows a step-by-step guide on how to run these. +There are two example python scripts to help you get started with controlling the ODrive using python. One will drop you into an interactive shell to query settings, parameters, and variables, and let you send setpoints manually ([tools/explore_odrive.py](../tools/explore_odrive.py)). The other is a demo application to show you how to control the ODrive programmatically ([tools/demo.py](../tools/demo.py)). Below follows a step-by-step guide on how to run these. * __Windows__: It is recommended to use a Unix style command prompt, such as Git Bash that comes with [Git for windows](https://git-scm.com/download/win).