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
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
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
Oskar Weigl
52b179d498
working hall, suspect commutation angle noise
2018-04-27 00:26:43 -07:00
Samuel Sadok
af502d349b
continue operation after temporary I2C bus errors
2018-04-24 19:37:21 -07:00
Samuel Sadok
62dd4a9a6a
Merge branch 'sam_i2c' into project-r
2018-04-24 18:26:54 -07:00
Samuel Sadok
c0ac611e4b
implement protocol over I2C
2018-04-24 18:07:51 -07:00
Samuel Sadok
861a26735c
Merge branch 'sam_disable_dfu' into sam_oskar_testing
2018-04-24 13:41:53 -07:00
Samuel Sadok
dc303606b1
fix USB TX lockup issue
...
When the host reset the connection without reading the response packet first, the TX-empty semaphore would never get released, thereby blocking any further TX communication. This commit just overrides the TX buffer if the semaphore wait times out.
2018-04-23 19:03:55 -07:00
Samuel Sadok
535dbcf481
add system_stats to monitor resource usage
2018-04-23 19:03:55 -07:00
Samuel Sadok
1f504d1d99
Merge branch 'sam_testing' into sam_oskar_testing
2018-04-21 23:11:36 -07:00
Samuel Sadok
96d2bc81f2
Merge branch 'sam_refactoring' into sam_testing
2018-04-21 22:22:42 -07:00
Samuel Sadok
e581cc9c90
move enable_dfu_mode() to main.cpp
2018-04-21 22:09:54 -07:00
Samuel Sadok
1d7bf6b467
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_refactoring
2018-04-21 00:07:31 -07:00
Samuel Sadok
741a51442f
split communication into multiple files
2018-04-20 23:44:55 -07:00
Samuel Sadok
abdb037d75
move communication related files
2018-04-20 21:33:39 -07:00
Oskar Weigl
8407721744
fix external interrupts, step dir now working
2018-04-17 03:21:03 -07:00
Samuel Sadok
1718e5c397
Merge branch 'sam_python_fixes' into sam_testing
2018-04-09 18:32:38 -07:00
Samuel Sadok
61983a10da
store encoder_configs and controller_configs in NVM
2018-04-07 12:30:37 -07:00
Samuel Sadok
1f732bb0fb
fix stack overflow
2018-03-09 20:23:03 -08:00
Samuel Sadok
93d6a787cd
Merge branch 'devel' of github.com:madcowswe/ODrive into sam_refactoring
2018-03-09 16:01:18 -08:00
Samuel Sadok
9486f9ed15
make stuff working again, improve state machine design, add underscore to member names
2018-03-09 13:37:07 -08:00
Samuel Sadok
f5081352b3
refactor protocol
2018-03-08 12:56:24 -08:00
Samuel Sadok
97aedd46e9
Sanitize error handling and state machine, move common stuff to odrive_main.hpp
2018-03-04 15:49:48 -08:00
Samuel Sadok
b32c87df5a
[TEMP] refactoring: compile works, motors initialize as usual
2018-03-02 22:03:24 -08:00