Search found 85 matches

by ravi
27 Feb 2018, 03:48
Forum: General questions
Topic: [Hexapod] Too many objects to add in collision check
Replies: 12
Views: 2997

[Hexapod] Too many objects to add in collision check

Hi, I am using Hexapod provided in Model Browser inside V-Rep. A screenshot of the robot can be seen here (https://www.dropbox.com/s/nbcbqffapgskg0r/hexapod2.png?dl=0). The hexapod consists of 3 motors in each leg. I want to know if there is any collision of legs. The collision can be in various cas...
by ravi
09 Feb 2018, 12:51
Forum: General questions
Topic: Joint Control of Hexapod using Remote API in Python
Replies: 6
Views: 2020

Re: Joint Control of Hexapod using Remote API in Python

Thanks, it worked. I wasn't aware of streaming and buffer mode. Thanks again.
by ravi
08 Feb 2018, 07:16
Forum: General questions
Topic: Joint Control of Hexapod using Remote API in Python
Replies: 6
Views: 2020

Re: Joint Control of Hexapod using Remote API in Python

Hi, To figure out the issue, I did following modification in the code- Removed previous wait condition i.e., while not np.allclose(self._getJointsPosition(), joint_angles, atol=1) Added new wait condition i.e., while wait_for_seconds(10) Each call to the function wait_for_seconds(n) returns true unt...
by ravi
05 Feb 2018, 06:31
Forum: General questions
Topic: Unable to restart the simulation from beginning using Remote API in Python
Replies: 5
Views: 2202

Unable to restart the simulation from beginning using Remote API in Python

I am trying to restart the simulation using Remote API in Python. Below is the code snippet- vrep.simxStopSimulation(clientID, vrep.simx_opmode_blocking) status = vrep.simxStartSimulation(clientID, vrep.simx_opmode_blocking) if status != 0: raise Exception('Failed to reset simulation') The issue is ...
by ravi
05 Feb 2018, 05:54
Forum: General questions
Topic: Joint Control of Hexapod using Remote API in Python
Replies: 6
Views: 2020

Re: Joint Control of Hexapod using Remote API in Python

you will have to wait until all joints have reached their positions Okay. I understand that I need to take feedback. Please see the code snippet below in which I keep on commanding all joints untill all joints reach target (with 1 degree tolerance for each joint)- def _getJointsPosition(self): retu...
by ravi
05 Feb 2018, 02:15
Forum: General questions
Topic: Set a position to zero position for revolute joint
Replies: 4
Views: 1657

Re: Set a position to zero position for revolute joint

If you want to set that position to 0, simply write 0 in that dialog item. Writing 0 in the dialog item is changing the orientation of the joint. I want to set the current position which is 110 degrees as HOME Position. In other words, I don't want to change the orientation of the joint but just wa...
by ravi
01 Feb 2018, 14:12
Forum: General questions
Topic: Set a position to zero position for revolute joint
Replies: 4
Views: 1657

Set a position to zero position for revolute joint

Hi, I am designing a 2 Link Revolute Manipulator (2R) in VREP. I am going do joint control in this manipulator hence joints are set to "Torque/Force Mode". Just above the "Torque/Force Mode" setting, there is a configuration to set the position of the joint which is +1.100e+02 degree as shown in the...
by ravi
01 Feb 2018, 14:02
Forum: General questions
Topic: Joint Control of Hexapod using Remote API in Python
Replies: 6
Views: 2020

Joint Control of Hexapod using Remote API in Python

Hi, I am trying to move a Hexapod by providing all joint angles using Remote API in Python. All the 18 joints are already set to "Torque/Force Mode". "Motor enabled" is checked and Control loop is enabled. Below is the Python Code snippet- def move(self, joint_angles): vrep.simxPauseCommunication(se...