Commit Graph
96 Commits
Author SHA1 Message Date
Paul Guenette 12664d141d Remove the ability to home the axis with requested_state = AXIS_HOMING 2019-05-27 17:17:20 +02:00
Paul Guenette d95d0bc283 Fix call to input_pos_updated() 2019-05-26 22:39:37 +02:00
Paul Guenette 0d6be2869b step callback needs to increment input_pos, not pos_setpoint 2019-05-26 19:52:46 +02:00
Paul Guenette cf9857651e Make Homing use input_xxx values 2019-05-25 14:54:41 +02:00
Paul Guenette cc36edeabf Merge branch 'anticogging_saver' into RazorsEdge 2019-05-25 14:16:46 +02:00
Paul Guenette 820fd72ae8 Merge branch 'bugfix/watchdog_fix' into RazorsEdge 2019-05-25 14:15:24 +02:00
Paul Guenette 987a14b8c7 Merge branch 'feature/63-dc-bus-limit' into RazorsEdge 2019-05-25 14:14:20 +02:00
Paul Guenette 104e4413c9 Fix input_filter integration issues 2019-05-25 14:07:44 +02:00
Paul Guenette 687cf5b877 Merge branch 'Endstops' into develop 2019-05-25 13:53:38 +02:00
Paul Guenette 2abae9034b Change how the watchdog_reset_ value is handled 2019-05-24 23:54:38 +02:00
Paul Guenette 301d68adc6 Move anticogging_t into config, use a fixed size array and scale 2019-05-23 18:56:34 +02:00
Paul Guenette e720b5239d Fix GPIO Subscribe issues 2019-04-23 22:03:25 +02:00
Paul Guenette 1e5b82ca8b Merge branch 'devel' into Endstops 2019-04-23 21:48:43 +02:00
Paul Guenette 09a164d0ca Add dc_bus_over_power error 2019-03-25 20:52:36 +01:00
Paul Guenette 5fee14a378 Merge branch 'devel' into feature/CAN 2019-03-23 09:33:42 +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
Paul Guenette 0a24ce3bf9 Fix minor CppCheck warning 2019-03-17 18:35:13 +01:00
Paul Guenette 1296537582 Assign different can_node_ids to each axis by default 2019-03-08 21:53:02 +01: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
Paul Guenette 40ad2a0060 Merge branch 'devel' into feature/CAN 2019-03-01 22:56:11 +01:00
Oskar Weigl e3785a2aa2 make index only active when required 2019-02-11 18:42:22 -08:00
Oskar Weigl f17c96360f push index and dir search into encoder object 2019-02-11 17:32:48 -08:00
Oskar Weigl 4b998a8b64 add vel argument to constant speed spoolup 2019-02-10 20:12:32 -08:00
Oskar Weigl 2a12c1ac61 Merge branch 'devel' into preroll 2019-02-10 20:11:18 -08:00
Paul Guenette 335604c652 Merge branch 'devel' into feature/CAN 2019-02-06 19:12:47 +01:00
Oskar Weigl a86fb3e59b add coherent sampling and 1.5 cycle pwm phase advance 2019-02-01 21:01:45 -08:00
Oskar Weigl 15983cc4f0 Thermal current limit with linear derating 2019-01-16 01:19:36 -08:00
Unknown e6dfa54d00 Merge branch 'devel' into Endstops 2018-12-06 23:37:04 -05:00
Unknown 966f4a1de3 Merge remote-tracking branch 'madcowswe/devel' into feature/CAN 2018-11-17 12:31:15 -05:00
Oskar Weigl b3890ef9ff add option to keep encoder count from startup value 2018-10-30 01:13:39 -07:00
Unknown ffbf24ff31 Merge branch 'devel' into feature/CAN 2018-10-28 18:37:49 -04:00
Oskar Weigl b09d1e9e25 make step/dir pins configurable 2018-10-22 21:03:13 -07:00
Oskar Weigl 3cb9a8d584 rename axis.enable_step_dir to axis.step_dir_active 2018-10-20 18:24:25 -07:00
Oskar Weigl d7644daaca make encoder dir find and overspeed check 2018-10-10 15:35:41 -07:00
Oskar Weigl 8c286f0a6d Lockin based index search working, clean out old search 2018-10-10 14:23:10 -07:00
Oskar Weigl b28f453833 explicit state prerequisite checks 2018-10-08 19:59:18 -07:00
Oskar Weigl 3a61b4a6ac lockin with enc sense working 2018-10-08 19:40:44 -07:00
Oskar Weigl 123d79ee46 hm something causes a hardfault 2018-10-07 23:30:24 -07:00
Unknown a2ebb7085c Merge branch 'devel' into Endstops 2018-10-06 13:33:21 -04:00
Unknown 82c21c6a03 Merge branch 'devel' into feature/CAN 2018-10-06 13:32:44 -04:00
Oskar Weigl 85540cb1ab move check_for_errors to inline 2018-10-06 01:39:53 -07:00
Unknown 4fa09d6bbc Get CAN_SIMPLE to compile 2018-10-05 22:20:04 -04:00
Oskar Weigl ca83df6155 can do lockin spin at constant speed 2018-10-02 01:35:32 -07:00
Oskar Weigl a65212e2b7 move check_for_errors to inline 2018-10-02 00:44:42 -07:00
Unknown dc693ebd9c Merge branch 'devel' into Endstops 2018-09-27 20:42:30 -04:00
Oskar Weigl e88abb56eb pull in configs and enum into class for Axis and Motor, for consistency 2018-09-24 22:59:36 -07:00
Oskar Weigl 327ac51abf rewrite cpp side of trapezoidal trajectory 2018-09-24 22:45:04 -07:00
Unknown f7f2452973 Add endstop debouncing 2018-09-08 18:57:25 -04:00
Unknown 9b0bc6f840 Make Endstops objects instead of structs in Axis 2018-09-08 18:25:51 -04:00