Search found 679 matches

by fferri
27 Sep 2016, 13:12
Forum: Feature requests
Topic: Access to rosparam server through ROS Interface?
Replies: 5
Views: 4010

Re: Access to rosparam server through ROS Interface?

Yes, it is working. You can view the latest documentation in any modern browser by simply opening meta/callbacks.xml (works in Safari and Firefox, not sure about Chrome)
by fferri
21 Sep 2016, 01:06
Forum: General questions
Topic: vrep ros interface timestamp
Replies: 7
Views: 3710

Re: vrep ros interface timestamp

Please start another thread if not related to this ROS time topic.

Also, please include details in your report (i.e. your message definition, build output, the output of `rosmsg show YourMessage`).

Most likely, your custom message cannot be found by ROS tools.
by fferri
20 Sep 2016, 17:00
Forum: Feature requests
Topic: Access to rosparam server through ROS Interface?
Replies: 5
Views: 4010

Re: Access to rosparam server through ROS Interface?

Hi Billie1123, there are some new APIs for interacting with the ROS Parameter Server: bool exists, bool value= simExtRosInterface_getParamBool (string name, bool defaultValue = false) bool exists, double value= simExtRosInterface_getParamDouble (string name, double defaultValue = 0.0) bool exists, i...
by fferri
20 Sep 2016, 09:46
Forum: General questions
Topic: vrep ros interface timestamp
Replies: 7
Views: 3710

Re: vrep ros interface timestamp

Ok, I understand. I added a new simExtRosInterface_getTime() function to wrap ros::Time::now(). Try pulling latest changes from v_repExtRosInterface and v_repStubsGen, and rebuild the RosInterface plugin.
by fferri
19 Sep 2016, 07:39
Forum: General questions
Topic: vrep ros interface timestamp
Replies: 7
Views: 3710

Re: vrep ros interface timestamp

The 'time' field of the Header msg must be a floating point value, which is interpreted as seconds by the RosInterface plugin. You can set that field to whatever [time] you want. If you leave it blank (or explicitly set it to 0.0 ), it will be sec=0 nsec=0, which has a special meaning for certain RO...
by fferri
31 Aug 2016, 13:25
Forum: Feature requests
Topic: V-Rep should publish to the /clock topic
Replies: 19
Views: 16251

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

Using the new RosInterface plugin, you can publish /clock like any other topic. First set up the publisher (e.g. in sim_childscriptcall_initialization): clockPub=simExtRosInterface_advertise('/clock','rosgraph_msgs/Clock') then, whenever you want to publish the current simulation time (for example i...
by fferri
11 Aug 2016, 14:41
Forum: Bug reports
Topic: loading an unexistent recent scene file
Replies: 1
Views: 2224

loading an unexistent recent scene file

When loading a scene file from the File -> Open Recent, but this file does not exist, V-REP displays an error box (correct) but then the (default, empty) scene is removed from the view.
by fferri
05 Aug 2016, 09:41
Forum: General questions
Topic: About controlling the robot in V-REP and in reality
Replies: 5
Views: 3944

Re: About controlling the robot in V-REP and in reality

In our lab, we had a custom built mobile robot, with ROS drivers and ROS C++ nodes for controlling it. We created a robot model in V-REP, and then we used the V-REP RosInterface plugin, implementing the same messages used to command the robot, so we could test our nodes with a simulated version of o...
by fferri
05 Aug 2016, 08:53
Forum: Bug reports
Topic: Fail to publish to ROS from plugin
Replies: 11
Views: 7289

Re: Fail to publish to ROS from plugin

All plugins run in the same thread, so having multiple plugins using ROS it is like calling ros::init multiple times in a node.
The first (or the last??) call to ros::init sets the node name.
by fferri
03 Aug 2016, 23:24
Forum: Bug reports
Topic: Fail to publish to ROS from plugin
Replies: 11
Views: 7289

Re: Fail to publish to ROS from plugin

Now I tried to use the ros_server_skeleton.h file in my plugin to handle the node initialization and publishers but I get the same error. As long as I include the .h file in my project, it fails. I have added the .h and .cpp to the makefile. Can I be getting this dependencies error because I am not...