Samuel Sadok
e89569a6b4
add back enter_dfu_mode
2018-03-13 14:35:52 -07:00
Samuel Sadok
4be3f829d5
Merge branch 'sam_dfu' into sam_refactoring
2018-03-13 14:14:43 -07:00
Samuel Sadok
6d697b08fa
replace UUID_... property by serial_number
2018-03-12 23:45:17 -07:00
Samuel Sadok
ab3af19018
add support for uint64_t to protocol
2018-03-12 23:43:16 -07:00
Samuel Sadok
1489083f19
Merge branch 'devel' into sam_dfu
2018-03-12 22:44:59 -07:00
Oskar Weigl
2430490025
Merge branch 'devel' into sam_build_config
2018-03-12 21:10:38 -07:00
samuelsadok
764fb26b18
Merge branch 'devel' into sam_dfu
2018-03-11 21:39:56 -07:00
Samuel Sadok
c239427441
ensure sane config if config CRC16 mismatches
2018-03-11 20:04:53 -07:00
Samuel Sadok
4114846e0a
ensure sane config if config CRC16 mismatches
2018-03-11 17:10:58 -07:00
Samuel Sadok
791e08fb77
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_build_config
2018-03-09 21:22:05 -08:00
Samuel Sadok
ed3832ca77
make axis error clearable
2018-03-09 20:33:35 -08:00
Samuel Sadok
1f732bb0fb
fix stack overflow
2018-03-09 20:23:03 -08:00
Samuel Sadok
6131519b25
increase axis thread stack size to 2k
2018-03-09 16:45:38 -08:00
Samuel Sadok
74d0d7e14d
minor doc updates
2018-03-09 16:45:21 -08:00
Samuel Sadok
93d6a787cd
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_refactoring
2018-03-09 16:01:18 -08:00
Samuel Sadok
9d85854de3
add toplevel functions back to protocol
2018-03-09 15:03:55 -08:00
Samuel Sadok
9486f9ed15
make stuff working again, improve state machine design, add underscore to member names
2018-03-09 13:37:07 -08:00
Samuel Sadok
f5081352b3
refactor protocol
2018-03-08 12:56:24 -08:00
Oskar Weigl
3c983128f3
Merge branch 'master' into devel
2018-03-05 20:52:20 -08:00
Oskar Weigl
8d27dd443f
Update utils.c
2018-03-05 18:10:23 -08:00
Quincy Jones
6474f279d7
Fix microsecond timer delay code.
2018-03-05 19:50:33 -06:00
Oskar Weigl
01aedc2eea
Update commands.cpp
2018-03-05 17:34:12 -08:00
Samuel Sadok
7d7ab7f81b
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_build_config
2018-03-04 17:05:34 -08:00
Samuel Sadok
97aedd46e9
Sanitize error handling and state machine, move common stuff to odrive_main.hpp
2018-03-04 15:49:48 -08:00
Oskar Weigl
dff77b4f1c
Merge branch 'devel' into sam_dfu
2018-03-04 02:58:40 -08:00
Oskar Weigl
898d9c64b4
fix saving of calibrated flag
2018-03-02 23:05:40 -08:00
Samuel Sadok
b32c87df5a
[TEMP] refactoring: compile works, motors initialize as usual
2018-03-02 22:03:24 -08:00
Oskar Weigl
8b0be90bca
Merge branch 'devel' into sam_nvm
2018-03-02 22:01:56 -08:00
Oskar Weigl
5d87b7602f
make timing log static
2018-03-01 19:09:52 -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
Samuel Sadok
bbb508721f
Add build config options to build script
...
An example of what options can be used can be seen in tup.config.default.
2018-02-25 23:35:29 -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
dde6ba5a57
Add DFU over USB
...
`make dfu` now invokes a python script which puts the ODrive into DFU mode uploads the .hex file to the device via USB.
2018-02-22 19:49:10 -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