speed control based on fuzzy in matlab

Typically: "How do I... ", "How can I... " questions
Post Reply
Ahmed NMA
Posts: 2
Joined: 11 Aug 2018, 13:38

speed control based on fuzzy in matlab

Post by Ahmed NMA » 17 Sep 2018, 22:49

Hello,
Please help me
I want to control the velocity of joint by a fuzzy controller, which is implemented in Matlab The output of Fuzzy controller is control signal I want function its input is a control signal and its output is velocity
Another problem I have a delay between vrep and Matlab Thanks a lot

fferri
Posts: 219
Joined: 09 Sep 2013, 19:28

Re: speed control based on fuzzy in matlab

Post by fferri » 21 Sep 2018, 11:14

Joint controllers can be written using the joint callback functions but you need to write those as Lua scripts inside the V-REP simulator.

I don't know whether you would be able to use remote communication in the joint callback (such as one of these) or the other way round e.g. with the Remote API, due to latency.

Probably -if your controller is not too complex- it's better to port it to Lua code.

Ahmed NMA
Posts: 2
Joined: 11 Aug 2018, 13:38

Re: speed control based on fuzzy in matlab

Post by Ahmed NMA » 22 Sep 2018, 00:00

Thanks for your reply fferri
But, i am a new for using v-rep program and i want to develop a controller
Please, you can give me any example for using the joint callback functions with matlab for controlling the joint

I did one, the controller output is the control signal
The controller is in the matlab but the readings aren't correct

Post Reply