Page 2 of 2

Re: ROS Tutorial HELP !

Posted: 13 Jan 2015, 18:13
by Laurie44
pr0t0z wrote:Ok, problem was in:
Nodes connect fine now.
Which file was that?
Thanks!

Re: ROS Tutorial HELP !

Posted: 13 Jan 2015, 18:21
by pr0t0z
It was in a file I adapted.
Here is the malfunctioning version:
http://pastebin.com/snVi0CSN

Cheers

Re: ROS Tutorial HELP !

Posted: 09 Feb 2015, 08:58
by sloppy
I've installed V-REP V3.2.0 running on Ubuntu 14.04 64bit, which is meant to work for ROS Indigo, but I still get errors when calling ROS services

Code: Select all

rosservice call /vrep/simRosStartSimulation
ERROR: Unable to load type [vrep_common/simRosStartSimulation].
Have you typed 'make' in [vrep_common]
?

The rest of the tutorial seems to be working; plugin loads, roscd finds what it's supposed to, can see an image from image_view in "rosTopicPublisherAndSubscriber.ttt" and the red bubble rob in "controlTypeExamples.ttt" moves, etc.

Re: ROS Tutorial HELP !

Posted: 09 Feb 2015, 09:11
by coppelia
You need to source your environment:

Code: Select all

source ~/catkin_ws/devel/setup.bash
(make sure you have the V-REP ROS package in ~/catkin_ws/src/)

Cheers

Re: ROS Tutorial HELP !

Posted: 11 Feb 2015, 09:25
by sloppy
Thanks! That resolved the problem

Re: ROS Tutorial HELP !

Posted: 16 Nov 2016, 19:04
by studenTU01
Hello I am using Ubuntu 16.04 and ROS Kinetic in the current V-Rep Version 3.3.2 64bit.
The ROS tutorial - Hydro works for me until the tutorial reaches the rosservice call part.
The Plugins "Ros", "RosInterface" and "RosSkeleton" load succeeded with a roscore running.

I am having the same Problem as sloppy with the rosservice call:

Code: Select all

 
rosservice call vrep/simRosStartSimulation
ERROR: Unable to load type [vrep_common/simRosStartSimulation].
Have you typed 'make' in [vrep_common]?
I sourced my catkin_ws as explained.
(make sure you have the V-REP ROS package in ~/catkin_ws/src/)
I am not quite sure which "V-REP ROS package" coppelia meant, but I have the self-compiled build version of "vrep_common", "vrep_plugin" and "vrep_ros_interface" (this one I expect to be the "VREP ROS package") in my catkin_ws/src folder.

I really hope that anyone can help me.

Best Regards

Re: ROS Tutorial HELP !

Posted: 18 Nov 2016, 09:23
by coppelia
Hello,

this related to the old RosPlugin, that you shoudn't use anymore, since it is not that flexible, intuitive and extendable as the new RosInterface. But what you mention is not in the tutorial anymore (since V3.3.1 I believe)

Cheers

Re: ROS Tutorial HELP !

Posted: 22 Nov 2016, 20:14
by studenTU01
Hello,

thanks for the reply, is there any "getting started" tutorial for the new RosInterface?
I would just like to have some sort of introduction in how to use the RosInterface.

Best Regards

Re: ROS Tutorial HELP !

Posted: 23 Nov 2016, 09:58
by coppelia
There are 2 examples that use the new ROS interface:
  • rosInterfaceTopicPublisherAndSubscriber.ttt
  • controlTypeExamples.ttt (the red robot, in front is using the RosInterface)
Cheers