Search found 53 matches

by lyz
04 Sep 2020, 10:18
Forum: General questions
Topic: remoteAPI socket problem
Replies: 7
Views: 95

Re: remoteAPI socket problem

Hi coppelia,
A few days ago, I used V-REP remoteAPI.so to test my code, now I use coppeliaSim remoteAPI.so. The virtual memory do not keep increasing. It looks like the problem of the V-REP remoteAPI.so. I will test a few days and then reply.
by lyz
31 Aug 2020, 09:28
Forum: General questions
Topic: remoteAPI socket problem
Replies: 7
Views: 95

Re: remoteAPI socket problem

Hi coppelia,
Yes, it works fine. But virtual memory keeps increasing by htop command(VIRT). After a while, the VIRT will grow to 10G+.
by lyz
28 Aug 2020, 11:04
Forum: General questions
Topic: remoteAPI socket problem
Replies: 7
Views: 95

Re: remoteAPI socket problem

Hi coppelia, It doesn't work. you can test this code: while (True): try: clientID = vrep.simxStart('127.0.0.1', 19997, True, True, 5000, 5) # Connect to V-REP if clientID != -1: print ("hello") vrep.simxFinish(clientID) else: time.sleep(1) print ('Failed connecting to remote API server!') except Key...
by lyz
27 Aug 2020, 03:28
Forum: General questions
Topic: remoteAPI socket problem
Replies: 7
Views: 95

Re: remoteAPI socket problem

This means how to clean up the last simxStart socket before executing the current simxStart. At this point, simxFinish(clientID) does not do this and maybe simply close the previous socket. No valid method was found to solute this in remoteApi.Any other good ideas?
by lyz
24 Aug 2020, 13:18
Forum: General questions
Topic: remoteAPI socket problem
Replies: 7
Views: 95

remoteAPI socket problem

Hi, I'm now using Python remoteAPI to communicate with coppeliaSim. I need to constantly retrieve data from coppeliaSim in my Python program. The program structure is as follows: while (True): clientID = sim.simxStart('127.0.0.1', 19997, True, True, 5000, 5) # Connect to V-REP if clientID != -1: # o...
by lyz
22 Jul 2020, 09:41
Forum: General questions
Topic: Hokuyo_URG_04LX_UG01_ROS.ttm slow frequency question
Replies: 2
Views: 61

Re: Hokuyo_URG_04LX_UG01_ROS.ttm slow frequency question

Hello,

Oh, I get it now. Thanks a lot.
by lyz
20 Jul 2020, 11:15
Forum: General questions
Topic: Hokuyo_URG_04LX_UG01_ROS.ttm slow frequency question
Replies: 2
Views: 61

Hokuyo_URG_04LX_UG01_ROS.ttm slow frequency question

Hi, Firstly, I discovered Hokuyo_URG_04LX_UG01_ROS.ttm is old code, It could not run directly. Secondly, I modified this old code to publish laser topic to ROS on CoppeliaSim. https://1drv.ms/u/s!AtF26DukM1J6hA04JoYHmcwKpYCW?e=NcmNHA But it slower than simulated by vision_sensor in same scene.(visio...
by lyz
04 Jul 2020, 10:00
Forum: Bug reports
Topic: coppeliaSim crash problem
Replies: 7
Views: 438

Re: coppeliaSim crash problem

Hi coppelia and fferri: I'm sorry to reply to you for so long. I tested the solution that you said. First, for the solution of fferri, I used ssh -X and ssh -Y to connect to the remote PC, and the result was the above error. To test GLX problem, I used `glxinfo | grep rendering` command and found th...
by lyz
04 Jul 2020, 09:36
Forum: Bug reports
Topic: headless bug ?
Replies: 4
Views: 181

Re: headless bug ?

Hello coppelia,
Many thanks. I comment these statements, then it works. And you've done me a big favor. I've been trying to figure out how to redirect the status log from the GUI to the headless mode terminal to debug programs, but the software has already implemented it.Thank you so much!
by lyz
01 Jul 2020, 09:23
Forum: Bug reports
Topic: headless bug ?
Replies: 4
Views: 181

Re: headless bug ?

Hi coppelia, This is my test scene. Normally, when I publish the door_switch True topic, the door opens, and then coppeliaSim publish the door_status is true. This is right in the GUI mode, but in Headless mode it doesn't publish the door status. why? rostopic pub /door_switch std_msgs/Bool "data: t...