Unknown
29332281be
Convert SVM to not use out parameters
2020-09-05 00:56:59 -04:00
Unknown
ea08c1fe77
Constexpr math constants
2020-09-05 00:43:40 -04:00
Unknown
9d5e8614eb
Change SQ macro to a constexpr function
2020-09-05 00:36:06 -04:00
Unknown
fc5707a1a7
Remove unused macros
2020-09-05 00:34:46 -04:00
Unknown
9e1e054f0a
Bring several functions from utils.cpp into utils.hpp for inlining
2020-09-05 00:30:12 -04:00
Unknown
4815e5ed19
Change sqrtf to std::sqrt
2020-09-05 00:23:58 -04:00
Oskar Weigl
600832f8cf
drop flag fno-finite-math-only, and implement explicit nan check function
2020-09-04 20:31:58 -07:00
Oskar Weigl
ec63f956f9
no need for special fma function, the compiler knows
2020-09-04 20:17:35 -07:00
Oskar Weigl
412329d71a
change to cmath by default
2020-09-04 19:46:12 -07:00
Oskar Weigl
fb7d1d2961
change fabsf to std abs
2020-09-04 18:27:14 -07:00
Oskar Weigl
711111e6fb
change fmaxf to std max
2020-09-04 18:23:33 -07:00
Oskar Weigl
fc726dfa36
use nearbyint on VFPv5 as it is single instruction
2020-09-04 16:09:17 -07:00
Oskar Weigl
805b308a86
fix rounding mode, use vcvtr
2020-09-04 14:27:22 -07:00
Oskar Weigl
54636c764f
implement faster fmodf related functions
2020-09-03 20:03:10 -07: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
v0.5.1-rc3
2020-09-02 20:44:56 -04:00
PAJohnson
2f8d09fff4
Removed pos_cpr
2020-08-31 18:32:28 -04:00
Samuel Sadok
86be15086f
Expand Notes for Contributors
2020-08-31 23:11:11 +02:00
Samuel Sadok
95e4f3aa95
add ODrive in DFU mode to udev rules
2020-08-31 13:56:55 +02:00
Samuel Sadok
96cbe69f8a
Various DFU fixes
...
- make DFU script compatible with Python 2
- include permissions for DFU mode VID:PID in udev rules (these rules,
when missing, would result in `ValueError: The device has no langid`)
- fix `IndexError: list index out of range` that occurred when the
device was already in DFU mode
- fix `UnboundLocalError: local variable 'do_backup_config' referenced
before assignment` when DFU was started after the device was already
in DFU mode
2020-08-31 13:03:48 +02:00
Oskar Weigl
11aebb62ac
don't drop samples in sampler.py by default
2020-08-29 20:00:09 -07:00
Unknown
e9810e5014
Merge branch 'homing_hotfix' into rc-v0.5.1
v0.5.1-rc2
2020-08-27 17:01:00 -04: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
Samuel Sadok
982b9f5a26
fix dump_errors
2020-08-27 01:15:16 +02:00
samuelsadok
331448170c
Merge pull request #453 from madcowswe/lowlevel-fixes
...
Fix endstop configuration, update docs.
2020-08-25 10:56:40 +02:00
Samuel Sadok
db215d1c0e
remove unused variable
2020-08-25 10:50:17 +02:00
PAJohnson
ff7dcdf55d
Make devel encoders page match rc-v0.5.1 encoders page
2020-08-24 20:53:05 -04:00
PAJohnson
faae8f5b8e
Minor cleanup to encoders documentation
2020-08-24 20:50:52 -04:00
Samuel Sadok
dc47edf450
remove test artifact
2020-08-24 18:07:03 +02:00
Samuel Sadok
2135711512
improve compatibility of dump_errors()
2020-08-24 13:58:22 +02:00
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