Commit Graph
382 Commits
Author SHA1 Message Date
Rowan Goemans 09daacda9f Changed bash shebang to more a general version. 2020-07-19 20:55:01 +02: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
Samuel Sadok 219c818fdd turn version.h into version.c
This speeds up the build process in many cases because this file is
refreshed on every build and by making it a code file much less off the
build graph depends on it.
2020-07-16 20:57:12 +02:00
Samuel Sadok d54384c4c8 fix TestRegenProtection (again) 2020-07-14 16:59:13 +02:00
Unknown b58d169acc CTRL_MODE --> CONTROL_MODE in utils.py 2020-07-10 16:30:37 -04:00
samuelsadok be8cdb9cc4 Merge branch 'devel' into plotting_improvements 2020-07-08 11:34:43 +02:00
Kyle Bartholomew 400727e337 Fixed call to old function name 2020-06-30 22:54:32 -07:00
Samuel Sadok b794178f0e fix HWIL tests 2020-06-30 15:18:35 +02:00
Kyle Bartholomew a673a50b43 Replace pandas with numpy, fixed naming, added plot title 2020-06-29 21:40:56 -07:00
PAJohnson ea99feaeb9 Accidentally commented out some encoder tests, fixed. 2020-06-23 22:25:19 +01:00
PAJohnson 152a127d67 Merge branch 'devel' of https://github.com/madcowswe/Odrive into A_to_Nm 2020-06-23 15:59:51 -04:00
PAJohnson 57d67290bb Merge issue, reverted to previous serial-number 2020-06-23 19:15:01 +01:00
PAJohnson 6d60a534a5 Merge branch 'devel' of https://github.com/madcowswe/ODrive into devel 2020-06-23 19:12:38 +01:00
PAJohnson 110a97688b Found pinout typo in test-rig-rpi.yaml for teensy<->odrive encoder pins.
Modified encoder_test.py to work with correct test rig pin mapping
2020-06-23 18:36:18 +01:00
PAJohnson fa1cf2553f Added test for torque limit - TestTorqueLimit() 2020-06-23 03:46:45 +01:00
PAJohnson 7c33fa5d27 Changed docs to reflect removal of current control mode and addition of torque control mode
Regenerated enums
changed can_test.py to reflect control mode change
modified closed_loop_test.py to pass with A->Nm change.
2020-06-23 01:23:11 +01:00
PAJohnson cc87e4e6a8 Raised current limit from 10A to 15A for regen test. Previously, a motor overcurrent error was triggered ~50% of the time during the braking test. 2020-06-23 00:34:33 +01:00
PAJohnson 52b805b2ee Merge remote-tracking branch 'upstream/devel' into A_to_Nm 2020-06-22 18:33:42 -04:00
PAJohnson 2937e5bd27 Modified tolerances to work on different test rig 2020-06-22 23:30:56 +01:00
pjohnson ceabd24582 Made changes reflecting PR comments.
Added torque_ramp_rate to controller config.
Changed INPUT_MODE_CURRENT_RAMP to INPUT_MODE_TORQUE_RAMP for controller input mode enum.
Torque limits and current limits are now observed seperately. Torque limit is in the controller, current limit is in the motor object.
Fixed torque -> current calculation in motor_update to handle ACIM motors.
2020-06-17 13:15:36 -04:00
pjohnson d78119e29f Modified docs and communication interfaces to reflect change from A to Nm for motor control input.
Renamed vel_integrator_current_ to vel_integrator_torque_
Removed input_current_ from controller, added input_torque_
2020-06-16 17:10:36 -04:00
Samuel Sadok 6380c2b201 add fibre HWIL tests 2020-06-10 14:05:52 +02:00
Samuel Sadok 61bc1322d1 Add help text for missing dependencies 2020-06-10 13:20:17 +02:00
Samuel Sadok f7c8a6ea94 Merge remote-tracking branch 'origin/devel' into feature/interface_autogen 2020-06-10 13:01:15 +02:00
Kyle Bartholomew e3a314eb34 Added support for velocity step and made function modular for other modes 2020-06-06 12:25:40 -07:00
Kyle Bartholomew 140a11a569 Added new helpers to shell 2020-06-05 22:04:02 -07:00
Kyle Bartholomew 8c9ba4651c Removed test print statement 2020-06-05 21:53:58 -07:00
Kyle Bartholomew ebef9950cc Remove Mac specific changes to prep for pull request 2020-06-05 21:52:19 -07:00
Kyle Bartholomew 3a593b072a Added comments 2020-06-05 21:45:16 -07:00
Kyle Bartholomew f54ef3d31a New class and methods for bulk capture 2020-06-05 21:29:10 -07:00
Samuel Sadok 623e496719 fix various test suite issues 2020-06-04 13:05:02 +02:00
Samuel Sadok b529bddd94 add note to enums.py 2020-06-03 18:19:04 +02:00
Samuel Sadok a874dcbbb9 Merge branch 'devel' into feature/interface_autogen 2020-06-02 21:26:22 +02:00
Samuel Sadok fb7cabef5b make all other interfaces children of ODrive 2020-05-29 10:25:06 +02:00
Samuel Sadok 6902fd6b34 rename Odrive interface to ODrive 2020-05-29 10:19:10 +02:00
Samuel Sadok 9f9f2ea914 Fix installation and dependencies of odrivetool
Previously the install would fail if monotonic and appdirs were not
already installed before installing odrivetool.
2020-05-26 20:53:14 +02:00
Samuel Sadok beaca6f5e7 Merge remote-tracking branch 'origin/master' into devel 2020-05-26 13:48:28 +02:00
Kyle Bartholomew 41b3a0ec52 New functions for plotting, and fixed typo of data_rate 2020-05-25 18:36:20 -07:00
Oskar Weigl 0d45c3ff22 Fix default data_rate in liveplotter from 10 to 100 2020-05-25 16:25:24 -07:00
Samuel Sadok 8a3213cb88 increase test tolerance (yes that's gonna be a thing now) 2020-05-25 18:11:16 +02:00
Samuel Sadok a255ffd121 autogenerate enums.py 2020-05-25 18:11:16 +02:00
Samuel Sadok 653c4c327e Merge remote-tracking branch 'origin/devel' into feature/interface_autogen_merged 2020-05-22 21:27:58 +02:00
Samuel Sadok 9446a28142 increase test tolerance 2020-05-20 15:19:46 +02:00
Samuel Sadok 16059a9e9b add test for extended CAN IDs 2020-05-18 18:52:24 +02:00
Samuel Sadok da7f719283 improve naming consistency between code and fibre
Consistent naming makes code autogeneration easier.
This commit does not claim that the exported names of the variables were
more sensible than the in-code names. However changing the exported
names can break external tools and needs to happen in a controlled and
documented way.
2020-05-14 11:16:32 +02:00
samuelsadok bd26cc9ef3 Merge pull request #408 from madcowswe/feature/uart_baudrate
Feature/uart baudrate
2020-05-13 11:27:13 +02:00
Samuel Sadok 312180fc31 add test for uart_baudrate setting 2020-05-13 11:24:38 +02:00
Samuel Sadok cf1b9439cb add test for velocity limit in current control mode 2020-05-08 18:35:54 +02:00
Oskar Weigl 9ccca4352f make pypi script release by default 2020-05-07 12:14:38 -07:00
Samuel Sadok 8ab2e0530e add helper to pass through encoder 2020-05-06 11:21:33 +02:00