xx
Diff: IONMcMotors.cpp
- Revision:
- 2:fc1908afe4f4
- Parent:
- 0:0493ecc839e6
diff -r cbe21ac0d7d9 -r fc1908afe4f4 IONMcMotors.cpp --- a/IONMcMotors.cpp Wed Jan 08 11:09:56 2020 +0000 +++ b/IONMcMotors.cpp Tue Sep 14 11:15:51 2021 +0000 @@ -1,7 +1,7 @@ #include "IONMcMotors.h" IONMcMotors::IONMcMotors(uint8_t adr, int baudrate, PinName rx, PinName tx, uint16_t _GearBoxRatio, uint16_t _EncoderPulse, double _Kt_M1, double _Kt_M2){ - roboclaw = new RoboClaw(adr,baudrate, rx, tx); + roboclaw = new RoboClaw(adr,baudrate, rx, tx, 1.0); GearBoxRatio = _GearBoxRatio; EncoderPulse = _EncoderPulse; speed2Pulse = GearBoxRatio*EncoderPulse;