Search found 8531 matches

by coppelia
29 Apr 2021, 09:32
Forum: General questions
Topic: connect v rep to kinect for moving robot
Replies: 4
Views: 1263

Re: connect v rep to kinect for moving robot

Hello, there are probably many ways of doing this (e.g. via ROS or other middleware), but we did that in the past via simple socket connection with CoppeliaSim, where a server application would handle communication with the kinect and CoppeliaSim. The project is really old and outdated. Additionally...
by coppelia
29 Apr 2021, 09:25
Forum: General questions
Topic: Create goal state for OMPL
Replies: 3
Views: 1196

Re: Create goal state for OMPL

Yes, make sure to always use the latest version of CoppeliaSim (currently V4.2.0)

Cheers
by coppelia
29 Apr 2021, 09:24
Forum: General questions
Topic: Control robot with torque
Replies: 5
Views: 1398

Re: Control robot with torque

Hello,

if you want to apply a specific force/torque to a joint, then enable the motor and make sure that the control loop is disabled. Then specify a very high target velocity (which will never be reached), and regulate the force/torque with sim.setJointMaxForce.

Cheers
by coppelia
29 Apr 2021, 09:20
Forum: General questions
Topic: end-effector position calculated by matlab
Replies: 1
Views: 1120

Re: end-effector position calculated by matlab

Hello, make sure that links have the same dimensions, or that you are using similar frames. e.g. in CoppeliaSim, if you place the robot at (0,0,0), you'll see that the base of the robot will enter the floor. To avoid this, you could add a dummy at the base of the robot, then place the robot by placi...
by coppelia
28 Apr 2021, 16:12
Forum: General questions
Topic: Vrep collada file to moveit
Replies: 6
Views: 1268

Re: Vrep collada file to moveit

Hello, Collada format can contain many many things, and CoppeliaSim exports to collada via the Assimp plugin , which only exports mesh data (no hierarchy, etc.). So not sure what kind of data moveit expects, but my guess is that it would be easiest to write a quick exporter as a CoppeliaSim add-on b...
by coppelia
28 Apr 2021, 14:38
Forum: General questions
Topic: Simulate multiple times the same scenario using CoppeliaSim and MATLAB
Replies: 9
Views: 1663

Re: Simulate multiple times the same scenario using CoppeliaSim and MATLAB

Hello, it really depends how you do it, since you have many different possibilities, you do not tell us anything on how you proceed. If you are using the legacy remote API , then you could call 30 times a script function via simxCallScriptFunction , which could trigger 30 different throws. Of course...
by coppelia
28 Apr 2021, 14:33
Forum: General questions
Topic: How to get float table values from Lua script to Python
Replies: 2
Views: 1101

Re: How to get float table values from Lua script to Python

Hello,

instead of

Code: Select all

return {},{coord},{},''
try:

Code: Select all

return {},coord,{},''
(coord is already a table)

Cheers
by coppelia
28 Apr 2021, 14:29
Forum: General questions
Topic: need help with sim.generateikpath
Replies: 3
Views: 1661

Re: need help with sim.generateikpath

Hello, the function doesn't return that, since it is never called. You are printing velCorrectionFactor . We recommend to move to CoppeliaSim V4.2.0+, then you will be able to handle all kinematic tasks programmatically and you'll be much more flexible. Also, all IK functions will then be grouped un...
by coppelia
28 Apr 2021, 14:13
Forum: General questions
Topic: Path planning for Pioneer P3DX
Replies: 2
Views: 1084

Re: Path planning for Pioneer P3DX

Hello, there is a clear distinction between doing path planning for finding a collision -free path for your robot, and driving your robot along that path, i.e. planning and execution. The simplest is to do the path planning via the OMPL module , using a cylinder or sphere to represent your robot's p...
by coppelia
28 Apr 2021, 14:04
Forum: General questions
Topic: Issue on attaching two shapes using force sensors
Replies: 2
Views: 983

Re: Issue on attaching two shapes using force sensors

Hello, sorry for the delay, when using dynamics, make sure that you don't have any interaction with invisible objects. For that always use the toolbar button Visualize and verify dynamic content (during simulation). The way your construction reacts probably depends a lot on the used physics engine. ...