Search found 1011 matches

by fferri
14 Mar 2023, 08:44
Forum: Bug reports
Topic: libsimExtROS2 cannot open error
Replies: 3
Views: 1413

Re: libsimExtROS2 cannot open error

"noetic" is ROS 1, not ROS 2
by fferri
13 Mar 2023, 07:19
Forum: General questions
Topic: confused by some similar commands
Replies: 1
Views: 240

Re: confused by some similar commands

The joint position/velocity refers to the instantaneous (current) value.

The target position/velocity it is the target value used by a controller or motion profile (see Joint modes) that will be eventually reached.
by fferri
10 Mar 2023, 06:42
Forum: General questions
Topic: We want to change the attitude of the point cloud, to move and rotate the point cloud.
Replies: 4
Views: 391

Re: We want to change the attitude of the point cloud, to move and rotate the point cloud.

Yes, you can use any of these API functions to move/rotate objects: sim.getObjectMatrix sim.setObjectMatrix sim.getObjectPose sim.setObjectPose sim.getObjectPosition sim.setObjectPosition sim.getObjectOrientation sim.setObjectOrientation sim.getObjectQuaternion sim.setObjectQuaternion See also posit...
by fferri
06 Mar 2023, 10:25
Forum: General questions
Topic: Use the python language's zmq remote api to connect coppeliasim
Replies: 1
Views: 375

Re: Use the python language's zmq remote api to connect coppeliasim

The Python zmqRemoteApi client uses dynamic dispatching, thus you cannot have information about functions in your IDE.
by fferri
06 Mar 2023, 10:19
Forum: General questions
Topic: Motion Planning Problem of UR5
Replies: 1
Views: 299

Re: Motion Planning Problem of UR5

If you look in the statusbar at the bottom of the screen, you'll notice that you have a script error: [/Pioneer_arm_carrier/UR5@childScript:error] [string "/Pioneer_arm_carrier/UR5@childScript"]:302: attempt to get length of a nil value (local 'c') stack traceback: [string "/Pioneer_a...
by fferri
06 Mar 2023, 10:09
Forum: General questions
Topic: Problem about efficientconveyor's vel
Replies: 1
Views: 235

Re: Problem about efficientconveyor's vel

There was an error in CoppeliaSim 4.4.0's lua/efficientConveyor_customization-2.lua.
Here you can find the updated file (save it to CoppeliaSimEdu/lua/efficientconveyor_customization-2.lua).
by fferri
03 Mar 2023, 14:18
Forum: General questions
Topic: The model keeps vibrating after importing the urdf model file into Coppeliasim v4.0.0
Replies: 5
Views: 538

Re: The model keeps vibrating after importing the urdf model file into Coppeliasim v4.0.0

Those issues are an indication of a poorly designed dynamic simulation.
Have a look at the design considerations in Designing dynamic simulations (especially 6, 7 and 8).
by fferri
03 Mar 2023, 10:30
Forum: General questions
Topic: How to fill a color in a closed curve which is created by simUI.addCurve?
Replies: 1
Views: 1458

Re: How to fill a color in a closed curve which is created by simUI.addCurve?

The CustomUI's plot widget only supports line plots. A more flexible option would be to use the QML plugin , e.g. you can display a view with a QtQuick Canvas in it, and provide your own drawing implementation, where you would pass the data to draw via an event ( simQML.sendEvent(engine,eventName,ev...
by fferri
02 Mar 2023, 12:45
Forum: General questions
Topic: Is this correct way to access robot's joints?
Replies: 5
Views: 1269

Re: Is this correct way to access robot's joints?

sim.getObject("./joint{0}"); will only work in the (to be released) CoppeliaSim version 4.5.0 or later.
by fferri
02 Mar 2023, 11:10
Forum: General questions
Topic: Is this correct way to access robot's joints?
Replies: 5
Views: 1269

Re: Is this correct way to access robot's joints?

You either use sim.getObject("./joint{0}"); (the same syntax works in Lua) or use the second argument, which is a lua table argument, and like I explained in the other post you would use a json object for that, e.g.: sim.getObject("./joint", json(json_object_arg, {{"index&qu...