Home→Forums→MonoBrick Communication Library→Error: Wrong Number of Bytes received.→Reply To: Error: Wrong Number of Bytes received.

Anders Søborg
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
Follow