matlab and Arduino simulation

hi guys

i have simulated my theory with matlab, the controller was designed using PID controller, now i want to implement this theory in Arduino platform written in c++. my question is, should i change the PID gains what i designed in matlab, or i can use the same gains of matlab? thanks

anybody knows?

Without some idea of what you are trying to control, there is no answer to your question. The gains may or may not be a good place to start. It depends on how accurate you simulation is to the real world.

my problem is implementing 5 non-holonomic agents to make a formation control. The matlab simulation result is shown in follow and gains in follwoing table, for hardware I just want to realize the same result that realized in matlab, so I want to know whether I should change the gains for hardware in matlab or not?

屏幕快照 2016-05-03 22.00.00.png

屏幕快照 2016-05-04 16.34.56.png