code matlab for a hexapod Robot

Typically: "How do I... ", "How can I... " questions
Post Reply
mimid21
Posts: 9
Joined: 05 Mar 2017, 13:48

code matlab for a hexapod Robot

Post by mimid21 »

Hi All!

Im making my tesis of Controlling, modeling of a hexapod Robot.
I found that i could simulate my work in matlab on V Rep
I need a complet Code on Matlab, to move the six legs of my robot.

please help me.

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: code matlab for a hexapod Robot

Post by coppelia »

Hello,

you will first have to understand how things work in V-REP. Once you can move the legs correctly in V-REP, then move over to Matlab and do it from there. Doing things from an external application make things more complicated, since you need to correctly communicate with V-REP (or a robot model in V-REP). This includes correctly using the various operation modes, and probably also running V-REP in synchronous mode (where each simulation step will be triggered from the external application). Make also sure to understand well how communication works via the remote API.

Cheers

mimid21
Posts: 9
Joined: 05 Mar 2017, 13:48

Re: code matlab for a hexapod Robot

Post by mimid21 »

thank you for the advise.

i have a question here, can i import to vrep a hexapod robot modele from solid work.
if yes how can i do it.

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: code matlab for a hexapod Robot

Post by coppelia »

You will have to export the model to a format that V-REP understands (e.g. stl, obj, etc.). Make sure you do not export too large models, otherwise things will get slow in V-REP. Have a look at following two tutorials:
Cheers

mimid21
Posts: 9
Joined: 05 Mar 2017, 13:48

Re: code matlab for a hexapod Robot

Post by mimid21 »

thanks i exported my model in "stl' format.
now i have some difficulties in putting the joints in my hexapod robot legs.
if there is a video illustrate this operation a will be grateful.

Post Reply