Search found 28 matches

by MaJiamu
26 Oct 2024, 02:46
Forum: General questions
Topic: How to reduce the time of ‘Simulation scripts called’.
Replies: 3
Views: 5540

Re: How to reduce the time of ‘Simulation scripts called’.

Hello, you need to find the bottleneck in your scene. Are you running Lua or Python scripts? Are you running threaded or non-threaded scripts? Are you heavily using vision or physics? What CoppeliaSim version are you running? Which model are you talking about? Cheers Thanks for your reply. It seems...
by MaJiamu
25 Oct 2024, 11:50
Forum: General questions
Topic: How to reduce the time of ‘Simulation scripts called’.
Replies: 3
Views: 5540

How to reduce the time of ‘Simulation scripts called’.

Hello, in the main interface of CoppeliaSim, there is a property called “Simulation scripts called”, what should I do to reduce this value during motion simulation? For example 10ms (some default .ttm in Model browser) instead of 60ms (in my simulation).
by MaJiamu
10 Sep 2024, 01:19
Forum: Bug reports
Topic: CoppeliaSim Crashed after the 'empty areas are transparent' was cheaked
Replies: 4
Views: 14653

Re: CoppeliaSim Crashed after the 'empty areas are transparent' was cheaked

I appreciate your correction! Does the correction only work for version 4.7.0? I tested it in version 4.6.0, but when I selected one of the cameras, there was no reaction (normally, it should display a dialog for the screenshot tool). By the way, the Screenshot Tool was activated before I clicked th...
by MaJiamu
08 Sep 2024, 14:36
Forum: Bug reports
Topic: CoppeliaSim Crashed after the 'empty areas are transparent' was cheaked
Replies: 4
Views: 14653

CoppeliaSim Crashed after the 'empty areas are transparent' was cheaked

Hello, I was wondering that whether it is a bug or something wrong with my PC when I used the Screenshot Tool in CoppeliaSim. When I use the Modules-Tools-Screenshot tool, and I check the checkbox named ''empty areas are transparent', and then click the 'render screenshot' button. Suddenly, I didn't...
by MaJiamu
24 Jul 2024, 03:37
Forum: General questions
Topic: how to get camera data by TCP/IP and display the image in CoppeliaSim
Replies: 8
Views: 9033

Re: how to get camera data by TCP/IP and display the image in CoppeliaSim

Finally, it works! Following are the details. 1. Test Python Scripts in CoppeliaSim: First, ensure that any Python-coded scenes work well in CoppeliaSim. You can test this with a sample scene, such as C:\Program Files\CoppeliaRobotics\CoppeliaSimEdu\scenes\vision\imageProcessingDemo1-python.ttt . 2....
by MaJiamu
23 Jul 2024, 08:10
Forum: General questions
Topic: how to get camera data by TCP/IP and display the image in CoppeliaSim
Replies: 8
Views: 9033

Re: how to get camera data by TCP/IP and display the image in CoppeliaSim

Thank you very much for your advice. We are going to try the second method. By the way, is it possible for CoppeliaSim to have both a Lua script and a Python script in one scene? For example, attaching a Lua script to Dummy1 and a Python script to Dummy2, both scripts can run and perform their respe...
by MaJiamu
23 Jul 2024, 03:41
Forum: General questions
Topic: how to get camera data by TCP/IP and display the image in CoppeliaSim
Replies: 8
Views: 9033

Re: how to get camera data by TCP/IP and display the image in CoppeliaSim

You can use sim.setVisionSensorImg to write the raw uncompressed image data (8-bit Grayscale or RGB, i.e. 1 pixel is either 1 or 3 bytes) to a vision sensor. Thanks for your advice. However, how can I get the video image from my robot IP camera? Without the video image, the sim.setVisionSensorImg g...
by MaJiamu
20 Jul 2024, 02:50
Forum: General questions
Topic: how to get camera data by TCP/IP and display the image in CoppeliaSim
Replies: 8
Views: 9033

Re: how to get camera data by TCP/IP and display the image in CoppeliaSim

Is it an IP camera? What protocol does it use? Are you able to acquire video frames (e.g.: from a C/C++/Python client) already? Yes, it is a IP camera, and we use the RTMP(Real-Time Messaging Protocol). The video frames can be acquire already. It seems that the main problem is how to transform the ...
by MaJiamu
19 Jul 2024, 11:01
Forum: General questions
Topic: how to get camera data by TCP/IP and display the image in CoppeliaSim
Replies: 8
Views: 9033

how to get camera data by TCP/IP and display the image in CoppeliaSim

Hello, I want to connect the PC with a teleoperation robot through a cable. More important, I want to display the image or video from camera equipped on the robot in CoppeliaSim directly. By the way, the camera is pre-configured with a destination IP address. Therefore, the question is how can I bui...