Paul Guenette
a428d08ecd
Merge branch 'timing' into devel_fast
2020-10-30 21:26:31 -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
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
Unknown
ff6c18baea
Add cyclic encoder estimate message
2020-08-31 21:08:58 -04:00
Unknown
ea03574ce3
Add FOC_Current timer
2020-08-27 18:09:44 -04:00
Unknown
499dd64d87
Ensure sample trigger occurs at the right spot, and only once.
2020-08-26 01:42:03 -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
Unknown
b1961e8a29
Add timers for sections
2020-08-24 00:50:23 -04:00
Shaun Meehan
87ea4a423f
Updated mechanical brake support as per upstream refactor
2020-08-19 12:31:26 -07: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
Samuel Sadok
6fa76e1de8
increase UART polling frequency from 1kHz to 8kHz
2020-08-07 15:56:38 +02:00
Samuel Sadok
8d144bd944
Merge branch 'devel' into lowlevel-refactor
2020-08-05 16:28:17 +02:00
Oskar Weigl
af16316940
Merge branch 'devel' into counts_to_rads
2020-07-25 20:29:43 -07:00
Samuel Sadok
938f088fc2
make axis allocation static
2020-07-21 13:02:03 +02:00
Samuel Sadok
c745983f95
define gpios as array of Stm32Gpio objects
2020-07-21 12:31:03 +02:00
Samuel Sadok
856455077d
refactor drv8301 driver
2020-07-21 12:31:03 +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
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
Cam Buss
fc82ed6610
Allow reversal of homing direction and ability to clear SPI Error Rate ( #427 )
...
* clear spi_error_rate on error clear
* negative homing speed and negative endtop offset
2020-07-01 22:50:25 +02:00
Samuel Sadok
fb7cabef5b
make all other interfaces children of ODrive
2020-05-29 10:25:06 +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
3d07325022
remove aligned formatting of assignments
2020-05-20 12:27:28 +02:00
Samuel Sadok
3d710a5385
don't treat watchdog_timeout == 0 as special case
...
this special treatment is now redundant with enable_watchdog
2020-05-20 11:57:04 +02:00
Samuel Sadok
b0e7dcc6fd
Add support for extended CAN IDs
...
Previously, coexistence with devices that use extended CAN IDs was not
possible since the ODrive would simply clip the 18 upper bits of an
extended message ID.
This adds proper support for extended CAN IDs by changing
`can_node_id` from 8 to 32 bit and introducing the new option
`can_node_id_extended`.
2020-05-18 18:52:13 +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
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
Samuel Sadok
50ecdef860
move DC overcurrent/undercurrent checks to update_brake_current()
...
The checks now take into account the brake current.
Expose ibus on fibre.
2020-05-05 18:16:06 +02:00
Oskar Weigl
d002a74d24
rename psu current fault levels
2020-05-01 16:37:20 -07:00
Unknown
3d2d0f0e1a
Clean up and modernize axis task_chain
2020-04-27 15:27:43 -04:00
Samuel Sadok
237a50bfc9
add step/dir input tests
2020-04-21 15:57:26 +02: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
970f740963
Fix fibre definitions formatting & remove AlignConsecutiveAssignments
2019-09-27 22:14:08 -04:00
Samuel Sadok
82e8cd64fb
cosmetic changes
2019-09-27 18:01:38 +02:00
Samuel Sadok
8ce66c6ec7
change power supply limit from watts to amps
2019-09-27 18:01:33 +02:00
Unknown
ecf1ccd25e
Add stack_size vars, reduce stack usage
2019-09-25 22:47:40 -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
9e782cce7b
Revert "Formatting pass"
...
This reverts commit 2b58d15d8d .
2019-09-15 01:15:51 -04:00
Unknown
3f4433f50d
Enable rudimentary dual-encoder support
2019-09-01 17:02:15 -04:00
Unknown
36f4dc0ada
Add watchdog enable option
2019-08-24 21:50:59 -04:00
Unknown
2b58d15d8d
Formatting pass
2019-08-20 23:13:54 -04:00
Paul Guenette
ca93c0e2d2
Add isHomed indicator
2019-08-11 12:30:24 -04:00
Paul Guenette
fbd7ab2738
Improve the behaviour of the HOMING sequence
2019-07-18 17:29:21 +02:00
Paul Guenette
cbc23de7b7
Add axis.clear_errors() function
2019-07-08 23:07:47 +02:00
Paul Guenette
1494cb333f
Merge remote-tracking branch 'madcowswe/lockin-refactor' into RazorsEdge
2019-06-22 17:04:29 +02:00