Search found 10 matches

by peci1
11 Jun 2015, 13:30
Forum: Bug reports
Topic: simCreateCollection linking problem?
Replies: 9
Views: 5978

Re: simCreateCollection linking problem?

There's another finding in this problem I made. I used a wrong expression to write out the address of `simCreateCollection`. Instead of std::cout << &simCreateCollection it should be std::cout << (void*)simCreateCollection (the first version writes out the address of the pointer to the function)...
by peci1
09 Jun 2015, 13:57
Forum: Bug reports
Topic: simCreateCollection linking problem?
Replies: 9
Views: 5978

Re: simCreateCollection linking problem?

I was thinking about it a bit more, and the whole dynamic loading of the V-REP library is unclear to me.

What is the reason of dynamically loading lib_vrep.so instead of dynamically linking it during build? Are there any advantages?
by peci1
09 Jun 2015, 11:51
Forum: Bug reports
Topic: simCreateCollection linking problem?
Replies: 9
Views: 5978

Re: simCreateCollection linking problem?

That is indeed very strange. I have tried to use a plugin that prints the address of simCreateCollection, on Windows and Linux, and the plugin just loads and runs fine. There must be something else in your plugin that messes things up.. Cheers Okay, found the culprit. It was in CMakeLists.txt . I s...
by peci1
08 Jun 2015, 14:23
Forum: Bug reports
Topic: ROS package compatibility with ROSDEP
Replies: 1
Views: 2759

ROS package compatibility with ROSDEP

The provided ROS packages didn't play well if one wanted to install dependencies using `rosdep`. I fixed it at least to work: https://github.com/peci1/ros_packages/commit/2bb66e03234d2fdaaadcaa1437de82e17217e687 However, it seems to me there are lots of unnecessary build dependencies (mainly OpenCV)...
by peci1
05 Jun 2015, 11:03
Forum: Bug reports
Topic: simCreateCollection linking problem?
Replies: 9
Views: 5978

Re: simCreateCollection linking problem?

I know it doesn't make sense, but look at this: int vrepVer; simGetIntegerParameter(sim_intparam_program_version,&vrepVer); if (vrepVer<30201) { std::cout << "Sorry, your V-REP copy is somewhat old. Cannot start 'ROS' plugin.\n"; unloadVrepLibrary(vrepLib); return(0); // Means error, V...
by peci1
04 Jun 2015, 22:00
Forum: Bug reports
Topic: simCreateCollection linking problem?
Replies: 9
Views: 5978

Re: simCreateCollection linking problem?

is there a message that says why the plugin will not load? No, just "the plugin failed to load, check ldd output". But ldd shows no unresolved stuff. Maybe you are still using the older V-REP library? I checked the /opt/vrep/libv_repLib.so and it's modification date is May 4, which should...
by peci1
04 Jun 2015, 16:57
Forum: Bug reports
Topic: simCreateCollection linking problem?
Replies: 9
Views: 5978

simCreateCollection linking problem?

Hello, I just updated to 3.2.1 and wrote a plugin which uses the newly added simCreateCollection C API function. The code compiles and links well, but when I start V-REP, the plugin fails to load. I verified it is caused exactly by this line of code. And it is not a runtime problem, since this line ...
by peci1
01 Jun 2015, 17:18
Forum: Feature requests
Topic: Lua functions for URDF import,utilize rospack in URDF import
Replies: 1
Views: 5657

Lua functions for URDF import,utilize rospack in URDF import

Hey, I've played a bit with the URDF import plugin. Basically, I added custom Lua functions simExtImportUrdf and simExtImportUrdfFile which expose the URDF import function to the Lua API. I also changed the "package://" URI resolution to use "rospack", which yields much more flex...
by peci1
15 Apr 2015, 09:21
Forum: Feature requests
Topic: URDF Import: handle multiple <visual> tags
Replies: 6
Views: 8099

Re: URDF Import: handle multiple <visual> tags

I have fixed it (or at least I think so :) ). I also added support for multiple <collision> elements, since I use them in my models. The needed patch is available at https://github.com/peci1/v_repExtUrdf/compare/2aca...master.patch Coppelia, feel free to integrate these changes into the codebase, I ...