Search found 52 matches

by formica
13 May 2016, 18:34
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 6813

Re: OcTree Plugin

Hi coppelia, I think that you did it faster than me! :D Nice work!! The new octree object in the BETA release are almost perfect for me... but I need some extra functionalities (retrieving the level of an octree node, labeling some node), so I need to access to the data structure... Can I do this wr...
by formica
27 Feb 2016, 12:49
Forum: Bug reports
Topic: [V-REP 3.3.0] Ros disappeared (apparently)?
Replies: 1
Views: 1443

[V-REP 3.3.0] Ros disappeared (apparently)?

Maybe I'm wrong, but I double checked.
It seems that libv_repExtRos.so is disapperead from the latest version... and V-REP doesn't connect to roscore. :/
Is it possible?

Regards
by formica
13 Nov 2015, 19:40
Forum: General questions
Topic: Checking if a robot is INSIDE a cube
Replies: 1
Views: 839

Checking if a robot is INSIDE a cube

Hi Coppelia, Starting from a simulated structured environment (a big Octree) I need a piece of code that: - check if a robot is INSIDE an area (a non-respondable transparent cube) - trigger a signal if the robot is INSIDE (zero if outside) I was thinking to do this using simCheckCollision(cube,robot...
by formica
13 Nov 2015, 11:56
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 6813

Re: OcTree Plugin

Hi coppelia, I have done it. https://drive.google.com/file/d/0B-tdcjNQATAKRWlTODRrY20teVU/view?usp=sharing Now I would like to 1. make the structure DETECTABLE and COLLIDABLE. 2. export in the simulator one handle for any cube 3. how to create an handle for a custom opengl object? Is it possible fro...
by formica
10 Nov 2015, 12:18
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 6813

Re: OcTree Plugin

ok, now it's the time of understanding how to draw inside the scene. I'm using freeglut on ubuntu linux. 1. I guess that I have to skip glutInit(), glutCreateWindow and so on... so I need to understand how to insert my opengl code, through a plugin, inside the main loop of vrep, triggering with the ...
by formica
10 Nov 2015, 10:20
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 6813

Re: OcTree Plugin

Thanks for your hints. I'm searching for a way to use simAddDrawingObject for my purpose. I need to draw a lattice as a set of wireframe transparent (non-solid) cubes centered on a set of points. From what I understand, I cannot draw a cube but a cube-point (or a sphere-point). I could use lines but...
by formica
09 Nov 2015, 17:44
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 6813

Re: OcTree Plugin

FOUND IT! I have put the function in v_repStart and it works: I'm intercepting the opengl callback message. My two cents! Now, 1. which version of OpenGL I have to use on Linux? 2. Can you explain the meaning of the field auxilaryData? sim_message_eventcallback_opengl. Enable via simEnableEventCallb...
by formica
09 Nov 2015, 17:12
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 6813

Re: OcTree Plugin

Thanks coppelia, I choosed to write a plugin. Where I should put the simEnableEventCallback(sim_message_eventcallback_opengl, "Octree", -1)?? It is a regular Api function without LUA version according to the manual (it is not recognized by vrep, inside a script), so I guess should be inserted in the...
by formica
07 Nov 2015, 19:40
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 6813

Re: OcTree Plugin

What do you think should be the faster solution?

Regards
Roberto
by formica
06 Nov 2015, 19:00
Forum: General questions
Topic: OcTree Plugin
Replies: 22
Views: 6813

Re: OcTree Plugin

Image