Search found 8531 matches

by coppelia
28 Apr 2021, 13:58
Forum: General questions
Topic: insert new script
Replies: 2
Views: 1069

Re: insert new script

Hello,

how are you trying to insert a new script? Try to select the object, then [Menu bar --> Add --> Associated child script --> ...]

Cheers
by coppelia
28 Apr 2021, 13:57
Forum: General questions
Topic: Create goal state for OMPL
Replies: 3
Views: 1215

Re: Create goal state for OMPL

Hello, you can follow the instructions about how to do path planning with OMPL . Make sure to also study the various examples in folder scenes/pathPlanning/ . You cannot directly call path planning functions outside of CoppeliaSim (well, you can, but then it is another story), but you should instead...
by coppelia
28 Apr 2021, 13:40
Forum: General questions
Topic: unstable fingers
Replies: 1
Views: 972

Re: unstable fingers

Hello, and sorry for the late reply... an URDF model can be very loosely specified, and there is generally no information about values related to a specific physics engine. But in general if your objects are dancing around, try to adjust somewhat the values of masses and inertias according to design...
by coppelia
28 Apr 2021, 13:35
Forum: General questions
Topic: How to create a dummy in a particular coordinate while simulation
Replies: 1
Views: 972

Re: How to create a dummy in a particular coordinate while simulation

Hello, why don't you create the dummy ( simxCreateDummy ) and modify its position immediately after ( simxSetObjectPosition )? You can also create a script function that create the dummy ( sim.createDummy ) and places it accordingly ( sim.setObjectPosition ) at once. And you can then call that funct...
by coppelia
28 Apr 2021, 13:22
Forum: General questions
Topic: Matlab receives empty values from Coppelia using simxGetStringSignal
Replies: 3
Views: 1073

Re: Matlab receives empty values from Coppelia using simxGetStringSignal

That is very very slow and not normal. It is important that you try to identify where the slow-down comes from. It is certainly not coming from the communication with CoppeliaSim, so there must be something else. Maybe you are doing some lengthly calculations and can't get past 1 simulation step eac...
by coppelia
28 Apr 2021, 13:19
Forum: General questions
Topic: Euler Angles jumping from 0 to 180/-180
Replies: 1
Views: 869

Re: Euler Angles jumping from 0 to 180/-180

Hello and sorry for the late reply,

this is perfectly normal with Euler angles: CoppeliaSim uses Rx*Ry*Rz rotations. In that case alpha and gamma will jump at the +-180 degree extremities, and beta will jump at the +-90 degree extremities. Those values are cyclic.

Cheers
by coppelia
28 Apr 2021, 12:53
Forum: General questions
Topic: How to get the depth of a particular pixel coordinate from depth buffer
Replies: 1
Views: 924

Re: How to get the depth of a particular pixel coordinate from depth buffer

Hello and sorry for the delay, if you call simxGetVisionSensorDepthBuffer , then you'll get a value between 0 and 1 for each depth value. 0 is the distance of the near clipping plane, 1 is the distance of the far clipping plane: distanceInMeters=nearClippingPlane+zValue*(farClippingPlane-nearClippin...
by coppelia
28 Apr 2021, 12:34
Forum: Bug reports
Topic: Ros2 windows interface
Replies: 2
Views: 1526

Re: Ros2 windows interface

Hello, sorry for the delay... what happens if you use something like? cd c:\dev\ros2_ws call install\local_setup.bat call install\setup.bat colcon build --merge-install --cmake-args "-DCMAKE_TOOLCHAIN_FILE=%CMAKE_TOOLCHAIN_FILE%" Where CMAKE_TOOLCHAIN_FILE is the location of your vcpkg/scripts/build...
by coppelia
22 Apr 2021, 10:37
Forum: Videos, scenes and models around CoppeliaSim
Topic: Forward and inverse kinematics linking several robots
Replies: 0
Views: 1875

Forward and inverse kinematics linking several robots

This video illustrates how CoppeliaSim can easily handle forward kinematics (FK) and inverse kinematics (IK) and synchronize several tasks at once. Set-up is done entirely via a few lines of code.

by coppelia
22 Apr 2021, 10:33
Forum: Videos, scenes and models around CoppeliaSim
Topic: Inverse kinematics and obstacle avoidance
Replies: 0
Views: 1463

Inverse kinematics and obstacle avoidance

This video illustrates how obstacle avoidance while performing inverse kinematics can be achieved in CoppeliaSim: each kinemaitc link can compute a distance to obstacles, and use that distance vector to enable/disable additional positional constraints for the kinematic chain.