Oskar Weigl
d2e2c3a1a8
use new hooks for encoder and current control bandwidth
2018-09-25 21:34:16 -07:00
Oskar Weigl
66a717f929
add ctx, hook current controller bandwidth
2018-09-25 20:23:03 -07:00
Oskar Weigl
e26e93212c
first compile of new buffers
2018-09-07 19:44:00 -07:00
Oskar Weigl
d54d4479ac
update max inductance check to 2500uH
2018-08-27 16:09:07 -07:00
Oskar Weigl
584b73920d
fix incorrect shifting of offset during index callback
2018-08-24 20:43:28 -07:00
Unknown
14e917171d
Rename pll_vel to vel_estimate
2018-08-23 22:26:26 -04:00
Oskar Weigl
19e3c779ae
force offset cal after idx search, index now homes axis
2018-08-17 23:39:43 -07:00
Oskar Weigl
9dcabb7b99
brake duty saturation error reporting
2018-08-06 13:37:22 -07:00
Oskar Weigl
e6f60e0b93
Merge branch 'master' into devel
2018-07-17 01:41:31 -07:00
Oskar Weigl
955aba11a5
fix axis error motor failed when encoder failed
2018-07-01 15:42:48 -07:00
Oskar Weigl
5cc1a9546d
implement axis temp reading
2018-07-01 01:11:44 -07:00
Oskar Weigl
e30a064264
add horner_fma to utils
2018-07-01 00:15:56 -07:00
Oskar Weigl
5253d1ce89
Made sensorless control configurable, and also smooth vel_setpoint transition
2018-06-23 22:38:48 -07:00
Oskar Weigl
2e07e0cdd3
make a sensorless config
2018-06-23 21:37:47 -07:00
Oskar Weigl
cb84e11348
pwm in: only ch4 is available on odrive v3.2
2018-06-23 20:05:57 -07:00
Oskar Weigl
a116c94075
sync shadow_count to count_in_cpr when calibrating
2018-06-22 00:44:03 -07:00
Oskar Weigl
6e9dd068de
add current control bandwith config setting
2018-06-21 22:41:58 -07:00
Oskar Weigl
56c0829321
move includes around
2018-06-21 21:47:21 -07:00
Oskar Weigl
a9b03dd4df
Merge branch 'devel' into powerwheels
2018-06-21 21:41:36 -07:00
Oskar Weigl
2ed6b3514a
ODrive v3.5 axis1 step dir pins are 7,8
2018-06-08 22:46:20 -07:00
Oskar Weigl
f3c91cef02
Default brake R depends on board voltage due to how ODrive Robotics bundle included resistors
2018-06-08 21:46:04 -07:00
Oskar Weigl
6ff4445770
Merge branch 'devel' into sam_fibre
...
Conflicts:
Firmware/Tupfile.lua
Firmware/fibre/cpp/include/fibre/protocol.hpp
Firmware/fibre/python/fibre/discovery.py
Firmware/fibre/python/fibre/usbbulk_transport.py
tools/odrive/dfu.py
tools/odrive/shell.py
tools/odrive/utils.py
tools/odrivetool
2018-06-08 19:30:21 -07:00
Oskar Weigl
d403bc5ff5
Merge branch 'devel' into sam_can
2018-06-06 23:39:03 -07:00
Oskar Weigl
8cc735aeac
fix usage of GPIO_5 for ODrive v3.2
2018-06-06 00:18:25 -07:00
Oskar Weigl
f8306741bc
Merge branch 'devel' into sam_user_adc
2018-06-05 23:40:50 -07:00
Oskar Weigl
2a7743ef0b
Merge branch 'devel' into fw4
2018-06-05 23:13:58 -07:00
Oskar Weigl
c95233a57b
make ascii protocol default on CDC interface, change some naming
2018-06-05 21:59:48 -07:00
Oskar Weigl
bb11bf0bbd
Merge remote-tracking branch 'origin/devel' into sam_winusb
2018-06-01 21:57:30 -07:00
Oskar Weigl
3e57b90bed
Merge remote-tracking branch 'origin/sam_tests' into fw4
2018-06-01 12:48:47 -07:00
Samuel Sadok
8ffa8333c5
[UNTESTED] start implementing sensorless test
2018-05-21 15:57:06 -07:00
Oskar Weigl
c6cf7b2132
current control bandwidth lowered for high inductance wheels. TODO Make configurable
2018-05-17 17:07:34 -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
Oskar Weigl
37e01b9865
move bandwith to config
2018-05-15 17:27:12 -07:00
Oskar Weigl
c13bee09ed
Merge remote-tracking branch 'origin/pwm-in' into powerwheels
2018-05-15 16:55:46 -07:00
Samuel Sadok
d3105cfcaf
expose PWM mappings as endpoint_ref
2018-05-15 16:43:44 -07:00
Oskar Weigl
aefd331488
Merge branch 'pwm-in' into powerwheels
2018-05-15 10:48:18 -07:00
Oskar Weigl
f1081afc7b
encoder bandwidth configurable
2018-05-15 10:31:09 -07:00
Oskar Weigl
a63c4a4a96
Merge branch 'fw4' into powerwheels
2018-05-15 10:23:16 -07:00
Oskar Weigl
3103eda5f9
Merge branch 'devel' into fw4
2018-05-15 10:22:19 -07:00
Samuel Sadok
359eab32f6
implement PWM input
2018-05-15 10:10:55 -07:00
Samuel Sadok
8339311c35
make ADC work
2018-05-14 19:06:09 -07:00
Samuel Sadok
1e47f5c3e8
Merge branch 'devel' into sam_user_adc
2018-05-14 17:40:18 -07:00
Samuel Sadok
9affb2f1de
Merge branch 'devel' into sam_auto_dfu
2018-05-14 16:51:21 -07:00
Samuel Sadok
caacde7544
Replace ASCII protocol compile time setting with runtime setting
...
When enabled, the USB CDC interface of the ODrive will
run the ASCII protocol instead of the native protocol.
In that case the native protocol can still be used on
endpoints 0x03, 0x83.
Truly concurrent use is not tested and thus not recommended.
2018-05-14 15:50:01 -07:00
Oskar Weigl
ebfe0755bd
set bandwidth to 100
2018-05-14 01:54:02 -07:00
Oskar Weigl
cafcdb4e29
center-align hall interpolation float offset
2018-05-14 01:53:01 -07:00
Oskar Weigl
439a32f530
reset encoder bandwidth back up to 1000 per s
2018-05-14 00:18:27 -07:00
Oskar Weigl
f88ea874e9
implement snap of requested current range
2018-05-14 00:03:50 -07:00
Oskar Weigl
ce1d6639e8
use CAN not i2c by default
2018-05-13 20:03:40 -07:00
Samuel Sadok
4bf7e987a5
apply ODrive native protocol updates to fibre and switch to fibre
2018-05-13 18:53:44 -07:00