Search found 13 matches

by baojw
12 Aug 2024, 14:52
Forum: General questions
Topic: "Inconsistent Execution Error in CoppeliaSim Reinforcement Learning Environment Due to getJointForce Function
Replies: 2
Views: 461

"Inconsistent Execution Error in CoppeliaSim Reinforcement Learning Environment Due to getJointForce Function

Hello, I am working on reinforcement learning using CoppeliaSim and MATLAB. Environment.m is a class for the reinforcement learning environment. When I call FARM_T=sim.getJointForce(jointHandle(12)); within the class, I encounter the following error: Error using rl.train.SeriesTrainer/run There was ...
by baojw
07 Jul 2024, 13:16
Forum: General questions
Topic: URDF
Replies: 1
Views: 631

URDF

Hello, I encountered an issue while importing a URDF file. My humanoid robot's ankle joint has two degrees of freedom, with two perpendicular intersecting rotation axes. When I import this model into V-REP 4.5, the joint model jitters, and the end effector has an offset, as if the two axes are repel...
by baojw
15 Jan 2024, 03:05
Forum: General questions
Topic: Error using subscript Subscript arguments for SUBSREF and SUBSASGN cannot be empty.
Replies: 3
Views: 31924

Re: Error using subscript Subscript arguments for SUBSREF and SUBSASGN cannot be empty.

Hello, thank you for your reply. I also have a question on how to modify the default simulation speed control and visualization on/off for VRP, as I have found that increasing the simulation speed and visualization off would result in better graphics card usage.
by baojw
18 Dec 2023, 06:38
Forum: General questions
Topic: Error using subscript Subscript arguments for SUBSREF and SUBSASGN cannot be empty.
Replies: 3
Views: 31924

Error using subscript Subscript arguments for SUBSREF and SUBSASGN cannot be empty.

Hello, I am using V-REP and MATLAB for reinforcement learning. The training process runs smoothly, but when I try to run the trained agent with the following code: %% Play the game with the trained agent simOptions = rlSimulationOptions('MaxSteps',3000); experience = sim(env,agent,simOptions); I enc...
by baojw
20 Oct 2023, 10:33
Forum: General questions
Topic: How to change the motor mode in MATLAB
Replies: 10
Views: 17601

Re: How to change the motor mode in MATLAB

Resolved, thank you
by baojw
20 Oct 2023, 10:32
Forum: General questions
Topic: How to change the motor mode in MATLAB
Replies: 10
Views: 17601

Re: How to change the motor mode in MATLAB

已解决了,感谢
by baojw
20 Oct 2023, 08:33
Forum: General questions
Topic: How to change the motor mode in MATLAB
Replies: 10
Views: 17601

Re: How to change the motor mode in MATLAB

Hello, I have been working on a project using V-rep for the past few months. I will package each progress into a compressed file as a backup point. Previously, if I wanted to review previous projects, I only needed to open the corresponding compressed file at that time. However, today I suddenly enc...
by baojw
07 Oct 2023, 02:08
Forum: General questions
Topic: How to change the motor mode in MATLAB
Replies: 10
Views: 17601

Re: How to change the motor mode in MATLAB

Hello, I have found the bug and can now run normally. Thank you! I would also like to ask you, I am currently using V-rep+MATLAB to simulate MPC control, and the simulation speed is very slow. My computer is 12400+3060. Is there any way to make the simulation run faster?
by baojw
28 Sep 2023, 07:37
Forum: General questions
Topic: How to change the motor mode in MATLAB
Replies: 10
Views: 17601

Re: How to change the motor mode in MATLAB

I tried your code, and indeed the joint motor state can switch to position mode or torque mode over time. However, a new problem has arisen. When switching to position mode and sending the desired position to the joint motor, I found that the ‘Max.torque’ in the joint state is very small and insuffi...