Commit Graph
74 Commits
Author SHA1 Message Date
Oskar Weigl f360f576b4 Merge branch 'rc-v0.5.1' 2020-09-27 16:17:35 -07:00
Oskar Weigl 439505c517 add link to timing diagram in low_level.cpp 2020-08-21 21:00:07 -07:00
Oskar Weigl 3760c7bc84 Merge branch 'rc-v0.5.0' into devel 2020-08-03 20:16:51 -07: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 7fade2b95a add filter to the reported <odrv>.ibus 2020-07-13 16:00:33 +02:00
Unknown 883dd27a17 Fix static in encoder.cpp, constexpr the things 2020-07-11 22:19:41 -04: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 b3912d58c2 revert numerical static_cast to C style casts
As per https://github.com/madcowswe/ODrive/pull/410#discussion_r427725994
2020-05-20 13:26:14 +02:00
Samuel Sadok 149dcf7377 reenable ascii protocol 2020-05-18 14:44:37 +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 011fb86377 make note on timing 2020-05-08 11:02:04 +02:00
Samuel Sadok 8cbee27a5d disable overvoltage ramp if brake_resistance == 0 2020-05-08 10:38:53 +02:00
Oskar Weigl 19647db3e6 update changelog, add debug freeze of tim13 2020-05-07 13:25:36 -07:00
Samuel Sadok 484c5ab9da clarify comments 2020-05-06 11:23:46 +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
Samuel Sadok 1dc420a76d various changes to update_brake_current:
- cleaner implementaiton of the overvoltage ramp with config variables separate from other functions
 - explicit enable flag for overvoltage ramp (disabled by default)
 - reinstate brake duty cycle NaN error
 - add informational flag for brake resistor saturation
2020-05-04 12:54:34 +02:00
Oskar Weigl edb6a1611c changed max brake duty to 95 pct 2020-05-01 17:11:47 -07:00
Samuel Sadok f84ff36c74 only enable vbus_voltage clamping if dc_bus_overvoltage_trip_level > nominal_voltage 2020-04-30 11:44:14 +02:00
Unknown 8a7a5aac4d Remove VBUS_OVERVOLTAGE_LEVEL because it's not being used 2020-03-29 21:10:38 -04:00
Unknown db890b0d5c Use brake_current as a true FF 2020-03-28 00:58:32 -04:00
Unknown 31fb65b86c Improve braking logic 2020-03-27 21:30:32 -04:00
Unknown c231928619 Merge branch 'feature/brake_current_fix' into RazorsFrozenTesting 2020-03-27 21:24:49 -04:00
Unknown 42b6effedd Implement a better brake resistor current handler 2020-03-26 17:20:32 -04:00
Unknown 1bdea53ec8 Improve testability 2020-01-08 22:11:50 -05:00
Unknown 7a756c1761 Merge branch 'devel' into RazorsEdge 2020-01-01 21:45:41 -05:00
Unknown f127df72f1 Add stack_size vars, reduce stack usage 2019-10-26 14:28:06 -04:00
Unknown 9e782cce7b Revert "Formatting pass"
This reverts commit 2b58d15d8d.
2019-09-15 01:15:51 -04:00
Oskar Weigl 6a929d4236 improve oscilloscope functionality 2019-09-12 18:11:32 -07:00
Unknown 846f3a2cc1 Merge remote-tracking branch 'madcowswe/devel' into RazorsEdge 2019-09-09 23:45:33 -04:00
Oskar Weigl 47bcdfa08f fix broken analog feature due to out of RAM for stack 2019-09-09 20:42:10 -07:00
Unknown 2b58d15d8d Formatting pass 2019-08-20 23:13:54 -04:00
Paul Guenette 3dc969ad15 Merge branch 'Non-Blocking_Absolute_SPI' into RazorsEdge 2019-05-25 14:56:26 +02:00
Tobin Hall bb7ce30ba4 Adding low pass filter to encoder read failures. Staggering SPI triggers 2019-05-11 23:17:45 +02:00
Tobin Hall 7440d982e3 Adding detection of which axis is waiting for the data. 2019-05-11 23:17:45 +02:00
Tobin Hall 4b29c51548 Adding preliminary support for SPI absolute encoders. 2019-05-11 23:17:45 +02:00
Paul Guenette db2c02c680 Allow for regen current before braking 2019-03-25 20:04:45 +01:00
Oskar Weigl a86fb3e59b add coherent sampling and 1.5 cycle pwm phase advance 2019-02-01 21:01:45 -08:00
Oskar Weigl 00c21bc510 Merge remote-tracking branch 'origin/sam-patch-1' into devel 2019-01-10 18:38:57 -08:00
Oskar Weigl 6e34beba9f increase analog polling to 100Hz 2018-12-17 14:19:55 -08:00
Oskar Weigl df2067c544 Merge branch 'pr/kalvdans/243' into devel 2018-12-17 13:54:32 -08:00
samuelsadok 78bf4a7320 disarm motor if brake is disarmed 2018-11-30 08:46:51 +01:00
Oskar Weigl bbef49611a implement vel ramp 2018-11-14 00:13:19 -08:00
Oskar Weigl 1511ae1db7 use tim13 as realtime control diagnostic timebase 2018-10-24 21:56:02 -07:00
Oskar Weigl a0cedaaf94 clean up critical section use 2018-10-07 21:09:09 -07:00
Christian Häggström cc0f083bf0 Poll analog inputs to drive a configured endpoint. 2018-09-13 14:28:49 +02:00
Oskar Weigl 9dcabb7b99 brake duty saturation error reporting 2018-08-06 13:37:22 -07:00
Oskar Weigl 5cc1a9546d implement axis temp reading 2018-07-01 01:11:44 -07:00
Oskar Weigl cb84e11348 pwm in: only ch4 is available on odrive v3.2 2018-06-23 20:05:57 -07:00
Samuel Sadok 689fe1512c add PWM channel 1 and 2 initialization, add pulldown, fix off-by-one 2018-05-15 23:58:55 -07:00