Commit Graph
356 Commits
Author SHA1 Message Date
pjohnson d78119e29f Modified docs and communication interfaces to reflect change from A to Nm for motor control input.
Renamed vel_integrator_current_ to vel_integrator_torque_
Removed input_current_ from controller, added input_torque_
2020-06-16 17:10:36 -04:00
Samuel Sadok b88f66ab99 update macOS build instructions 2020-06-10 16:09:18 +02:00
Samuel Sadok 6380c2b201 add fibre HWIL tests 2020-06-10 14:05:52 +02:00
Samuel Sadok f7c8a6ea94 Merge remote-tracking branch 'origin/devel' into feature/interface_autogen 2020-06-10 13:01:15 +02:00
Samuel Sadok b14d68cee4 Merge branch 'more-ci' into devel 2020-06-05 11:23:03 +02:00
Samuel Sadok abf4fa85d3 add pip install to CI 2020-06-04 15:49:35 +02:00
Samuel Sadok 592b5f48c7 fix compilation
improve Python3 install check, remove python string
interpolation which is not supported by older python
versions

remove string interpolation
2020-06-03 18:05:38 +02:00
Samuel Sadok a874dcbbb9 Merge branch 'devel' into feature/interface_autogen 2020-06-02 21:26:22 +02:00
Samuel Sadok a755f27917 Fix hang on compile on Windows
Windows 10 includes since version 1903 a python stub which is supposed
to open the MS Store if python is invoked but not installed. However
when invoked from tup, the stub simply hangs without output.

With this change we first check the python version (something that the
Windows stub does not interer with) before we invoke it.
2020-06-02 16:54:28 -07:00
Unknown 006ac8228f Merge branch 'RazorsFrozenTesting' into devel 2020-05-29 16:04:10 -04:00
camrbuss 6acf7f1bbd protocol documentation tweaks 2020-05-28 18:56:16 -06:00
camrbuss 224a2d91de Endstop configuration example offset 2020-05-27 19:39:48 -06:00
Samuel Sadok 128b7d7cb7 revert erroneous table-of-contents update 2020-05-26 17:11:56 +02:00
Samuel Sadok ef89d4cfb0 clarify note on ~/.local/bin (it's a Debian bug) 2020-05-26 14:34:22 +02:00
Samuel Sadok beaca6f5e7 Merge remote-tracking branch 'origin/master' into devel 2020-05-26 13:48:28 +02:00
camrbuss e9d636d13c Merge branch 'devel' of github.com:madcowswe/ODrive into RazorsFrozenTesting 2020-05-23 15:13:06 -06: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 e58e9ac257 clarify documentation on CRC calculation 2020-05-20 19:15:01 +02:00
Samuel Sadok b0e7dcc6fd Add support for extended CAN IDs
Previously, coexistence with devices that use extended CAN IDs was not
possible since the ODrive would simply clip the 18 upper bits of an
extended message ID.

This adds proper support for extended CAN IDs by changing
`can_node_id` from 8 to 32 bit and introducing the new option
`can_node_id_extended`.
2020-05-18 18:52:13 +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
Oskar Weigl 7148de710a Update odrivetool.md 2020-05-13 17:45:50 -07:00
samuelsadok bd26cc9ef3 Merge pull request #408 from madcowswe/feature/uart_baudrate
Feature/uart baudrate
2020-05-13 11:27:13 +02:00
Samuel Sadok 312180fc31 add test for uart_baudrate setting 2020-05-13 11:24:38 +02:00
Unknown 141d1edd35 Change UART baudrate via fibre 2020-05-12 01:30:40 -04:00
camrbuss 573ad8f7f2 input_mode and control_mode 2020-05-08 19:44:06 -06:00
Oskar Weigl f31ccb5cd2 Update Gemfile.lock 2020-05-08 18:23:11 -07:00
Samuel Sadok cf1b9439cb add test for velocity limit in current control mode 2020-05-08 18:35:54 +02:00
Samuel Sadok eb944018e3 update documentation 2020-05-06 11:21:33 +02:00
camrbuss 87b3ad252e CAN table merge Message and Signals 2020-05-04 20:03:25 -06:00
camrbuss b7ba3f11ce svd for FreeRTOS, state doc updates 2020-05-04 19:32:38 -06:00
Samuel Sadok 6ade7e47ed update testing documentation 2020-05-01 14:48:12 +02:00
Samuel Sadok f5289ddb19 update developer documentation 2020-05-01 14:48:12 +02:00
Samuel Sadok 4cfbb2c3e4 fix various issues with SPI encoder implementation
- Remove logic that would inhibit error detection until the first value is received. This logic posed a risk when no encoder is connected at all.
 - check error flag in AMS mode
 - Make CUI mode work. Only tested with emulated CUI encoder.
 - only go to ready-state if a successful value was received _and_ the offset was already pre-calibrated
 - enable pull-up on MISO so that a disconnected AMS encoder can be detected
 - update encoder documentation
2020-04-29 16:18:55 +02:00
Unknown 659bcaaa2c Merge branch 'RazorsFrozenTesting' into RazorsEdge 2020-04-27 12:49:46 -04:00
Samuel Sadok 8cd673363c Reboot on erase_configuration().
This avoids unexpected behavior of a subsequent `save_configuration()`
call, since the configuration is only erased from NVM, not from RAM.
2020-04-27 15:19:32 +02:00
Unknown baa6e4b5dc Set default configuration of endstops to configuration 4 2020-04-26 00:25:19 -04:00
camrbuss e9aa6b867c Ubunutu 20 documentation 2020-04-25 22:20:50 -06:00
Unknown 828f82b25b Merge branch 'RazorsFrozenTesting' into RazorsEdge 2020-04-25 23:53:52 -04:00
Unknown 39fba04520 Merge branch 'master' into RazorsFrozenTesting 2020-04-25 23:52:30 -04:00
camrbuss 8379c9fbdd Merge branch 'master' of github.com:camrbuss/ODrive into RazorsFrozenTesting 2020-04-25 21:46:08 -06:00
Unknown c63d6baff0 Merge branch 'RazorsFrozenTesting' into RazorsEdge 2020-04-24 12:02:34 -04:00
Paul Guenette 56fb02b453 Merge branch 'RazorsFrozenTesting' into RazorsEdge 2020-04-23 16:36:01 -04:00
Samuel Sadok 1b9f442114 clarify ascii doc 2020-04-23 17:44:07 +02:00
Unknown af5ee564b3 Add some flashy media to input_modes.md 2020-04-21 20:58:18 -04:00
Unknown 36c7b4dbd7 Replace current_setpoint by input_current in docs 2020-04-21 20:49:26 -04:00
Unknown 9b2df645f9 Replace select instances of vel_setpoint by input_vel in docs 2020-04-21 20:49:18 -04:00
Unknown f4f4be0d6d Replace select instances of pos_setpoint by input_pos in docs 2020-04-21 20:46:38 -04:00
Unknown c2a5ce821a Add input_modes.md 2020-04-21 20:39:48 -04:00
camrbuss 622a461b6f fix of formatting 2020-04-12 20:33:19 -06:00