Search found 5699 matches

by coppelia
12 Mar 2024, 16:22
Forum: General questions
Topic: Automatic Lawn Mower
Replies: 1
Views: 100

Re: Automatic Lawn Mower

Hello,

maybe have a look at the demo scene scenes/mobileRobotVisualTraces-lua.ttt

Cheers
by coppelia
12 Mar 2024, 16:21
Forum: General questions
Topic: Designing an Omnidirectional Mobile Robot: Confusion Arising from KUKA Omnirob Model
Replies: 8
Views: 184

Re: Designing an Omnidirectional Mobile Robot: Confusion Arising from KUKA Omnirob Model

The reason is following: A real-world mobile robot (or a real-world chassis, beam, etc.) always has some compliance. Additionally, a real-world vehicle often has some suspension or tires. With a physics engine, the compliance does not exist, or is very very small and due to numerical imprecisions, e...
by coppelia
12 Mar 2024, 16:14
Forum: General questions
Topic: finding center of mass and parameter's assigning
Replies: 2
Views: 83

Re: finding center of mass and parameter's assigning

You can find all physics engine related properties for shapes when you click engine properties in this dialog.

Cheers
by coppelia
06 Mar 2024, 08:25
Forum: General questions
Topic: simulation of a generic lidar sensor
Replies: 8
Views: 1774

Re: simulation of a generic lidar sensor

The velodyne model basically operates in a very similar manner as a simpler laser range finder: the range finder uses a vision sensor instead of a proximity sensor to do distance detections, mainly because of speed concerns. With a vision sensor you can acquire a depth map at once. Using the depth m...
by coppelia
05 Mar 2024, 17:16
Forum: Bug reports
Topic: sim.saveImage causes the script to freeze/crash
Replies: 4
Views: 104

Re: sim.saveImage causes the script to freeze/crash

I tried on Windows here too, using CoppeliaSim V4.6 rev. 18.
Is the error message still the same? Can you make sure that the patched sim.saveImage is actually ran, e.g. by adding a print in there?

Cheers
by coppelia
05 Mar 2024, 14:23
Forum: General questions
Topic: How to add Object Detection
Replies: 2
Views: 88

Re: How to add Object Detection

Hello,

have a look at the demo scene scenes/vision/objectTracking.ttt, it should illustrate everything you want to do.

Cheers
by coppelia
05 Mar 2024, 14:09
Forum: Bug reports
Topic: sim.saveImage causes the script to freeze/crash
Replies: 4
Views: 104

Re: sim.saveImage causes the script to freeze/crash

Hello Fabio, indeed, this is a bug! Do following for a workaround: edit file <installFolder>/addOns/ZMQ remote API server.lua by appending following: sim.saveImage = wrap(sim.saveImage, function(origFunc) return function(img, res, opt, nm, q) local ret = origFunc(img, res, opt, nm, q) if type(ret) ~...
by coppelia
04 Mar 2024, 17:02
Forum: General questions
Topic: How to use sim.handleflag_resetforce ?
Replies: 2
Views: 82

Re: How to use sim.handleflag_resetforce ?

Keep in mind that forces/torques are cumulative, but at the start of a new simulation step, those will be reset automatically.

Cheers
by coppelia
14 Feb 2024, 12:41
Forum: General questions
Topic: how to find the center of mass of a assembly
Replies: 9
Views: 548

Re: how to find the center of mass of a assembly

Have also a look at the model models/tools/center of mass visualization tool.ttm

Cheers
by coppelia
07 Feb 2024, 09:06
Forum: General questions
Topic: Serial and parallel motion of multiple robotic arms
Replies: 3
Views: 571

Re: Serial and parallel motion of multiple robotic arms

Not sure I understand: in the mentioned example, there are 3-4 remote API clients, each running in their own thread. Each thread can run e.g. a motion of a robot, while the other threads do the same at the same time. If you want to run two motions one after another, then do that in the same thread, ...