Search found 1009 matches
- 08 Apr 2024, 08:16
- Forum: General questions
- Topic: DH parameters
- Replies: 2
- Views: 77
Re: DH parameters
The concept of robot configuration aims to conveniently represent a robot as a vector of joint positions. If the robot geometry is the same (same DH params, same joints ranges & orientation), the same robot configuration vector will describe the same pose both in CoppeliaSim and in Robotics Tool...
- 08 Apr 2024, 08:11
- Forum: General questions
- Topic: How to input the data of RGB image gotten by Coppeliasim into Matlab
- Replies: 1
- Views: 76
Re: How to input the data of RGB image gotten by Coppeliasim into Matlab
From zmqRemoteApi/clients/matlab/synchronousImageTransmission.m:
Code: Select all
[img, resX, resY] = sim.getVisionSensorCharImage(visionSensorHandle); % display image in MATLAB: imshow(flip(permute(reshape(img, 3, resY, resX), [3 2 1]), 1));
- 08 Apr 2024, 08:05
- Forum: General questions
- Topic: How to create custom ui
- Replies: 4
- Views: 121
Re: How to create custom ui
That's not correct.
You have to add
You have to add
simUI = require 'simUI'
instead. Plugins have to be loaded explicitly (implicit loading is only a backwards compatibility feature).- 08 Apr 2024, 08:01
- Forum: General questions
- Topic: How can I input sequence of Pose into Coppelisasim just to display animation?
- Replies: 3
- Views: 72
Re: How can I input sequence of Pose into Coppelisasim just to display animation?
Yes, you can use e.g. a text or csv file...
Code: Select all
poses = {}
for line in io.lines('poses.csv') do
local pose = map(tonumber, string.split(line, ','))
table.insert(poses, pose)
end
- 05 Apr 2024, 10:30
- Forum: General questions
- Topic: How can I input sequence of Pose into Coppelisasim just to display animation?
- Replies: 3
- Views: 72
Re: How can I input sequence of Pose into Coppelisasim just to display animation?
Make sure the object to animate is static, then apply the poses sequentially with sim.setObjectPose, e.g.: function sysCall_init() handle = sim.getObject '.' poses = { {0, 0, 0, 0, 0, 0, 1}, {0, 0, 0, 0, 0, 0, 1}, ... } end function sysCall_actuation() index = (index or 0) + 1 if index <= #poses the...
- 05 Apr 2024, 10:23
- Forum: General questions
- Topic: Java ZMQ Remote API
- Replies: 14
- Views: 249
Re: Java ZMQ Remote API
If a
There are a couple of examples in zmqRemoteApi/clients/java/src/main/java.
list
is used in Python, in Java that would be List<T>
, with T
being the type of the elements of the list.There are a couple of examples in zmqRemoteApi/clients/java/src/main/java.
- 03 Apr 2024, 10:21
- Forum: General questions
- Topic: Java ZMQ Remote API
- Replies: 14
- Views: 249
- 03 Apr 2024, 10:01
- Forum: General questions
- Topic: How to detect if a dummy is inside a cube?
- Replies: 1
- Views: 86
Re: How to detect if a dummy is inside a cube?
Not sure if that's the intended behavior, as dummies have a "Collidable" flag, but that doesn't seem to affect sim.checkCollision which always returns 0. You have two options, depending on how you want to treat a dummy. If you want to treat the dummy as a point in space, you can simply che...
- 02 Apr 2024, 08:41
- Forum: General questions
- Topic: An error when using simIK.findConfig
- Replies: 2
- Views: 79
Re: An error when using simIK.findConfig
I encountered the following error: “in sim.genericFunctionHandler: Found invalid joint handle.” The IK plugin creates a copy of the simulated environment, so you will have the "sim" world, and the "IK" world which uses a different set of handles. Most of the simIK functions use ...
- 20 Mar 2024, 23:52
- Forum: General questions
- Topic: Coppelia OMPL plugin help
- Replies: 1
- Views: 72
Re: Coppelia OMPL plugin help
Yes it is possible.
Start and goal states are specified with simOMPL.setStartState and simOMPL.setGoalStates or related functions.
OMPL plugin is shipped with CoppeliaSim, file is called libsimOMPL.so/libsimOMPL.dylib/simOMPL.dll
Start and goal states are specified with simOMPL.setStartState and simOMPL.setGoalStates or related functions.
OMPL plugin is shipped with CoppeliaSim, file is called libsimOMPL.so/libsimOMPL.dylib/simOMPL.dll