The problem seems to come from another script because if I paste your sensor line into the first line of Init(), it's working for the sensor and failing into finding your belt path
RL_Niryo wrote: ↑11 Oct 2019, 08:04
The problem seems to come from another script because if I paste your sensor line into the first line of Init(), it's working for the sensor and failing into finding your belt path
But How could i solve it??? I am not getting any idea,
Even I have tried commenting all the thread switching code lines in the "Jaco" script,
Later even i tried to remove 'Jaco' script at all.... still, the error is the same.
If Coppelia or anyone else can help, I'll be highly thankfulllll......
I advise you to restart from scratch with only a conveyor belt and a sensor, because I think a setting has been changed unpurposely.
If you have a problem with this basic scene, send it again and I will check out :)
I have used "motionPlanningandGraspingDemo.ttt". What I have found out now is, that if you place a conveyor belt anywhere in that scene, and a proximity sensor, it will generate same error if you try to get its handle in the conveyor belt script. What could be wrong or different in that scene ???
I advise you to restart from scratch with only a conveyor belt and a sensor, because I think a setting has been changed unpurposely.
If you have a problem with this basic scene, send it again and I will check out :)
I have used "motionPlanningandGraspingDemo.ttt". What I have found out now is, that if you place a conveyor belt anywhere in that scene, and a proximity sensor, it will generate same error if you try to get its handle in the conveyor belt script. What could be wrong or different in that scene ???
Yeah, I already tried that myself, that why I suggested and I still suggest you to recreate everything in a new scene
I advise you to restart from scratch with only a conveyor belt and a sensor, because I think a setting has been changed unpurposely.
If you have a problem with this basic scene, send it again and I will check out :)
I have used "motionPlanningandGraspingDemo.ttt". What I have found out now is, that if you place a conveyor belt anywhere in that scene, and a proximity sensor, it will generate same error if you try to get its handle in the conveyor belt script. What could be wrong or different in that scene ???
Yeah, I already tried that myself, that why I suggested and I still suggest you to recreate everything in a new scene
Hi RL_Niryo,
Kindly can you please take a look at this scene and let me know what could be the problem why configs are returning nill. Targets seem to be in range, I am stuck in this problem that's why I edited original scene and faced that proximity sensor handle issue. Here the proximity sensor is fine.
Link:
Just an idea... could it be that this was overseen?
If you want to access objects in an absolute fashion, simply write the whole name of the object. If it doesn't contain a #, simply append a #, like in this example:
Thanks for the help. I sorted out the matter by exporting the Jaco as a model from the "MotionPlanningandGrasping" scene. Created a new scene, inserted conveyor belt, and proximity sensor, made it work. After it then added that Jaco exported model. Now it is working fine.