Control Hoap 3 in VREP using MATLAB

Typically: "How do I... ", "How can I... " questions
Post Reply
ktiwari9
Posts: 3
Joined: 24 Apr 2015, 08:57

Control Hoap 3 in VREP using MATLAB

Post by ktiwari9 »

Hey guys,
I am completely new to using VREP with MATLAB and I have the following problems :
1.) I have no idea how to visualise a HOAP 3 in VREP as the robot model is not pre-installed
2.) How do I write a simple matlab code to make the head move for a hoap3 in VREP ?
3.) How to compile the simpletest code ? I get error with the VREP().

Any help is appreciated.

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

Re: Control Hoap 3 in VREP using MATLAB

Post by coppelia »

Hello,

if you wish to control a robot from Matlab, then you should use the remote API. Make sure you understand how the remote API works. Read also this section. Also, have a look at the simple example located in programming/remoteApiBindings/matlab/matlab/simpleTest.m

You will have to build the model of the HOAP3, make sure you first follow a few tutorials, for example this one.

Cheers

Post Reply