Reply To: Error: Wrong Number of Bytes received.

HomeForumsMonoBrick Communication LibraryError: Wrong Number of Bytes received.Reply To: Error: Wrong Number of Bytes received.

#4025
Author Image
Anders Søborg
Keymaster

Hi

Yes. I am trying to make a segway with the help of color sensor and a PID control.

If you building/programming a robot that depends on a real-time control loop – don’t use the MonoBrick communication library….
Your system will never be “hard” real-time since you are communicating over either Bluetooth or WiFi…. in your case you need a fast response which you can not achieve. You have a very slow sample-rate and furthermore a sample-rate which you can not guarantee…

Yes, I think it might be a problem with the kernel modules.

Please post your MonoBrick firmware code in the appropriate forum so the bug can be fixed…

Anders

Posted in

Make a donation