Careless mistake in the DifferentialMotorControl App?
Line 282:
right_derror = (left_error - ((dmc_t*)dmc)->control.right.error.last) / time_diff;
Probably it should be:
right_derror = (right_error - ((dmc_t*)dmc)->control.right.error.last) / time_diff;