Commit Graph

93 Commits

Author SHA1 Message Date
Unknown
f691536b3c Fix DRV lock-up problem when using absolute encoders 2020-09-02 20:44:56 -04: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
e4d70a22b7 Initial implementation of interface autogenerator.
TODO:
 - write to endpoints from float (for PWM/analog input)
 - ascii protocol
2020-05-14 23:05:02 +02:00
Unknown
141d1edd35 Change UART baudrate via fibre 2020-05-12 01:30:40 -04:00
Unknown
bf6d47f950 Add some missing reference & symbols 2020-05-05 21:37:47 -04:00
Unknown
7290e55525 Convert Axes to a std::array 2020-05-05 20:30:03 -04:00
Samuel Sadok
8cd673363c Reboot on erase_configuration().
This avoids unexpected behavior of a subsequent `save_configuration()`
call, since the configuration is only erased from NVM, not from RAM.
2020-04-27 15:19:32 +02:00
Unknown
930de28de9 Clean up static analysis warnings 2020-01-08 22:59:57 -05:00
Unknown
7a756c1761 Merge branch 'devel' into RazorsEdge 2020-01-01 21:45:41 -05:00
Unknown
c9d35415db Configure motors before encoders to avoid SPI collision 2020-01-01 21:37:04 -05:00
Unknown
a4664fbf5e Merge branch 'RazorsEdge' into RazorsFrozen 2019-12-22 17:07:32 -05:00
Unknown
2c9f43c9ff Add safety disarm in the stack overflow hook and increase stack sizes 2019-12-04 00:09:57 -05:00
Unknown
f127df72f1 Add stack_size vars, reduce stack usage 2019-10-26 14:28:06 -04:00
Unknown
1550170201 Merge branch 'CommsStackFix' into RazorsFrozen 2019-10-26 14:24:01 -04:00
Oskar Weigl
1a3b6bf010 encoder can now be precalibrated without offset when using ACIM 2019-10-11 16:25:18 -07:00
Samuel Sadok
82e8cd64fb cosmetic changes 2019-09-27 18:01:38 +02:00
Unknown
ecf1ccd25e Add stack_size vars, reduce stack usage 2019-09-25 22:47:40 -04:00
Unknown
be48bef9cb Merge branch 'CommsStackFix' into RazorsEdge 2019-09-24 21:04:43 -04:00
Samuel Sadok
f8ea7d5684 [homing] make separate control mode
[endstops] enable in all control modes
[load encoder] use load encoder more consequently
2019-09-23 12:23:27 +02:00
Unknown
f5a1235038 Construct the object tree outside of the comms task 2019-09-23 01:42:22 -04:00
Unknown
9e782cce7b Revert "Formatting pass"
This reverts commit 2b58d15d8d.
2019-09-15 01:15:51 -04:00
Unknown
2b58d15d8d Formatting pass 2019-08-20 23:13:54 -04:00
Paul Guenette
e8a6698fa5 Merge branch 'devel' into RazorsEdge 2019-06-03 00:30:25 +02:00
Paul Guenette
687cf5b877 Merge branch 'Endstops' into develop 2019-05-25 13:53:38 +02:00
Paul Guenette
b09e835647 Remove doctest from STM builds 2019-05-19 21:18:46 +02:00
Paul Guenette
d8b335fcb9 Merge branch 'feature/doctest' into feature/CAN 2019-05-19 19:27:20 +02:00
Oskar Weigl
9af9ea0bf0 add axis_num member 2019-05-15 23:06:45 -07:00
Paul Guenette
0598c2c995 Setup doctest 2019-05-16 00:03:37 +02:00
Paul Guenette
1e5b82ca8b Merge branch 'devel' into Endstops 2019-04-23 21:48:43 +02:00
Paul Guenette
5fee14a378 Merge branch 'devel' into feature/CAN 2019-03-23 09:33:42 +01:00
Oskar Weigl
8695f1fc6e Apply comment suggestions from code review
Co-Authored-By: Wetmelon <Wetmelon@users.noreply.github.com>
2019-03-19 07:10:04 +01:00
Paul Guenette
2e71e81dd1 Call load_configuration before any threads start 2019-03-17 20:33:14 +01:00
Paul Guenette
1296537582 Assign different can_node_ids to each axis by default 2019-03-08 21:53:02 +01:00
Paul Guenette
40ad2a0060 Merge branch 'devel' into feature/CAN 2019-03-01 22:56:11 +01:00
Oskar Weigl
cb77fd4112 Merge pull request #307 from durka/patch-1
Increase stack sizes
2019-02-11 18:59:40 -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
Unknown
2acbc45001 Merge branch 'devel' into feature/CAN 2019-01-02 12:16:32 -05:00
Oskar Weigl
df2067c544 Merge branch 'pr/kalvdans/243' into devel 2018-12-17 13:54:32 -08:00
Unknown
e6dfa54d00 Merge branch 'devel' into Endstops 2018-12-06 23:37:04 -05:00
Unknown
ffbf24ff31 Merge branch 'devel' into feature/CAN 2018-10-28 18:37:49 -04:00
Oskar Weigl
209839d2a7 remve uart stepdir interlock: stepdir now takes priority 2018-10-22 21:28:15 -07:00
Oskar Weigl
b09d1e9e25 make step/dir pins configurable 2018-10-22 21:03:13 -07:00
Unknown
75dfb48238 Unify the Config_t style for ODriveCAN 2018-09-28 18:19:34 -04:00
Unknown
51c890d0c1 Merge branch 'devel' into feature/CAN 2018-09-27 20:47:16 -04:00
Unknown
41224a4a41 Move Endstop's config struct into the class to unify the style 2018-09-27 20:45:39 -04:00
Unknown
dc693ebd9c Merge branch 'devel' into Endstops 2018-09-27 20:42:30 -04:00
Oskar Weigl
e88abb56eb pull in configs and enum into class for Axis and Motor, for consistency 2018-09-24 22:59:36 -07:00
Oskar Weigl
327ac51abf rewrite cpp side of trapezoidal trajectory 2018-09-24 22:45:04 -07:00
Unknown
3ba3d4e413 Allow for different baud rates by adjusting prescaler and time quanta 2018-09-24 21:08:08 -04:00
Unknown
484da55150 Make interface_can a class, so it can be instantiated multiple times 2018-09-24 21:08:07 -04:00