Commit Graph

25 Commits

Author SHA1 Message Date
Oskar Weigl
e9082f5621 implemented pos filter, but something is wrong with overshoot and vel matching 2018-12-02 20:49:17 -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
5684e14f92 fix rename redidual 2018-11-27 19:35:51 -08:00
Oskar Weigl
d9612ab534 circular position setpoint mode 2018-11-24 14:09:38 -08:00
Oskar Weigl
bbef49611a implement vel ramp 2018-11-14 00:13:19 -08:00
Oskar Weigl
b4fcb290a4 add overspeed fault 2018-10-24 23:57:42 -07:00
Oskar Weigl
327ac51abf rewrite cpp side of trapezoidal trajectory 2018-09-24 22:45:04 -07:00
Unknown
4475c59c8a Calculating A from cpss, not other way around 2018-09-20 20:27:36 -04:00
Unknown
3b931be8cf move_to_pos uses setpoints instead of estimates. Add A_to_cpss 2018-09-20 20:25:38 -04:00
Unknown
97b708d12c Put anticogging in the FF path if we're doing a controlled move 2018-09-07 18:13:39 -04:00
Unknown
c65e7265e7 Move traj planning config to trap_traj config object 2018-09-03 17:13:14 -04:00
Unknown
c6b19ac75f Deccel -> decel 2018-09-02 11:31:57 -04:00
Unknown
b22bb2ed42 Set current_setpoint_ = 0.0f during planned moves for now 2018-09-01 23:48:22 -04:00
Unknown
cd9aac7962 Force vel and current setpoints to be 0 after a planned move completes 2018-09-01 23:46:17 -04:00
Unknown
7b53d5511b Fix compilation error, rename to accel_limit and deccel_limit 2018-09-01 23:43:47 -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
a94096b64d Make subcomponent errors to always set relevant axis error; use do_checks and set_error 2018-05-10 06:56:13 -07:00
Samuel Sadok
1f504d1d99 Merge branch 'sam_testing' into sam_oskar_testing 2018-04-21 23:11:36 -07:00
Samuel Sadok
741a51442f split communication into multiple files 2018-04-20 23:44:55 -07:00
Oskar Weigl
d864730ecc add integrator resets to firmware 2018-04-13 18:37:39 -07:00
Samuel Sadok
b8b483c9d6 Firmware hardening
- check return code of enqueue_modulation_timings
 - wrap all hardware access to safety critical hardware timer registers in safety_critical_ sections. These functions like the armed-ness of each PWM output to a corresponding armed state that can only be set at start or by the user
 - ensure NaN in any variables doesn't cause unpredictable behavior on the safety critical PWM outputs
2018-03-30 22:32:07 -07: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
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