RemoteAPI simxReadVisionSensor crashing on MacOSX
Posted: 18 Jul 2013, 19:01
I am doing simulation for the KheperaIII robot remotely with Java. When attempting to use the Vision Sensors for the bottom 2 color sensors using simxReadVisionSensor, for the first read I have attempted to use simx_opmode_streaming as the API suggest but this crashed VREP on the MacOSX Mountain Lion. I was able to narrow it down to this by changing the parameter to simx_opmode_oneshot, but that will not allow for the sensors to update. I have also tried to use simx_opmode_buffer, but this also crashed VREP.
I went back and forth for sometime trying to get this to work on OSX, but it never seemed to work. I think attempted to use the same Java code on Windows with Streaming for the first and buffer after and VREP was able to run well. On OSX, VREP will run if I do the first read as simx_opmode_oneshot and after simx_opmode_buffer, but the values do not change.
I am using V-REP PRO EDU Version 3.0.3 64bit (serialization version 16), MacBook Pro i7.
Billy
I went back and forth for sometime trying to get this to work on OSX, but it never seemed to work. I think attempted to use the same Java code on Windows with Streaming for the first and buffer after and VREP was able to run well. On OSX, VREP will run if I do the first read as simx_opmode_oneshot and after simx_opmode_buffer, but the values do not change.
I am using V-REP PRO EDU Version 3.0.3 64bit (serialization version 16), MacBook Pro i7.
Billy