Search found 22 matches

by mhr_azizi
14 Feb 2026, 22:10
Forum: General questions
Topic: Applying Torque and Force
Replies: 0
Views: 4411

Applying Torque and Force

Hello,
I am trying to simulate the motion of a sphere on a flat surface under an applied torque T = [Tx, Ty, Tz] expressed in the body coordinate frame, and a viscous damping force F = [Fx, Fy, Fz] expressed in the inertial reference frame.
I created a sphere model in CoppeliaSim 4.9.0 (rev. 6) and ...
by mhr_azizi
03 Jul 2025, 22:39
Forum: General questions
Topic: Define a Perfect Rolling Contact
Replies: 3
Views: 69938

Re: Define a Perfect Rolling Contact

Thank you for your response.
I have used the MuJoCo engine for this problem with its default settings. As you mentioned, achieving a perfect dynamic simulation is not possible. However, I would like to model the rolling constraint between the spherical robot and the ground as closely as possible to ...
by mhr_azizi
01 Jul 2025, 18:27
Forum: General questions
Topic: Define a Perfect Rolling Contact
Replies: 3
Views: 69938

Define a Perfect Rolling Contact

Hello,

I’ve created a model of a spherical mobile robot rolling on the floor, actuated by two internal rotors. The motion is based on the conservation of angular momentum, and I apply motor torques to simulate the robot’s movement.

However, during faster or more complex motions, the spherical ...
by mhr_azizi
10 Jun 2024, 07:21
Forum: General questions
Topic: Getting Rotation Angle in Planar Motion
Replies: 1
Views: 1968

Getting Rotation Angle in Planar Motion

Hello,
I have an object that moves in x-z plane and rotate about its Y axis. I want to obtain its rotation angle around the Y axis. So, I use sim.getObjectOrientation() function and use the second element of its output as the rotation angle of the object. However, this value is between -90 to 90 ...
by mhr_azizi
18 Oct 2023, 08:43
Forum: General questions
Topic: Problem in Modelling and Simulation of a Rolling Robot
Replies: 1
Views: 2369

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 ...
by mhr_azizi
14 Oct 2023, 06:13
Forum: General questions
Topic: Import a custom python library
Replies: 15
Views: 35755

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: 15
Views: 35755

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 ...
by mhr_azizi
10 Oct 2023, 06:13
Forum: General questions
Topic: Import a custom python library
Replies: 15
Views: 35755

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: 15
Views: 35755

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: 7717

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.