Skip to content

Conversation

DarrenLevine
Copy link

  • Added a failsafe angle limit optional feature, which is then included as a calibration step if enabled.
  • Changed so that zero-torque turned off motors.
  • Added compatibility with cube HAL libraries (does not break old compatibility).
  • Added a reset flash command.
  • Replaced OK\n response with angle reading, to save bandwidth.
  • Changed the angle reading to be a tracked absolute angle from startup, represented as a int32_t.
  • Added Manufacturing information, such as a BOM and README.md.
  • Added a python interface (pyds = "PYthon DirectServo"), and usage examples.

DarrenLevine and others added 5 commits August 31, 2019 08:24
…d width integer type, made sure interrupt accessed variables were volatile, etc.

* Added a failsafe angle limit feature, which is then included as a calibration step if enabled.
* Changed so that zero-torque turned off motors.
* Added compatibility with cube HAL libraries (does not break old compatibility).
* Added a reset flash command.
* Replaced OK\n response with angle reading, to save bandwidth.
* Changed the angle reading to be a tracked absolute angle from startup, represented as a int32_t.
* Added Manufacturing information, such as a BOM and README.md.
* Added a python interface, and usage examples.
…ample, for my application, this lets me remove power from the servo rail and the motors during a failure.
* Response message now also includes max acceleration since last response. So sendangle is now sendstate (angle and acceleration).
* Added a new set-zero-angle command, which will set the motors current position as the zero angle (which can calibrate the failsafe if set)
* The ID now blinks back at you when set for confirmation of the ID number. The ID will now be set one second after you stop clicking the ID button, so a power cycle is no longer needed.
* Refactored/sped-up the python testing interface.
@DarrenLevine
Copy link
Author

Added the following features to pull request:

  • delay_ticks() and delay_ms() added.
  • Response message now also includes max acceleration since last response. So sendangle is now sendstate (angle and acceleration).
  • Added a new set-zero-angle command, which will set the motors current position as the zero angle (which can calibrate the failsafe if set)
  • The ID led now blinks back at you when set the id, for a confirmation of the ID number. The ID will now be set one second after you stop clicking the ID button, so a power cycle is no longer needed. So if you click the led button three times, and wait one second, it should confirm with three blinks back to you, and then without power cycling, you can do the same thing to set it to another value.
  • Refactored/sped-up the python testing interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant