ROS Tutorial HELP !

Typically: "How do I... ", "How can I... " questions
Laurie44
Posts: 6
Joined: 09 Jan 2015, 17:18

Re: ROS Tutorial HELP !

Post by Laurie44 »

pr0t0z wrote:Ok, problem was in:
Nodes connect fine now.
Which file was that?
Thanks!

pr0t0z
Posts: 24
Joined: 21 Nov 2014, 17:29

Re: ROS Tutorial HELP !

Post by pr0t0z »

It was in a file I adapted.
Here is the malfunctioning version:
http://pastebin.com/snVi0CSN

Cheers

sloppy
Posts: 5
Joined: 25 Nov 2014, 09:57

Re: ROS Tutorial HELP !

Post 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.

coppelia
Site Admin
Posts: 10337
Joined: 14 Dec 2012, 00:25

Re: ROS Tutorial HELP !

Post 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

sloppy
Posts: 5
Joined: 25 Nov 2014, 09:57

Re: ROS Tutorial HELP !

Post by sloppy »

Thanks! That resolved the problem

studenTU01
Posts: 5
Joined: 03 Oct 2016, 10:10

Re: ROS Tutorial HELP !

Post 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

coppelia
Site Admin
Posts: 10337
Joined: 14 Dec 2012, 00:25

Re: ROS Tutorial HELP !

Post 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

studenTU01
Posts: 5
Joined: 03 Oct 2016, 10:10

Re: ROS Tutorial HELP !

Post 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

coppelia
Site Admin
Posts: 10337
Joined: 14 Dec 2012, 00:25

Re: ROS Tutorial HELP !

Post 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

Post Reply