Search found 18 matches

by mhr_azizi
18 Oct 2023, 08:43
Forum: General questions
Topic: Problem in Modelling and Simulation of a Rolling Robot
Replies: 1
Views: 900

Problem in Modelling and Simulation of a Rolling Robot

Hello, I have modeled a spherical mobile robot in V-REP which composed of a spherical shell and two internal rotors. I have used a primitive sphere as the spherical shell and design the rotors using two primitive cylinders. I have set the sphere to be respondable and dynamic and the rotors and other...
by mhr_azizi
14 Oct 2023, 06:13
Forum: General questions
Topic: Import a custom python library
Replies: 6
Views: 2054

Re: Import a custom python library

It works properly.
Many thanks Ferri.
by mhr_azizi
13 Oct 2023, 12:48
Forum: General questions
Topic: Import a custom python library
Replies: 6
Views: 2054

Re: Import a custom python library

import torch import torch.nn as nn import numpy as np import torch.nn.functional as F import torch.optim as optim import random import torch.utils.data as data from collections import deque as dq import copy import os import Inteligent_Controller class Environment(): def __init__(self, Xc_min, Yc_m...
by mhr_azizi
10 Oct 2023, 06:13
Forum: General questions
Topic: Import a custom python library
Replies: 6
Views: 2054

Re: Import a custom python library

Thank you so much for your response. The module I have developed is named Inteligent_Controller, and when I import it in the child script, the error message " No module named 'Inteligent_Controller' " is shown.
regards,
by mhr_azizi
08 Oct 2023, 08:32
Forum: General questions
Topic: Import a custom python library
Replies: 6
Views: 2054

Import a custom python library

Hello, I have developed a Python library consists of some functions and classes and want to import it in a Python Child Script in V-REP. Could you please help me how can I import it? I have copied the .py associated file in the current directory of my V-REP file, but the module could not be imported...
by mhr_azizi
17 Aug 2023, 10:55
Forum: General questions
Topic: Error in Importing PyTorch and NumPy libraries
Replies: 6
Views: 1501

Re: Error in Importing PyTorch and NumPy libraries

Hello,
Thank you for your reply.
I use CoppeliaSim Edu Version 4.5.1 (rev. 4) 64bit on MS Windows 10. I also made the changes you suggested in lua/pythonWrapper.lua, but the problem still remains unsolved.
regards.
by mhr_azizi
16 Aug 2023, 08:41
Forum: General questions
Topic: Error in Importing PyTorch and NumPy libraries
Replies: 6
Views: 1501

Error in Importing PyTorch and NumPy libraries

Hello, I want to use PyTorch and Numpy libraries in the Python child script. However, the execution is aborted, and the following error message is shown: " The Python interpreter could not handle the wrapper script (or communication between the launched subprocess and CoppeliaSim could not be e...
by mhr_azizi
15 Aug 2023, 08:15
Forum: General questions
Topic: make a planar joint
Replies: 3
Views: 866

Re: make a planar joint

Hello Admin,
Thank you for your response, but could you please explain what is auxShape and how can I add it to the scene.
Best
by mhr_azizi
15 Aug 2023, 07:26
Forum: General questions
Topic: make a planar joint
Replies: 3
Views: 866

make a planar joint

Hi, I want to add a planar joint (2-dof sliding joint) to a cuboid to slide on the floor in x and y direction and control its motion based on the joint's force Fx and Fy. However, V-REP provides only prismatic joints that has only one degree of freedom. So, I have added two prismatic joints in x and...
by mhr_azizi
25 Jul 2023, 05:56
Forum: General questions
Topic: Draw an arbitrary curve
Replies: 1
Views: 512

Draw an arbitrary curve

Hi,
How can I draw an arbitrary 2D curve (not a path) on the floor by defining its data points (defining points (x, y))?