Samuel Sadok
b32c87df5a
[TEMP] refactoring: compile works, motors initialize as usual
2018-03-02 22:03:24 -08:00
Oskar Weigl
037f715dc2
elec_rad_per_enc also evaluated in check CPR
2018-02-25 23:54:17 -08:00
Oskar Weigl
2ed8d17fb8
fix comma
2018-02-25 23:50:43 -08:00
Oskar Weigl
2c8c712eda
Merge branch 'devel' into sam_nvm
2018-02-25 23:42:14 -08:00
Oskar Weigl
e2540d7eda
Update utils.h
2018-02-25 22:47:37 -08:00
Samuel Sadok
50436709db
Reorganize config parameters
...
All configurable parameters are now exposed on the protocol in objects called "[...].config". Those are the same parameters that are saved to NVM.
2018-02-25 19:59:29 -08:00
Samuel Sadok
facb3f33e7
add support for bool to protocol
2018-02-25 19:38:06 -08:00
Samuel Sadok
36b451a278
add version number for NVM config, add code comments
2018-02-25 15:29:56 -08:00
Paul Guenette
e52f41f3fe
Merge remote-tracking branch 'madcowswe/devel' into feature/anticogging_usb_function
2018-02-24 20:23:24 -05:00
Oskar Weigl
368b4d5cbb
add axis to config
2018-02-24 00:24:47 -08:00
Oskar Weigl
12c72cf284
change how default configs are done for now
2018-02-23 23:36:46 -08:00
Oskar Weigl
4801c4a8b5
add psu brownout check to do_checks
2018-02-23 13:05:49 -08:00
Oskar Weigl
4088f3fa07
Merge branch 'devel' into psu-brownout
2018-02-23 13:02:17 -08:00
Oskar Weigl
c1f800d235
Merge branch 'DRV-error-readouts' of git://github.com/qjones81/ODrive into qjones81-DRV-error-readouts
2018-02-23 12:52:33 -08:00
Oskar Weigl
430e408875
default calib speed a bit faster
2018-02-23 12:48:27 -08:00
Oskar Weigl
225adb7e88
Merge branch 'devel' into DRV-error-readouts
2018-02-23 11:47:22 -08:00
Samuel Sadok
c200bf495e
add note about firmware update
2018-02-22 19:30:51 -08:00
Samuel Sadok
d558e40513
add reference to datasheet
2018-02-22 19:08:49 -08:00
Samuel Sadok
b672d8e0ef
Add persistent storage of certain motor parameters.
...
The persistent storage can be controlled through the "save_config" and "reset" RPC functions. If a valid configuration is present, it's automatically loaded on startup. For now only a few parameters are saved (see config.cpp).
2018-02-22 19:08:43 -08:00
Samuel Sadok
eea8475458
Add low level non-volatile memory implementation
2018-02-22 18:05:03 -08:00
Paul Guenette
48cbcc7d37
Add usb command for anticogging
2018-02-21 20:41:00 -05:00
Paul Guenette
95d1d3ff0f
Fix fabsf bracket, make variable names more descriptive
2018-02-21 18:46:51 -05:00
Quincy Jones
f75799fd3c
Fix a naming bug on drv_error -> drv_fault
2018-02-21 14:23:12 -06:00
Quincy Jones
aee5398ba2
Revert CPR back to default. Fix delay block times
2018-02-21 13:46:47 -06:00
Quincy Jones
ef0f8dbf85
Add microsecond delay functions.
...
Add DRV register/fault status reporting.
2018-02-21 13:41:42 -06:00
Paul Guenette
4d0366f8df
Change the calibration distance & number of steps for accuracy
2018-02-19 20:01:45 -05:00
Paul Guenette
06ab4d7bae
Add Encoder CPR range checking
2018-02-19 19:42:47 -05:00
Oskar Weigl
72efd17f31
implement dc bus brownout check
2018-02-19 00:32:01 -08:00
Oskar Weigl
d388ea54c1
Update low_level.c
2018-02-16 14:49:10 -08:00
Capo01
207c0b8904
Update low_level.c
2018-02-16 20:49:28 +11:00
Oskar Weigl
e4a8f05d74
fix sem_usb_rx token remove bug
2018-02-12 21:54:25 -08:00
Oskar Weigl
154855ea91
Merge branch 'devel' into liveplotter
2018-02-12 00:11:18 -08:00
Oskar Weigl
620cc1f738
Merge branch 'master' into devel
2018-02-12 00:10:38 -08:00
Oskar Weigl
69d63a6e79
Merge branch 'devel' into liveplotter
2018-02-11 21:39:05 -08:00
Oskar Weigl
74d930ee9a
Update low_level.c
2018-02-09 14:32:58 -08:00
Oskar Weigl
4d486b30ca
Set .use_index to false by default
2018-02-07 22:57:49 -08:00
Oskar Weigl
858ef6cc79
Set .use_index to false by default
2018-02-07 22:55:23 -08:00
Oskar Weigl
6810e52d8d
expose Iq setpoint and measured separatly
2018-02-03 19:09:49 -08:00
Oskar Weigl
5f3341b949
add resistance_calib_max_voltage parameter
2018-02-02 22:45:19 -08:00
Oskar Weigl
ad38d12a0e
default to not HV version
2018-01-27 00:19:05 -08:00
Oskar Weigl
91f72a60cd
write up instructions
2018-01-27 00:16:49 -08:00
Oskar Weigl
a7c8a85d30
expose motor_dir
2018-01-26 22:59:21 -08:00
Oskar Weigl
aaa5f802de
configurable search speed and dir, check for already flashed calibration
2018-01-26 22:34:34 -08:00
Oskar Weigl
1f8bba475e
index searching works
2018-01-26 22:10:16 -08:00
Oskar Weigl
46b0ddc002
manual idx search working on both motors
2018-01-26 21:13:44 -08:00
Oskar Weigl
9b7d201276
manual idx search on M1 working, not on M0
2018-01-26 21:02:58 -08:00
Oskar Weigl
2eef906003
Merge branch 'devel' into encoder_index
2018-01-26 20:38:27 -08:00
Oskar Weigl
4d7c3b92e3
fix setEncoderCount wrong TIM bug
2018-01-26 20:19:32 -08:00
Oskar Weigl
13deca5394
Keep rotor estimation up to date while idling
2018-01-26 19:15:48 -08:00
Oskar Weigl
8ab73b0baa
turn off control at start for enc idx testing
2018-01-26 18:39:37 -08:00