Matlab connection via the serial port, to control the robot from there (interactively)
Diff: MatlabComm.cpp
- Revision:
- 1:40b82d961544
- Parent:
- 0:08d5f31c6ddc
--- a/MatlabComm.cpp Tue Nov 01 02:31:36 2016 +0000 +++ b/MatlabComm.cpp Tue Nov 01 02:31:55 2016 +0000 @@ -13,7 +13,7 @@ // write data to the output. void MatlabComm::write(){ - pc.printf("%i\r\n", M_Encoder.getPulses()+10); + pc.printf("%i\r\n", M_Encoder.getPulses()); }; void MatlabComm::flush_buffer(){