Commit Graph
2752 Commits
Author SHA1 Message Date
Samuel Sadok f3fa0af5c1 Fix pullup/pulldown configuration, update docs 2020-08-24 13:00:15 +02:00
Oskar Weigl f59c80515b add MOTOR_ERROR_MODULATION_IS_NAN 2020-08-23 13:38:23 -07:00
PAJohnson f52c68b3a8 Added FF terms for current control and config variables to enable them. 2020-08-21 16:52:27 -04:00
Samuel Sadok 8e15dab857 fix assert fault when config.enable_uart0 == false 2020-08-21 12:40:18 +02:00
Samuel Sadok eafd49cea8 regenerate enums.py 2020-08-19 21:22:45 +02:00
samuelsadok 0e75e4c764 Merge pull request #431 from madcowswe/lowlevel-refactor
Lowlevel Refactor
2020-08-19 14:18:31 +02:00
Samuel Sadok 4b0a6fa478 fix HWIL tests 2020-08-19 13:57:33 +02:00
Samuel Sadok ebec752721 Merge remote-tracking branch 'origin/devel' into lowlevel-refactor 2020-08-19 11:51:08 +02:00
Samuel Sadok d021945686 fix compilation on GCC <= 7.x 2020-08-19 11:38:38 +02:00
Samuel Sadok c0b1d5a0e7 annotate GPIO list 2020-08-19 11:32:22 +02:00
PAJohnson cbecd47051 Cleaned up MotorSim classes 2020-08-18 19:44:21 -04:00
PAJohnson ead1bc3b9b Changed from discrete linearization to rk_step for single-step simulation of the motor class 2020-08-18 19:31:29 -04:00
PAJohnson 91532855af Added motor class. Almost the same results as using solve_ivp, but this system is suitable for arbitrary discrete input,
rather than an initial value problem.
2020-08-17 20:28:50 -04:00
Unknown 6fbd1f7d83 Merge branch 'simulation' into devel 2020-08-16 20:00:41 -04:00
PAJohnson 136cde76af Started a file for PMSM and driver system simulation 2020-08-16 18:17:30 -04:00
Paul Guenette 49c7942dcc Update anticogging.md 2020-08-15 18:39:16 -04:00
Unknown 7e3f6b6b7e Add anticogging.md 2020-08-15 18:18:59 -04:00
Unknown 9f1be401f6 Add some example code for the python control module 2020-08-13 23:35:20 -04:00
PAJohnson 1e39702e4b Change back to 10rps for the regen protection HWIL test 2020-08-10 18:11:55 -04:00
samuelsadok b156af03f2 Merge pull request #449 from madcowswe/fix_uart_latency
Increase UART polling frequency from 1kHz to 8kHz
2020-08-10 11:04:06 +02:00
Samuel Sadok 6fa76e1de8 increase UART polling frequency from 1kHz to 8kHz 2020-08-07 15:56:38 +02:00
Oskar Weigl c4459463b4 Merge pull request #447 from madcowswe/ascii_cleanup
Ascii Protocol Cleanup
2020-08-05 16:06:49 -07:00
Oskar Weigl 8ceeeb023d Merge branch 'devel' of github.com:madcowswe/ODrive into devel 2020-08-05 11:54:46 -07:00
Oskar Weigl 677133d85b fix incorrect step_cb 2020-08-05 11:54:39 -07:00
Samuel Sadok aaab9490df Merge branch 'devel' into ascii_cleanup 2020-08-05 19:08:23 +02:00
Samuel Sadok b56f7c1ff2 harmonize coding style 2020-08-05 18:52:25 +02:00
sgilbert182 4c6fe56a5d Split up menu function to individual functions, changed if else tree to switch statement. 2020-08-05 18:40:41 +02:00
Samuel Sadok 138ccaec34 optimize Stm32Gpio.read() 2020-08-05 17:04:14 +02:00
Samuel Sadok 9fc1da0740 Merge branch 'devel' into lowlevel-refactor 2020-08-05 16:50:24 +02:00
Samuel Sadok 30bc561231 dump_errors: better handling of unknown errors 2020-08-05 16:32:42 +02:00
Samuel Sadok 8d144bd944 Merge branch 'devel' into lowlevel-refactor 2020-08-05 16:28:17 +02:00
Oskar Weigl 0d018fc710 pull out changelog items that are after v0.5.0 2020-08-03 20:36:50 -07:00
Oskar Weigl 3760c7bc84 Merge branch 'rc-v0.5.0' into devel 2020-08-03 20:16:51 -07:00
Oskar Weigl 48449f2348 release v0.5.0 2020-08-03 20:02:24 -07:00
PAJohnson bf15485b3d Merge pull request #430 from madcowswe/counts_to_rads
Counts to radians
The name is misleading - this PR changes the units of multiple variables from counts and counts/s to turns and turns/s. The controller inputs and gains are now encoder-agnostic.
2020-07-31 18:17:18 -04: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 78bd5fa6e6 Merge branch 'rls_spi' into rc-v0.5.0 2020-07-31 15:35:11 -04:00
Unknown d996f02df1 Add missing input_pos_updated call on transition to closed loop 2020-07-31 15:35:05 -04:00
Samuel Sadok e1ffdbd33d fix Anaconda Python detection on Windows
Anaconda prints version information on stderr instead of stdout.
2020-07-31 10:50:06 +02:00
PAJohnson d586194955 Split closed loop test from can_test.py into integration_test.py 2020-07-30 20:05:58 -04:00
PAJohnson db41fe9a29 Added closed loop test to CAN HWIL test
Fixed ascii protocol docs: current -> torque
2020-07-30 18:16:56 -04:00
Samuel Sadok c886b49dd1 code hardening of SPI arbiter 2020-07-30 17:42:13 +02:00
Samuel Sadok b6ac7c306a rename config push/pop to write/read, fix order 2020-07-30 17:14:30 +02:00
Samuel Sadok 5e61c5a88a turn GPIO feature matrix into sparse matrix 2020-07-30 17:14:30 +02:00
Samuel Sadok a0bf270141 fix version.py
version_str_to_tuple() was misbehaved if evaluated on a raw commit hash
that contains only decimal digits.

See https://github.com/madcowswe/ODrive/runs/920754951
2020-07-30 15:55:53 +02:00
PAJohnson b63983ef5c Fixed units for can_simple protocol and updated can HWIL test 2020-07-29 20:46:26 -04:00
PAJohnson e0f9665d2c Fixed units for inertia 2020-07-28 21:25:30 -04:00
PAJohnson b0700ef371 Documentation fixes for unit change
Fixed naming, docs, and test for CAN protocol - set trap traj a per css is now set trap traj inertia
2020-07-28 20:49:55 -04:00
Samuel Sadok d0984f03de HWIL tests: tolerate more sin/cos encoder noise 2020-07-28 17:15:55 +02:00