Search found 23 matches

by amirmmi
09 May 2022, 13:43
Forum: General questions
Topic: Best way to read torques from joints
Replies: 3
Views: 668

Re: Best way to read torques from joints

Thanks for your reply,
I want to store torque values as the robot's actions at each time step so I can use this data for imitation learning.
by amirmmi
08 May 2022, 12:04
Forum: General questions
Topic: Best way to read torques from joints
Replies: 3
Views: 668

Best way to read torques from joints

Hello, In my Coppeliasim scene, I have joints that are motor enabled + control loop enabled. I am using position control for these joints using the sim.setJointTargetPosition command, and I want to retrieve the torques that these joints are applying to the links. What is the most precise way of read...
by amirmmi
11 Mar 2022, 13:15
Forum: General questions
Topic: Environment Reset for Reinforcement Learning using ROS
Replies: 3
Views: 710

Re: Environment Reset for Reinforcement Learning using ROS

Thanks for your reply, As you said, I have used the customization script, but the script does not work with my code, I have also tried to run a simple code in the customization script, but it did not work. By not working, I mean that after running the simulation, the joint that should move did not m...
by amirmmi
08 Mar 2022, 21:32
Forum: General questions
Topic: Environment Reset for Reinforcement Learning using ROS
Replies: 3
Views: 710

Environment Reset for Reinforcement Learning using ROS

Hello, I am using ROS for applying RL in Coppeliasim. I have scripts in python that communicate with scripts in coppeliasim scene via ROS. To apply RL, I have to make an RL environment in which I should implement the reset method. This method should restart the simulation to its initial state and st...
by amirmmi
25 Feb 2022, 17:18
Forum: General questions
Topic: Joint Rotational Acceleration
Replies: 1
Views: 326

Joint Rotational Acceleration

Hello,
How can I get the rotational acceleration of a revolute joint?
I searched for it, but I did not find anything for this.
by amirmmi
25 Feb 2022, 12:41
Forum: Feature requests
Topic: Torque Control
Replies: 3
Views: 9103

Re: Torque Control

When will V4.3.0.rev4 be released?
by amirmmi
23 Feb 2022, 19:59
Forum: General questions
Topic: Torque Control
Replies: 8
Views: 1037

Re: Torque Control

I am going to share the solution that worked for me. It may prevent someone from getting a headache =) The main problem was the time step of the simulation, which I set to 0.005 seconds (same as the Physics Engines time steps). The most realistic result I got from all the physics engines was from OD...
by amirmmi
23 Feb 2022, 18:21
Forum: Feature requests
Topic: Torque Control
Replies: 3
Views: 9103

Torque Control

Hello,
It would be good to add a function that applies the desired amount of torque directly to a joint, even negative or positive torque.
by amirmmi
16 Feb 2022, 15:08
Forum: General questions
Topic: getting IMU angular velocity
Replies: 5
Views: 961

Re: getting IMU angular velocity

Thanks for your reply again. I opened a new topic because the topic you mentioned was about finding derivatives of Euler angles, where here I am asking about finding angular velocity that IMU returns. I thought it would be better to discuss this issue in a new topic. I understand your point that by ...
by amirmmi
15 Feb 2022, 22:46
Forum: General questions
Topic: getting IMU angular velocity
Replies: 5
Views: 961

Re: getting IMU angular velocity

Thanks for your reply. I used the function you mentioned. Here is my script: function sysCall_init() dummy = sim.getObject("/dummy_path") function sysCall_sensing() linearVelocity, angularVelocity_axis=sim.getObjectVelocity(dummy | sim.handleflag_axis) linearVelocity, angularVelocity=sim.g...