Revision 7e9a19f4
Added flush to motors node so hardware values actually change
scout/motors/src/motors.cpp | ||
---|---|---|
151 | 151 |
} |
152 | 152 |
|
153 | 153 |
// write to hardware |
154 |
fpwm << pwm; |
|
155 |
fin1 << in1; |
|
156 |
fin2 << in2; |
|
154 |
fpwm << pwm << flush;
|
|
155 |
fin1 << in1 << flush;
|
|
156 |
fin2 << in2 << flush;
|
|
157 | 157 |
} |
158 | 158 |
|
159 | 159 |
/// @todo change these to the correct motor locations |
Also available in: Unified diff