Commit Graph
89 Commits
Author SHA1 Message Date
pjohnson ceabd24582 Made changes reflecting PR comments.
Added torque_ramp_rate to controller config.
Changed INPUT_MODE_CURRENT_RAMP to INPUT_MODE_TORQUE_RAMP for controller input mode enum.
Torque limits and current limits are now observed seperately. Torque limit is in the controller, current limit is in the motor object.
Fixed torque -> current calculation in motor_update to handle ACIM motors.
2020-06-17 13:15:36 -04:00
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 f7c8a6ea94 Merge remote-tracking branch 'origin/devel' into feature/interface_autogen 2020-06-10 13:01:15 +02:00
Samuel Sadok abf4fa85d3 add pip install to CI 2020-06-04 15:49:35 +02:00
Samuel Sadok a874dcbbb9 Merge branch 'devel' into feature/interface_autogen 2020-06-02 21:26:22 +02: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 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
Unknown 39fba04520 Merge branch 'master' into RazorsFrozenTesting 2020-04-25 23:52:30 -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 c231928619 Merge branch 'feature/brake_current_fix' into RazorsFrozenTesting 2020-03-27 21:24:49 -04:00
Oskar Weigl 1c9476318b Update getting-started.md 2020-02-05 19:24:04 -08:00
Paul Guenette 8468204aa3 Merge pull request #387 from alexmcnabb/patch-1
Alternate procedure to find pole-pair count
2020-02-02 14:15:06 -05:00
Oskar Weigl 595bfdabba add back manual udev rule setup to getting started 2019-12-17 18:52:13 -08:00
Alex McNabb 27ab4eaf35 Alternate procedure to find pole-pair count 2019-11-18 22:46:57 -06:00
Samuel Sadok 20d7bdf8c0 update documentation 2019-09-27 18:10:24 +02:00
Unknown 846f3a2cc1 Merge remote-tracking branch 'madcowswe/devel' into RazorsEdge 2019-09-09 23:45:33 -04:00
Paul Guenette c52261da6f Merge remote-tracking branch 'madcowswe/sam_nvm_fix' into RazorsEdge 2019-08-15 21:02:20 -04:00
Samuel Sadok 6d520d9316 remove workaround note for NVM bug 2019-08-13 14:09:39 +02:00
Oskar Weigl 39904242e4 Update getting-started.md 2019-08-09 21:53:52 -07:00
Oskar Weigl 33bd7d0fd6 Update getting-started.md 2019-08-09 21:42:13 -07:00
Oskar Weigl 65f446004e Update getting-started.md 2019-08-09 21:39:04 -07:00
robopilot99 7d62ea77c0 Revise documentation to clarify tuning procedures 2019-07-25 23:03:52 -05:00
Paul Guenette da27153f5e Add unit tests for current_vel_limit (failing) 2019-06-19 22:36:40 +02:00
Oskar Weigl 7e0977a73a Update getting-started.md 2019-05-30 22:16:30 -07:00
kingoflolz d8d1711c9f Update getting started 2019-05-28 15:28:15 -04:00
Oskar Weigl 20ba0ca18e fix getting started TOC 2019-03-20 15:00:32 -07:00
Oskar Weigl c80358bcd5 update docs 2019-03-19 19:56:26 -07:00
Oskar Weigl 933e3068ae Merge branch 'devel' into input-filter 2019-03-19 18:15: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 b03ec2e88c update changelog, improve some ascii commands 2019-02-25 20:00:14 -08:00
Damien LaRocque 5d7d635288 Change getting-started.md with trajectory control
Trajectory Control commands weren't fully detailed.
2019-01-15 23:03:44 -04:00
Oskar Weigl aedb65027b Update getting-started.md 2019-01-14 22:12:21 -08:00
jaredairbusaerial c17b61a10f Improved power connection procedure information 2019-01-13 17:36:22 -05:00
Oskar Weigl 1627666cdf Update getting-started.md 2019-01-03 17:00:26 -08:00
Jasper Galvin a676071cef Update getting-started.md
I was trying to work out how to  enable To enable Circular position control but could only find info on discord so added here
2019-01-03 18:51:21 +08:00
Oskar Weigl 73bb86440d Update getting-started.md 2018-12-09 15:21:02 -08:00
Oskar Weigl 69d1364ce0 Update docs 2018-12-02 22:30:48 -08:00
Oskar Weigl 192c3260f8 refactor vel ramp mode to use new controller input handling 2018-12-02 19:08:12 -08:00
Oskar Weigl 1df442fd9d move inertia to controller 2018-12-02 18:24:38 -08:00
Oskar Weigl 0c75e280a5 fix docs remenant 2018-11-28 23:02:15 -08:00
Oskar Weigl 8c393973b7 document different control modes 2018-11-28 22:44:58 -08:00
Oskar Weigl b7d77e2ded Merge branch 'master' into devel 2018-10-06 19:31:15 -07:00
Oskar Weigl 8e8b7787ea Update getting-started.md 2018-09-30 20:31:50 -07:00
Oskar Weigl 3f7637b567 chagne style of 4th lvl header 2018-09-26 15:12:01 -07:00
Oskar Weigl 0c7724cdbd chagne style of 4th lvl header 2018-09-26 00:04:18 -07:00
Oskar Weigl 71160b5c93 chagne style of 4th lvl header 2018-09-25 23:58:37 -07:00
Oskar Weigl c15dba8c47 try fixing the odd div behaviour 2018-09-25 23:39:11 -07:00