Search found 679 matches

by fferri
13 Oct 2015, 15:17
Forum: General questions
Topic: Call Lua functions in an external file
Replies: 5
Views: 4839

Re: Call Lua functions in an external file

is it possible to have that path relative to the scene?

i.e. is there a function to retrieve the path of current scene, so that it can be added to package.path?
by fferri
13 Oct 2015, 13:54
Forum: General questions
Topic: creating robot via script: respondable mask and motor params
Replies: 5
Views: 2663

creating robot via script: respondable mask and motor params

I want to create my mobile robot (an articulated tracked robot) via script. The motivation behind this is to avoid repeated operations, for example if I want to change the number of rollers, or change a property common to all rollers, and stuff like this. I managed to create a kinematic chain of obj...
by fferri
15 Apr 2015, 10:19
Forum: General questions
Topic: crash on new machine: terminate called after throwing an ins
Replies: 6
Views: 3411

Re: crash on new machine: terminate called after throwing an

yes, I have the system folder, but there is no such file: $ ls -1 /opt/V-REP_PRO_EDU_V3_2_0_rev6_64_Linux/system/ defaultContactCallbackScript.txt defaultCustomizationScript.txt defaultGeneralCallbackScript.txt defaultJointCtrlCallbackScript.txt dfltscn.ttt dltcscpt.txt dltmscpt.txt dlttscpt.txt sys...
by fferri
14 Apr 2015, 16:32
Forum: General questions
Topic: crash on new machine: terminate called after throwing an ins
Replies: 6
Views: 3411

crash on new machine: terminate called after throwing an ins

I got a new machine, installed Ubuntu 14.04.2, and V-REP 3.2.0rev6. When launching V-REP, it crashes with this error: $ ./vrep.sh Add-on script 'vrepAddOnScript-addOnScriptDemo.lua' was loaded. terminate called after throwing an instance of 'std::exception' what(): std::exception Aborted (core dumpe...
by fferri
26 Mar 2015, 17:59
Forum: Bug reports
Topic: v_repExtRos not working on OS X and Windows
Replies: 1
Views: 2102

v_repExtRos not working on OS X and Windows

After building v_repExtRos plugin for OS X, it fails to load, because it will look for libv_repExtRos.so, instead of libv_repExtRos.dylib. I changed the part where it will unconditionally look for the ".so" file, with the corresponding part from v_repExtK3, which is macro based and will look for the...
by fferri
25 Mar 2015, 17:04
Forum: Bug reports
Topic: V-REP's window WM_CLASS attribute is empty on Linux
Replies: 2
Views: 1852

Re: V-REP's window WM_CLASS attribute is empty on Linux

Great! Then, provided that also the changes to vrep.sh have been done, you can have V-REP integrated with GNOME menu and Ubuntu Unity, by creating a file in $HOME/.local/share/applications/vrep.desktop (or in the global location /usr/local/share/applications/vrep.desktop) with contents: #!/usr/bin/e...
by fferri
24 Mar 2015, 18:01
Forum: Bug reports
Topic: V-REP's window WM_CLASS attribute is empty on Linux
Replies: 2
Views: 1852

V-REP's window WM_CLASS attribute is empty on Linux

The WM_CLASS attribute of the V-REP main window (used by window manager to associate windows with the owning application), is not set. You can find out by running in a terminal xprop WM_CLASS and clicking anywhere in the V-REP window. Output on my machine: $ xprop WM_CLASS WM_CLASS(STRING) = " ", " ...
by fferri
24 Mar 2015, 17:27
Forum: Bug reports
Topic: vrep.sh doesn't allow launching via absolute path or symlink
Replies: 1
Views: 1911

vrep.sh doesn't allow launching via absolute path or symlink

Since vrep.sh doesn't allow launching it via absolute path (e.g. /opt/vrep/vrep.sh) nor via a symlink to it (e.g. /usr/local/bin/vrep pointing to /opt/vrep/vrep.sh), I modified it. While editing it, I also added quotes where needed, so that in case the path to V-REP contains spaces, nothing breaks. ...
by fferri
18 Mar 2015, 11:27
Forum: Bug reports
Topic: ROS and renaming TF frames
Replies: 0
Views: 4391

ROS and renaming TF frames

When using simExtROS_enablePublisher with topic='/tf' and specifying an auxString argument such as "child%parent" broadcasted frames are renamed. This is useful to match the configuration on the real robot, and especially useful when using multiple instances of the same robot (using tf_prefix), beca...