Search found 681 matches

by fferri
02 Jun 2017, 07:43
Forum: General questions
Topic: Motor Joint Model
Replies: 5
Views: 3359

Re: Motor Joint Model

How are you controlling the joints? Can you show us some code? Why do you say V-REP is not taking into account dynamics?
by fferri
01 Jun 2017, 09:14
Forum: General questions
Topic: Multi-threading in C++ plugin
Replies: 1
Views: 1100

Re: Multi-threading in C++ plugin

The V-REP API is not thread safe. Ensure that you call API functions from the SIM thread. Please refer here for which messages are sent from which thread. The v_repStart function is called from the UI thread. The v_repMessage function can be called from the UI thread or from the SIM thread, dependin...
by fferri
01 Jun 2017, 08:55
Forum: Bug reports
Topic: Update links to beta version
Replies: 4
Views: 2321

Re: Update links to beta version

or checkout a previous version. a version of a month ago will work with older V-REP.
by fferri
29 May 2017, 14:56
Forum: Bug reports
Topic: V-REP crashes on ros interface
Replies: 7
Views: 4786

Re: V-REP crashes on ros interface

I could not reproduce your problem. Can you confirm that V-REP does crash by putting this code in an object's script? if (sim_call_type==sim_childscriptcall_initialization) then pub=simROS.advertise('/test','std_msgs/Float32') end if (sim_call_type==sim_childscriptcall_actuation) then simROS.publish...
by fferri
24 May 2017, 09:22
Forum: General questions
Topic: ROS Action Servers in V-Rep plugins
Replies: 4
Views: 6237

Re: ROS Action Servers in V-Rep plugins

This was obvioulsy a very simple example. As you suggest, I will try to have a deeper look at the available ROS plugins, so as to understand how to create something more functional. In addition, I post here the link to another example I created: https://drive.google.com/file/d/0B8skE9HX1-ftZTdyelhn...
by fferri
19 May 2017, 23:01
Forum: General questions
Topic: ROS Action Servers in V-Rep plugins
Replies: 4
Views: 6237

Re: ROS Action Servers in V-Rep plugins

Hi Franco,

please post your code (vrep_plugin_skeleton.cpp) so we can review it.

There's nothing peculiar in having a ROS node inside a plugin. Remember to call spinOnce where appropriate (see the existing ROS or RosInterface plugins)
by fferri
31 Mar 2017, 12:07
Forum: General questions
Topic: Pure shapes dimensions
Replies: 6
Views: 3965

Re: Pure shapes dimensions

you can retrieve the bounding box information of an object, including a shape. In case of a pure shape (e.g. cuboid, cylinder, sphere) the you can get the primitive shape's dimensions through the bounding box dimensions. for a pure cylinder: xSize=ySize=diameter, zSize=height for a pure cuboid: xSi...
by fferri
13 Mar 2017, 10:26
Forum: Feature requests
Topic: V-Rep should publish to the /clock topic
Replies: 19
Views: 16446

Re: V-Rep should publish to the /clock topic

This may be related https://github.com/ros/ros_comm/issues/176 from dirk-thomas : This is a fundamental design choice of ROS and not "fixable". The connections between nodes happens after each node is started so messages can get lost until all these connections are made. You should design your nodes...
by fferri
09 Jan 2017, 17:31
Forum: General questions
Topic: Making frontier in V-rep environment.
Replies: 5
Views: 1452

Re: Making frontier in V-rep environment.

Hi Saad,

can you explain what a frontier is?
by fferri
09 Jan 2017, 11:56
Forum: Feature requests
Topic: V-Rep should publish to the /clock topic
Replies: 19
Views: 16446

Re: V-Rep should publish to the /clock topic

The parameter name is /use_sim_time, and it must be set to true before other nodes are initialized.

See http://wiki.ros.org/Clock for details.