Search found 52 matches

by formica
10 Sep 2016, 00:23
Forum: General questions
Topic: followPath ROS service
Replies: 1
Views: 1097

followPath ROS service

Dear coppelia, my goal is implementing a ROS service, called 'followPath' to follow a precomputed path. This is the code, contained in a threaded child script, that I call using simRosCallScriptFunction: followPath=function() while simGetSimulationState()~=sim_simulation_advancing_abouttostop do tar...
by formica
05 Jul 2016, 11:24
Forum: General questions
Topic: Planning Task from a non-threaded script
Replies: 4
Views: 1989

Re: Planning Task from a non-threaded script

I'm trying to instantiate a set of state space and use it once a time... I destroy the task every time that I call the function through RosService... but it doesn't work. I obtain the same error. Any idea? stateValidation=function(state) --local res,d=simCheckDistance(collisionPairs[1],collisionPair...
by formica
04 Jul 2016, 18:06
Forum: Feature requests
Topic: Clearing Octree programmatically
Replies: 2
Views: 2100

Re: Clearing Octree programmatically

My fault.

Thanks, Coppelia...
by formica
04 Jul 2016, 17:31
Forum: General questions
Topic: Planning Task from a non-threaded script
Replies: 4
Views: 1989

Re: Planning Task from a non-threaded script

Yes, I think so. I have to follow the trajectory after computing it.
So I'm trying to re-inizialize the tree every time that I call it...
But I'm not succeeding in it. I think that I have to destroy the task and the state-space... but using simExtOMPL_destroyTask I obtain the same error...
by formica
04 Jul 2016, 16:17
Forum: Feature requests
Topic: Clearing Octree programmatically
Replies: 2
Views: 2100

Clearing Octree programmatically

Hi Coppelia,
I think should be fine to clear Octrees in a script or plugin via API functions.

Regards
Roberto
by formica
03 Jul 2016, 18:31
Forum: General questions
Topic: Planning Task from a non-threaded script
Replies: 4
Views: 1989

Planning Task from a non-threaded script

Hi coppelia, I'm trying to call a "compute_path" function from rosservice rosservice call /vrep/simRosCallScriptFunction setGoal@StartConfiguration 1 [] [2.0,1.0,1.0] [] '' Everithing is ok but I can't call the same function a second time, passing a different goal, because the motion planning plugin...
by formica
31 May 2016, 08:15
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 5241

Re: OcTree Plugin

Hi coppelia,
I would like to associate a custom data structure to every leaf node of the OcTree.
Do you have any idea?

Regards
Roberto
by formica
18 May 2016, 17:29
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 5241

Re: OcTree Plugin

Thanks for the feedback, coppelia. I'm trying to use the new functionality, but I'm not able to retriev the tag with CheckOctreePointOccupancy if (sim_call_type==sim_childscriptcall_initialization) then octreeHandle = simGetObjectHandle('Octree') points = {0.5,0.5,0.5,0.6,0.6,0.6} colors = {255,255,...
by formica
17 May 2016, 12:12
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 5241

Re: OcTree Plugin

WOW, V 3.3.1 is out!
Did you released the source code as well (or just the MeshCalc/Octree Plugin code)?

Regards
by formica
16 May 2016, 09:15
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 5241

Re: OcTree Plugin

Thanks Coppelia,
could you estimate when it will be released?

Regards
Roberto