Commit Graph
72 Commits
Author SHA1 Message Date
Unknown 2b58d15d8d Formatting pass 2019-08-20 23:13:54 -04:00
Paul Guenette e8a6698fa5 Merge branch 'devel' into RazorsEdge 2019-06-03 00:30:25 +02:00
Paul Guenette 687cf5b877 Merge branch 'Endstops' into develop 2019-05-25 13:53:38 +02:00
Paul Guenette b09e835647 Remove doctest from STM builds 2019-05-19 21:18:46 +02:00
Paul Guenette d8b335fcb9 Merge branch 'feature/doctest' into feature/CAN 2019-05-19 19:27:20 +02:00
Oskar Weigl 9af9ea0bf0 add axis_num member 2019-05-15 23:06:45 -07:00
Paul Guenette 0598c2c995 Setup doctest 2019-05-16 00:03:37 +02:00
Paul Guenette 1e5b82ca8b Merge branch 'devel' into Endstops 2019-04-23 21:48:43 +02:00
Paul Guenette 5fee14a378 Merge branch 'devel' into feature/CAN 2019-03-23 09:33:42 +01: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
Paul Guenette 2e71e81dd1 Call load_configuration before any threads start 2019-03-17 20:33:14 +01:00
Paul Guenette 1296537582 Assign different can_node_ids to each axis by default 2019-03-08 21:53:02 +01:00
Paul Guenette 40ad2a0060 Merge branch 'devel' into feature/CAN 2019-03-01 22:56:11 +01:00
Oskar Weigl cb77fd4112 Merge pull request #307 from durka/patch-1
Increase stack sizes
2019-02-11 18:59:40 -08:00
Alex Burka 301d0d807e make stack overflows debuggable
Now if you break on vApplicationStackOverflowHook in a debugger, you can see which thread overflowed.
2019-01-29 22:31:17 -05:00
Unknown 2acbc45001 Merge branch 'devel' into feature/CAN 2019-01-02 12:16:32 -05:00
Oskar Weigl df2067c544 Merge branch 'pr/kalvdans/243' into devel 2018-12-17 13:54:32 -08:00
Unknown e6dfa54d00 Merge branch 'devel' into Endstops 2018-12-06 23:37:04 -05:00
Unknown ffbf24ff31 Merge branch 'devel' into feature/CAN 2018-10-28 18:37:49 -04:00
Oskar Weigl 209839d2a7 remve uart stepdir interlock: stepdir now takes priority 2018-10-22 21:28:15 -07:00
Oskar Weigl b09d1e9e25 make step/dir pins configurable 2018-10-22 21:03:13 -07:00
Unknown 75dfb48238 Unify the Config_t style for ODriveCAN 2018-09-28 18:19:34 -04:00
Unknown 51c890d0c1 Merge branch 'devel' into feature/CAN 2018-09-27 20:47:16 -04:00
Unknown 41224a4a41 Move Endstop's config struct into the class to unify the style 2018-09-27 20:45:39 -04: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 3ba3d4e413 Allow for different baud rates by adjusting prescaler and time quanta 2018-09-24 21:08:08 -04:00
Unknown 484da55150 Make interface_can a class, so it can be instantiated multiple times 2018-09-24 21:08:07 -04:00
Unknown 9f9ee3f1a3 Rearrange configs so they match trapTraj 2018-09-21 18:56:38 -04:00
Unknown 8392f69b1c Add missing default trapTrajConfig creation 2018-09-21 18:37:46 -04:00
Christian Häggström cc0f083bf0 Poll analog inputs to drive a configured endpoint. 2018-09-13 14:28:49 +02:00
Unknown 9b0bc6f840 Make Endstops objects instead of structs in Axis 2018-09-08 18:25:51 -04:00
Unknown c65e7265e7 Move traj planning config to trap_traj config object 2018-09-03 17:13:14 -04:00
Unknown 03bf297bd8 Add TrapTraj to Axis and Controller. Add move_to_pos funciton 2018-09-01 23:39:31 -04:00
Oskar Weigl 2e07e0cdd3 make a sensorless config 2018-06-23 21:37:47 -07:00
Oskar Weigl a9b03dd4df Merge branch 'devel' into powerwheels 2018-06-21 21:41:36 -07:00
Oskar Weigl 8cc735aeac fix usage of GPIO_5 for ODrive v3.2 2018-06-06 00:18:25 -07:00
Oskar Weigl f8306741bc Merge branch 'devel' into sam_user_adc 2018-06-05 23:40:50 -07:00
Oskar Weigl 2a7743ef0b Merge branch 'devel' into fw4 2018-06-05 23:13:58 -07:00
Oskar Weigl c13bee09ed Merge remote-tracking branch 'origin/pwm-in' into powerwheels 2018-05-15 16:55:46 -07:00
Samuel Sadok d3105cfcaf expose PWM mappings as endpoint_ref 2018-05-15 16:43:44 -07:00
Oskar Weigl aefd331488 Merge branch 'pwm-in' into powerwheels 2018-05-15 10:48:18 -07:00
Samuel Sadok 359eab32f6 implement PWM input 2018-05-15 10:10:55 -07:00
Samuel Sadok 8339311c35 make ADC work 2018-05-14 19:06:09 -07:00
Samuel Sadok 1e47f5c3e8 Merge branch 'devel' into sam_user_adc 2018-05-14 17:40:18 -07:00
Samuel Sadok 5770216010 save and restore configuration during DFU 2018-05-12 15:26:51 -07:00
Samuel Sadok f7fa729c38 make ADC work 2018-04-27 18:21:39 -07:00
Samuel Sadok 4240ba6074 Merge branch 'sam_user_adc' into project-r 2018-04-27 17:50:48 -07:00
Samuel Sadok b064800116 Add general purpose ADC API
ADC1 is configured to sample channels 0 to 15 continuously
at about 30kHz. Users can now set their GPIO of choice to
analog mode (as long as it's wired to one of the analog
channels) and then read the voltage at any time.

The values can be read like this:

GPIO_set_to_analog(GPIO_3_GPIO_Port, GPIO_3_Pin);
my_voltage = get_adc_voltage(GPIO_3_GPIO_Port, GPIO_3_Pin);
2018-04-27 17:46:56 -07:00