Commit Graph
953 Commits
Author SHA1 Message Date
Oskar Weigl f072610e9d Merge pull request #354 from madcowswe/sam_gcc91_fix
Remove stack pointer from clobber list
2019-05-29 11:42:02 -07:00
Samuel Sadok 53c70bee20 Remove stack pointer from clobber list
This fixes an issue when compiling with GCC 9.1:
"In function 'void early_start_checks()': error: listing the stack pointer register 'sp' in a clobber list is deprecated [-Werror=deprecated]"

Corresponds fix in upstream ARM CMSIS:
https://github.com/ARM-software/CMSIS_5/commit/a07b56505471fd789111bd7dba726461449cc261
2019-05-29 12:36:05 +02:00
kingoflolz 5c1fcfb232 Merge pull request #344 from madcowswe/sam_gcc9_fix
fix compilation issue with GCC 9
2019-05-28 17:37:23 -04:00
Oskar Weigl f57b71825f Merge branch 'master' into devel 2019-05-26 18:55:53 -07:00
Oskar Weigl 8bc7b14733 Merge branch 'devel' of github.com:madcowswe/ODrive into devel 2019-05-26 18:55:34 -07:00
Paul Guenette d9efd0f425 Add .clang-format file 2019-05-26 20:18:56 +02:00
Samuel Sadok 50e11294cd fix compilation issue with GCC 9 2019-05-16 22:14:18 +02:00
Oskar Weigl 9af9ea0bf0 add axis_num member 2019-05-15 23:06:45 -07:00
Unknown a1af79be08 Use an STM32F4 SVD for debugging so we can see registers 2019-05-02 19:51:59 +02:00
Oskar Weigl 1196026290 fix subscribe and unsubscribe to idx pin 2019-04-24 17:44:23 -07:00
Oskar Weigl 7eb4f2a584 add STM32 protection bits unlock command to makefile 2019-04-22 20:44:08 -07:00
Oskar Weigl e3946f27e0 add setup_hall_as_index.py 2019-04-15 20:02:10 -07:00
Oskar Weigl 7c9215a5db fix instructions in sampler.py 2019-04-05 19:11:38 -07:00
Oskar Weigl 1761272cad add encoder offset calib debug var calib_scan_response 2019-04-01 21:22:27 -07:00
Oskar Weigl 783ff659f6 add set_linear_count function to encoder 2019-03-20 15:04:11 -07:00
Oskar Weigl c065113392 Merge branch 'devel' of https://github.com/madcowswe/ODrive into devel 2019-03-19 20:41:35 -07:00
Oskar Weigl b8bcdb8fe3 reorder some stuff 2019-03-19 14:13:51 -07:00
Oskar Weigl 0e971fb73c Merge pull request #318 from Wetmelon/backend_fixes
Backend fixes
2019-03-19 14:12:35 -07:00
Oskar WeiglandWetmelon 8695f1fc6e Apply comment suggestions from code review
Co-Authored-By: Wetmelon <Wetmelon@users.noreply.github.com>
2019-03-19 07:10:04 +01:00
Oskar Weigl e94230275e add python side enum, fix instant timout on 1st iteration 2019-03-18 21:09:46 -07:00
Oskar Weigl fe0486aa8d Merge branch 'devel' into pr/Nomadluap/316 2019-03-18 20:24:19 -07:00
Oskar Weigl e19a7b921a Merge branch 'master' into devel 2019-03-18 20:21:42 -07:00
Oskar Weigl e795374434 update default OTP in makefile 2019-03-18 18:38:18 -07:00
Oskar Weigl c399187edd Revert "update default OTP in makefile"
This reverts commit 2b6626a76d.
2019-03-18 18:36:35 -07:00
Oskar Weigl 2b6626a76d update default OTP in makefile 2019-03-18 18:36:08 -07:00
Oskar Weigl 901311b582 add ODrive v3.6 2019-03-18 17:57:44 -07:00
Paul Guenette b5609a8da0 Remove dumb define in intellisense 2019-03-17 21:02:40 +01:00
Paul Guenette b8c144905b Use memcpy in read to copy data from buffer to value 2019-03-17 20:59:37 +01:00
Paul Guenette 7fbbe2abff Use memcpy to put data into the buffer 2019-03-17 20:56:17 +01:00
Paul Guenette b5f5b0396d Declare single-argument constructors explicit 2019-03-17 20:43:18 +01:00
Paul Guenette b97a91ad94 Remove browse_path locations 2019-03-17 20:42:47 +01:00
Paul Guenette 2e71e81dd1 Call load_configuration before any threads start 2019-03-17 20:33:14 +01:00
Paul Guenette b049e6f0eb Add a config flag for debug builds. Build with -O2 by default 2019-03-17 20:25:38 +01:00
Paul Guenette 68259cd8f1 gcc_generic_compiler must be declared local 2019-03-17 20:18:21 +01:00
Paul Guenette d7a067e87d Build objects to /obj folder 2019-03-17 20:18:15 +01:00
Paul Guenette 4d1e815207 Fix include paths not being found by tup 2019-03-17 20:17:55 +01:00
Paul Guenette 37427fcdc2 Fix protocol templates 2019-03-17 20:17:29 +01:00
Paul Guenette e7af78d2b0 Wrap gcc.exe in compilerPath with quotes 2019-03-16 00:35:08 +01:00
Paul Guenette 3400d60fa3 Fix intellisense includePath, add flylint paths to workspace settings 2019-03-16 00:31:52 +01:00
Oskar Weigl 412f7962f4 reject precalibration unless encoder is ready 2019-03-11 14:41:52 -07:00
Paul Belanger 42384f3ef9 Initial implementation of comms watchdog
- Added watchdog timeout property to Axis::Config_t:
  axis.config.watchdog_timeout

- Added axis protocol function to feed watchdog timer:
  axis.watchdog_feed()

- Axis::run_control_loop now checks for watchdog expiration.

- Ascii protocol: add support for watchdog

  - The following ASCII commands now automatically update the watchdog:
    p, v, t, c, q

  - Added a 'u' command to update the watchdog of a motor without
    modifying setpoints.

  - Updated ascii protocol documentation to reflect new commands and
    effects.

- Updated getting started guide to mention watchdog settings and
  functions in protocol.

Please note: due to unavailability of hardware at this time, I have been
unable to test this code on an Odrive.
2019-03-06 14:40:59 -05:00
Oskar Weigl 615ae723c3 Merge branch 'devel' of https://github.com/madcowswe/ODrive into devel 2019-03-05 21:47:39 -08:00
Oskar Weigl 6a9ff00b7d Merge branch 'devel' of github.com:madcowswe/ODrive into devel 2019-02-26 18:26:48 -08:00
Oskar Weigl 80b4582df9 Merge pull request #312 from madcowswe/preroll
Unify lockin drive modes
2019-02-25 20:23:57 -08:00
Oskar Weigl b03ec2e88c update changelog, improve some ascii commands 2019-02-25 20:00:14 -08:00
Oskar Weigl 9786af0a25 Merge branch 'devel' into pr/Wetmelon/259 2019-02-11 19:05:22 -08:00
Oskar Weigl cb77fd4112 Merge pull request #307 from durka/patch-1
Increase stack sizes
2019-02-11 18:59:40 -08:00
Oskar Weigl 1178bf4412 Merge branch 'devel' into preroll 2019-02-11 18:52:58 -08:00
Oskar Weigl e3785a2aa2 make index only active when required 2019-02-11 18:42:22 -08:00
Oskar Weigl c4c5aaac57 sincos is autoready 2019-02-11 18:33:45 -08:00