Can you provide a minimalistic Python client code that would trigger that error? (maybe with a related minimalistic scene)
Cheers
Search found 5725 matches
- 26 Mar 2024, 17:27
- Forum: Bug reports
- Topic: ZMQ remote API failing after the same amount of runs of a simulation
- Replies: 7
- Views: 161
- 26 Mar 2024, 17:24
- Forum: General questions
- Topic: How to use simOMPL in python remote API?
- Replies: 1
- Views: 70
Re: How to use simOMPL in python remote API?
Hello, best would be to not use any of the simOMPL API functions in an external client: wrap all OMPL functionality inside of child script functions, that you can call from your external client via the ZeroMQ remote API via sim.callScriptFunction. Something like: function findPath(inputArg1, inputAr...
- 26 Mar 2024, 17:20
- Forum: General questions
- Topic: Are global variables needed in ZeroMQ remote API Matlab?
- Replies: 1
- Views: 66
Re: Are global variables needed in ZeroMQ remote API Matlab?
Hello, make sure that sim is accessible from your code location. Making sim global is one possibility. But the error message ...one of the function's argument type is not correct. is directly caused by CoppeliaSim, not MATLAB. That means that your function call to sim.setJointTargetVelocity was succ...
- 26 Mar 2024, 17:16
- Forum: General questions
- Topic: Connect by Python
- Replies: 1
- Views: 64
- 26 Mar 2024, 17:15
- Forum: General questions
- Topic: Kinect RGB through Python Remote connection
- Replies: 1
- Views: 70
Re: Kinect RGB through Python Remote connection
Hello,
please use the ZeroMQ remote API, which is much faster, flexible and easy to use. The legacy remote API is deprecated.
Cheers
please use the ZeroMQ remote API, which is much faster, flexible and easy to use. The legacy remote API is deprecated.
Cheers
- 26 Mar 2024, 17:12
- Forum: General questions
- Topic: Legacy api to zmq api
- Replies: 1
- Views: 61
Re: Legacy api to zmq api
Hello,
simply this:
Cheers
simply this:
Code: Select all
for i = 1:obj.number_of_joints
%Read from joints
armJoints(i) = sim.getJointPosition(obj.jointHandle{i})
end
- 26 Mar 2024, 16:18
- Forum: General questions
- Topic: Stable baselines in child script
- Replies: 1
- Views: 88
Re: Stable baselines in child script
Hello,
I didn't understand what the exact problem was, when you say that it doesn't seem to work, nor does it give any output... does that mean the CoppeliaSim hangs? Or that the script stops running eventually? Until what point is the script executed?
Cheers
I didn't understand what the exact problem was, when you say that it doesn't seem to work, nor does it give any output... does that mean the CoppeliaSim hangs? Or that the script stops running eventually? Until what point is the script executed?
Cheers
- 26 Mar 2024, 16:14
- Forum: General questions
- Topic: getting depth value using vision sensor
- Replies: 3
- Views: 102
Re: getting depth value using vision sensor
Please share the scene file.
Cheers
Cheers
- 26 Mar 2024, 16:13
- Forum: General questions
- Topic: Torque control of joints using Remote Api Python
- Replies: 5
- Views: 144
Re: Torque control of joints using Remote Api Python
The model you shared is relatively stable here... with MuJoCo it is even very stable. Please share the equivalent scene file, since there are settings that are not stored in the model and that influence its behaviour.
Cheers
Cheers
- 26 Mar 2024, 16:09
- Forum: General questions
- Topic: some bugs about making Spherical joint
- Replies: 2
- Views: 102
Re: some bugs about making Spherical joint
Hello, in your MuJoCo model, not all joints are controlled in positions. Additionally, make sure to set all joint's dynamic engine property armature to 20: this is the secret sauce most of the time. When working with Bullet or ODE, you indeed should make sure that masses and inertia are not too diff...