Commit Graph
436 Commits
Author SHA1 Message Date
Ioannis Chatzikonstantinou fc5022fde0 velocity limiting in current control mode 2019-06-13 10:27:07 +03:00
Oskar Weigl 1196026290 fix subscribe and unsubscribe to idx pin 2019-04-24 17:44:23 -07:00
Oskar Weigl e3946f27e0 add setup_hall_as_index.py 2019-04-15 20:02:10 -07:00
Oskar Weigl 1761272cad add encoder offset calib debug var calib_scan_response 2019-04-01 21:22:27 -07:00
Oskar Weigl 783ff659f6 add set_linear_count function to encoder 2019-03-20 15:04:11 -07:00
Oskar Weigl c065113392 Merge branch 'devel' of https://github.com/madcowswe/ODrive into devel 2019-03-19 20:41:35 -07:00
Oskar Weigl 0e971fb73c Merge pull request #318 from Wetmelon/backend_fixes
Backend fixes
2019-03-19 14:12:35 -07:00
Oskar WeiglandWetmelon 8695f1fc6e Apply comment suggestions from code review
Co-Authored-By: Wetmelon <Wetmelon@users.noreply.github.com>
2019-03-19 07:10:04 +01:00
Oskar Weigl e94230275e add python side enum, fix instant timout on 1st iteration 2019-03-18 21:09:46 -07:00
Oskar Weigl fe0486aa8d Merge branch 'devel' into pr/Nomadluap/316 2019-03-18 20:24:19 -07:00
Oskar Weigl e19a7b921a Merge branch 'master' into devel 2019-03-18 20:21:42 -07:00
Oskar Weigl 901311b582 add ODrive v3.6 2019-03-18 17:57:44 -07:00
Paul Guenette b5f5b0396d Declare single-argument constructors explicit 2019-03-17 20:43:18 +01:00
Paul Guenette 2e71e81dd1 Call load_configuration before any threads start 2019-03-17 20:33:14 +01:00
Oskar Weigl 412f7962f4 reject precalibration unless encoder is ready 2019-03-11 14:41:52 -07:00
Paul Belanger 42384f3ef9 Initial implementation of comms watchdog
- Added watchdog timeout property to Axis::Config_t:
  axis.config.watchdog_timeout

- Added axis protocol function to feed watchdog timer:
  axis.watchdog_feed()

- Axis::run_control_loop now checks for watchdog expiration.

- Ascii protocol: add support for watchdog

  - The following ASCII commands now automatically update the watchdog:
    p, v, t, c, q

  - Added a 'u' command to update the watchdog of a motor without
    modifying setpoints.

  - Updated ascii protocol documentation to reflect new commands and
    effects.

- Updated getting started guide to mention watchdog settings and
  functions in protocol.

Please note: due to unavailability of hardware at this time, I have been
unable to test this code on an Odrive.
2019-03-06 14:40:59 -05:00
Oskar Weigl 615ae723c3 Merge branch 'devel' of https://github.com/madcowswe/ODrive into devel 2019-03-05 21:47:39 -08:00
Oskar Weigl 80b4582df9 Merge pull request #312 from madcowswe/preroll
Unify lockin drive modes
2019-02-25 20:23:57 -08:00
Oskar Weigl 9786af0a25 Merge branch 'devel' into pr/Wetmelon/259 2019-02-11 19:05:22 -08:00
Oskar Weigl cb77fd4112 Merge pull request #307 from durka/patch-1
Increase stack sizes
2019-02-11 18:59:40 -08:00
Oskar Weigl 1178bf4412 Merge branch 'devel' into preroll 2019-02-11 18:52:58 -08:00
Oskar Weigl e3785a2aa2 make index only active when required 2019-02-11 18:42:22 -08:00
Oskar Weigl c4c5aaac57 sincos is autoready 2019-02-11 18:33:45 -08:00
Oskar Weigl 81d9b33863 add option to disable phase interpolation 2019-02-11 17:54:56 -08:00
Oskar Weigl f17c96360f push index and dir search into encoder object 2019-02-11 17:32:48 -08:00
Oskar Weigl a735adb95c rename var and add comments 2019-02-11 15:13:30 -08:00
Oskar Weigl bade43dc9c remove old overspeed check from encoder 2019-02-10 22:05:43 -08:00
Oskar Weigl 4b998a8b64 add vel argument to constant speed spoolup 2019-02-10 20:12:32 -08:00
Oskar Weigl 2a12c1ac61 Merge branch 'devel' into preroll 2019-02-10 20:11:18 -08:00
Oskar Weigl 8ad4ad92de center sincos on 50pct 2019-02-05 21:40:40 -08:00
Oskar Weigl a86fb3e59b add coherent sampling and 1.5 cycle pwm phase advance 2019-02-01 21:01:45 -08:00
Oskar Weigl a169dd33f0 add sincos encoder input (hacky) 2019-01-29 23:17:27 -08:00
Oskar Weigl 19f266c0fa update min inductance 2019-01-29 19:34:28 -08:00
Alex Burka 301d0d807e make stack overflows debuggable
Now if you break on vApplicationStackOverflowHook in a debugger, you can see which thread overflowed.
2019-01-29 22:31:17 -05:00
Oskar Weigl 9328617092 change inductance bounds 2019-01-24 14:34:45 -08:00
Oskar Weigl 15983cc4f0 Thermal current limit with linear derating 2019-01-16 01:19:36 -08:00
Oskar Weigl 31562aca12 add voltage magnitude clamping for gimbal motors in closed loop 2019-01-15 19:44:07 -08:00
Oskar Weigl 00c21bc510 Merge remote-tracking branch 'origin/sam-patch-1' into devel 2019-01-10 18:38:57 -08:00
Oskar Weigl 6e34beba9f increase analog polling to 100Hz 2018-12-17 14:19:55 -08:00
Oskar Weigl df2067c544 Merge branch 'pr/kalvdans/243' into devel 2018-12-17 13:54:32 -08:00
Oskar Weigl 44152147d7 add ignore_illegal_hall_state 2018-12-17 13:51:03 -08:00
samuelsadok 78bf4a7320 disarm motor if brake is disarmed 2018-11-30 08:46:51 +01:00
Oskar Weigl 167f00e622 add current sense saturation fault 2018-11-27 22:29:02 -08:00
Oskar Weigl 5684e14f92 fix rename redidual 2018-11-27 19:35:51 -08:00
Oskar Weigl fdfa8cf764 rename vel ramp rate, add to changelog 2018-11-27 18:25:13 -08:00
Oskar Weigl d9612ab534 circular position setpoint mode 2018-11-24 14:09:38 -08:00
Oskar Weigl bbef49611a implement vel ramp 2018-11-14 00:13:19 -08:00
Oskar Weigl 025fd7c59a update ODrive thermistor beta value to 3434K 2018-11-09 14:56:51 -08:00
Oskar Weigl b3890ef9ff add option to keep encoder count from startup value 2018-10-30 01:13:39 -07:00
Oskar Weigl d3a2c6a6d7 Merge branch 'devel' into configurable-stepdir 2018-10-28 15:02:34 -07:00