Commit Graph
191 Commits
Author SHA1 Message Date
Paul Guenette 746212191c Fix thermistor sampling 2020-10-30 21:41:28 -04:00
Paul Guenette a0e64183dd Merge branch 'timing' into devel 2020-10-30 21:29:15 -04:00
samuelsadok 16836576bd Merge pull request #507 from madcowswe/move-thermistors
Change thermistors from top-level to Motor
2020-10-21 10:47:31 +02:00
Samuel Sadok 7dea86666b Merge branch 'devel' into can_improvements 2020-10-16 17:18:03 +02:00
Paul Guenette 101f78dcd9 Small updates to endstops & homing 2020-10-13 22:41:37 -04:00
PAJohnson 1899fa7df5 Moved thermistors from belonging to Axis to being a part of Motor.
Thermistor apply_config now called in Motor::apply_config()
Thermistor errors rolled into motor errors
odrivetool and GUI updated to handle change
Removed CurrentLimiter,Thermistor arrays abstraction
2020-10-13 22:01:52 -04:00
Paul Guenette ea84694ccb Merge branch 'devel' into can_improvements 2020-09-22 22:17:10 -04:00
PAJohnson b089573fea Fix for issue where using sensorless mode with input mode VEL_RAMP would cause the motor to try and reach a very high speed at the end of the sensorless ramp 2020-09-16 23:15:00 -04:00
PAJohnson b952a5e754 Fix for high commanded currents during lockin ramp. 2020-09-10 20:55:08 -04:00
Oskar Weigl 88497ae44c Merge pull request #451 from aprgl/mechanical-brake
Mechanical brake support
2020-09-08 15:55:50 -07:00
Unknown 0fe1bdf42f Merge branch 'devel' into timing 2020-09-03 00:27:33 -04:00
Unknown 3c49b7f8ca Merge branch 'rc-v0.5.1' into devel 2020-09-02 20:51:13 -04:00
Unknown f691536b3c Fix DRV lock-up problem when using absolute encoders 2020-09-02 20:44:56 -04:00
Unknown ff6c18baea Add cyclic encoder estimate message 2020-08-31 21:08:58 -04:00
Unknown 083b23b8c7 In CAN, convert from pointers to ref and const ref where possible 2020-08-31 20:25:35 -04:00
Shaun b61ac4c50e Merge branch 'devel' into mechanical-brake 2020-08-27 18:33:43 -07:00
Unknown deff0a4405 Merge branch 'homing_hotfix' into devel 2020-08-27 16:57:56 -04:00
Unknown 7fdaadf96e Fix Homing Offset problem due to counts -> revs change 2020-08-27 16:55:20 -04:00
Unknown 2bb990937a Add TaskTimer class 2020-08-25 21:40:24 -04:00
Unknown 7077bb11d0 Merge branch 'timing' into devel 2020-08-25 18:22:37 -04:00
Samuel Sadok f3fa0af5c1 Fix pullup/pulldown configuration, update docs 2020-08-24 13:00:15 +02:00
Unknown b1961e8a29 Add timers for sections 2020-08-24 00:50:23 -04:00
Shaun 460f10842e Merge branch 'devel' into mechanical-brake 2020-08-19 11:54:20 -07:00
Samuel Sadok ebec752721 Merge remote-tracking branch 'origin/devel' into lowlevel-refactor 2020-08-19 11:51:08 +02:00
Shaun Meehan 46c054f3af Mechanical Brake feature 2020-08-18 23:44:37 -07:00
Oskar Weigl 677133d85b fix incorrect step_cb 2020-08-05 11:54:39 -07:00
Samuel Sadok 8d144bd944 Merge branch 'devel' into lowlevel-refactor 2020-08-05 16:28:17 +02:00
Oskar Weigl 3760c7bc84 Merge branch 'rc-v0.5.0' into devel 2020-08-03 20:16:51 -07:00
PAJohnson 611d2d5021 Better style for null pointer checks 2020-07-31 18:09:52 -04:00
PAJohnson 5beb3faa83 Added null pointer checks to axis.cpp for pos_estimate_X
Fixed formatting
Updated CHANGELOG.md
2020-07-31 17:52:43 -04:00
Unknown d996f02df1 Add missing input_pos_updated call on transition to closed loop 2020-07-31 15:35:05 -04:00
PAJohnson 0670017a25 In axis: counts_per_step to turns_per_step (broken during previous merge) 2020-07-27 21:39:57 -04:00
PAJohnson 8fcd5e1b30 Merge branch 'devel' of https://github.com/madcowswe/ODrive into counts_to_rads
Merge devel into counts_to_rads (turns) - conflict for the step input callback
2020-07-27 21:36:00 -04:00
PAJohnson be2d1037e3 Fixed null pointer checks in controller.cpp
Fixed formatting in trapTraj.hpp
Fixed how pos_setpoint is set in axis.cpp to avoid transients on startup so that it will handle circular position setpoints
More unit corrections in the docs: radians -> turns
2020-07-27 21:26:41 -04:00
Unknown 7d94b6c786 Fix step_cb per @PAJohnson 2020-07-27 18:20:14 -04:00
Unknown 88b3ed4260 Optimize step/dir callback 2020-07-26 16:16:10 -04:00
Oskar Weigl af16316940 Merge branch 'devel' into counts_to_rads 2020-07-25 20:29:43 -07:00
Oskar Weigl 97469235d7 Add _src to estimate pointers 2020-07-25 20:24:55 -07:00
Samuel Sadok 171dab31bd fix ERROR_CONTROL_DEADLINE_MISSED
call effective_current_limit() only once instead of several times per
control iteration
2020-07-21 13:02:03 +02:00
Samuel Sadok 938f088fc2 make axis allocation static 2020-07-21 13:02:03 +02:00
Samuel Sadok 1f3391c81b introduce GPIO modes 2020-07-21 12:55:10 +02:00
Samuel Sadok c745983f95 define gpios as array of Stm32Gpio objects 2020-07-21 12:31:03 +02:00
Samuel Sadok 6377df4b1e move ext int subscribe logic to Stm32Gpio class 2020-07-21 12:31:03 +02:00
Samuel Sadok 856455077d refactor drv8301 driver 2020-07-21 12:31:03 +02:00
Oskar Weigl 8c85d2fe79 Add TODOs
Avoid transients when entering closed loop also on Circular position mode.
Phase interpolation is snapping to hard.
2020-07-18 19:05:34 -07:00
Oskar Weigl 1808bedf1a Fix phase_vel units 2020-07-18 19:02:28 -07:00
Rowan Goemans 1a0d6acace - Refactored thermal and current lmiting sub-systems and introduced motor thermistor support.
- Added thermal errors to dump_errors call in odrivetool.
- Added function in odrivetool to set thermistor coefficients based on thermistor specs.
- Added documentation for users on how to connect and configure their own thermistors.
2020-07-17 14:09:47 +02:00
PAJohnson e1b1641d70 Changed from radians internally to units of "turns" where a full rotation is 1.0 turn
Changed documentation to reflect the unit change
2020-07-14 20:02:59 -04:00
PAJohnson a2626889c5 Added pos_circular_ to Encoder for tracking position in a circular space
Corrected docs as they relate to unit changes
Added pos_estimate_linear and pos_estimate_circular to Controller and eliminated pointer switching logic in Controller::select_encoder()
2020-07-14 17:22:39 -04:00
PAJohnson 7ce896c2ce In encoder.*pp, XXX_estimate -> XXX_estimate_counts and XXX_est_rad -> XXX_estimate.
Changed HWIL tests to reflect unit change
Corrected sources for position and velocity estimates elsewhere.
2020-07-13 20:59:35 +01:00