
Erste version der Software für der Prototyp
Diff: Controller.cpp
- Revision:
- 4:75df35ef4fb6
- Parent:
- 3:27100cbaaa6e
--- a/Controller.cpp Thu Mar 29 14:42:59 2018 +0000 +++ b/Controller.cpp Fri Mar 30 14:07:05 2018 +0000 @@ -29,6 +29,7 @@ * @param pwm0 a pwm output object to set the duty cycle for the first motor. * @param pwm1 a pwm output object to set the duty cycle for the second motor. * @param pwm2 a pwm output object to set the duty cycle for the third motor. + * @param counter1 */ Controller::Controller(PwmOut& pwm0, PwmOut& pwm1, PwmOut& pwm2, EncoderCounter& counter1, EncoderCounter& counter2, EncoderCounter& counter3, IMU& imu) : pwm0(pwm0), pwm1(pwm1), pwm2(pwm2), counter1(counter1), counter2(counter2), counter3(counter3), imu(imu), thread(osPriorityHigh, STACK_SIZE) {