Keep in mind that the c++ and in that case the Python API is not thread-safe: you should only access API functions from within the c++ simulation thread, or from your Python simulation thread (if you work with the CoppeliaSim Python Client application, coppeliaSim.py)
Cheers
Search found 5729 matches
- 07 Feb 2024, 08:57
- Forum: General questions
- Topic: Running several scenes in parallel, is possible?
- Replies: 10
- Views: 31754
- 07 Feb 2024, 08:51
- Forum: General questions
- Topic: "sim.setJointTargetVelocity" execution is not in place
- Replies: 1
- Views: 576
Re: "sim.setJointTargetVelocity" execution is not in place
Hello, sorry for the late reply. What physics engine are you using? The behaviour of a joint is tightly linked to the used physics engine. Most engines do have some kind of limitations, in terms of realistic behaviour. Best is to probably use the MuJoCo engine. Also you mention a joint in free mode ...
- 07 Feb 2024, 08:45
- Forum: Bug reports
- Topic: running in headless crash
- Replies: 1
- Views: 506
Re: running in headless crash
Hello,
please tell us what version you are running, and how exactly you are starting CoppeliaSim, and at what time exactly it crashes. What does following mean? "I have to reset the windows.."
Cheers
please tell us what version you are running, and how exactly you are starting CoppeliaSim, and at what time exactly it crashes. What does following mean? "I have to reset the windows.."
Cheers
- 02 Feb 2024, 13:47
- Forum: General questions
- Topic: Serial and parallel motion of multiple robotic arms
- Replies: 3
- Views: 609
Re: Serial and parallel motion of multiple robotic arms
Hello,
what version of CoppeliaSim are you running? In CoppeliaSim V4.6, simpleMovement is showing how to control the simultaneous motion of 3 robots, via 4 clients. If your movements are sequential, then a single client shoule be enough.
Cheers
what version of CoppeliaSim are you running? In CoppeliaSim V4.6, simpleMovement is showing how to control the simultaneous motion of 3 robots, via 4 clients. If your movements are sequential, then a single client shoule be enough.
Cheers
- 02 Feb 2024, 13:40
- Forum: General questions
- Topic: Question about the physics of joints in simulations
- Replies: 2
- Views: 577
Re: Question about the physics of joints in simulations
Hello, we cannot see the video you posted. Keep in mind that a joint can be in kinematic or dynamic mode . And when in dynamic mode , it can be in one of following control mode : free , force , velocity , position , spring or custom . Most manipulator joints are in dynamic mode, and in position cont...
- 02 Feb 2024, 13:29
- Forum: General questions
- Topic: the black and red cylinders in some joints separate
- Replies: 1
- Views: 543
Re: the black and red cylinders in some joints separate
Hello, what you describe are joints breaking apart: with most physics engines, joints are modelled as constraints. If some constraints cannot be solved properly, joints will come apart. This is not the case with the MuJoCo engine for instance (except where there are loop closures). To remedy for joi...
- 02 Feb 2024, 13:03
- Forum: General questions
- Topic: The method of controlling the gripper action not to be executed together with the mechanical arm action
- Replies: 3
- Views: 992
Re: The method of controlling the gripper action not to be executed together with the mechanical arm action
Sorry, I am not sure I understand. If you are trying to move a dynamically enabled joint in a realistic fashion, you cannot use sim.setJointPosition, since motion would be instantaneous. You should use instead sim.setJointTargetPosition, and the joint will try to reach the desired position when in p...
- 02 Feb 2024, 12:51
- Forum: General questions
- Topic: Objects repel each other
- Replies: 3
- Views: 734
Re: Objects repel each other
Hello, what kind of shapes are you using to model your two parts? If you use non-convex shapes, this will never be good. You should design your two parts as a compound of primitive shapes (best), or as a compound of convex shapes (not bad either). The problem when using random non-convex meshes is t...
- 02 Feb 2024, 12:45
- Forum: General questions
- Topic: Error in child script
- Replies: 6
- Views: 812
Re: Error in child script
When using Python, I highly recommend using CoppeliaSim V4.6 and later. And for easier pick-and-place motions, you might want to wait for release 4.7 (within 1-2 months), which will feature actions.
Cheers
Cheers
- 02 Feb 2024, 12:43
- Forum: General questions
- Topic: torque control with pid
- Replies: 4
- Views: 716
Re: torque control with pid
Those values have now moved to the engine properties (via the engine properties button): each engine has its own set of PID values.
Cheers
Cheers