Questions tagged [ros-tutorials]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
168 views

ROS_INFO a String

hi there, this is a question with regards to the "Writing publisher subscriber" tutorial with c++. I've realized that for strings we have to add in .c_str() What is this .c_str() thing? We ...
user avatar
0 votes
2 answers
27 views

TransformListener object should be scoped

I am reading the tutorial on TF and it says: The TransformListener object should be scoped to persist otherwise it's cache will be unable to fill and almost every query will fail. could you explain ...
user avatar
0 votes
1 answer
2 views

Issues building transform broadcaster code

I am working through the Navgation Stack Tutorials on Ros.org. I am using Ubuntu 16.04LTS and ROS Kinetic. The issues occur when building the code (Step 5 from link below): http://wiki.ros.org/...
user avatar
0 votes
1 answer
40 views

What is the difference between a tf2 static broadcast and tf2 broadcast?

I have been following the tutorials of tf2 on ROS here. There are two tutorials on writing a tf2 static broadcast and a tf2 broadcast. I implemented and understood most part of it. But I am having a ...
user avatar
0 votes
1 answer
3 views

Issue with the urdf_tutorial package and Rviz visualization (Problem may be related with the controller_manager)

I am following the Learning URDF Step by Step tutorial which has the following step Building a Visual Robot Model with URDF from Scratch Building a Movable Robot Model with URDF Adding Physical and ...
user avatar
0 votes
1 answer
6 views

Return array in service in c++

Hi people! I'm starting with ROS and I have a problem implementing a client and server. I used the files created in the tutorials of ROS but I would like to return an array of strings and I don't know ...
user avatar
0 votes
1 answer
4 views

Not Working - Multiple Machines Tutorial

Tutorial: http://wiki.ros.org/ROS/Tutorials/MultipleMachines The following commands working on a local machine: rosrun rospy_tutorails talker ...
user avatar
0 votes
1 answer
2 views

Subscribing to topic periodically?

Hi, I'm a bit new to ROS. I want to subscribe to a topic that is being published continuously. But I only want to read the message once in a while. And I want to read the most recent message at that ...
user avatar
0 votes
1 answer
1 view

error with hector quadrotor tutorial

Hi guys! I've followed the ROS tutorial: "Quadrotor indoor SLAM demo", step by step, (I think) and at the end, when I write the last command,(roslaunch hector_quadrotor_demo ...
user avatar
0 votes
1 answer
53 views

rosrun turtlesim turtlesim_node -- couldn't find executable

Hi, I just installed ros groovy from source on gentoo amd64 and am working through the beginner's tutorials. I'm on the "Understanding ROS Nodes" tutorial and installed the ros_tutorials ...
user avatar
0 votes
1 answer
6 views

Tutorial Question: Writing a Simple Publisher and Subscriber (C++)

i'm new to ROS and following the standard tutorial given on the ROS.ORG site. While running based on the topic of writing a simple publisher and subscriber, the outputs for talker and listener are ...
user avatar
0 votes
1 answer
88 views

Changing the turtlesim environment colors

Does anyone know how to change the turtlesim environment (background color and turtle line/pen color) in a C++ program? Originally posted by Index on ROS Answers with karma: 1 on 2012-01-29 Post ...
user avatar
0 votes
1 answer
12 views

Creating the turtlesim environment through code

Hi all. I've just started using ROS yesterday - i've completed the 15 or so beginner tutorials that utilize turtlesim. I've begun writing my own .cpp file - since i'm a beginner this is all pretty ...
user avatar
0 votes
1 answer
2 views

after running the Publisher and subcriber, .h file is not being made

I have successfully completed the ROS tutorial till the topic "examining a simple subscriber and publisher". I wrote a simple client and server program. But am not able to make it. The .h ...
user avatar
0 votes
1 answer
2 views

ROS Answers SE migration: listener.cpp

Hello.. Am at tutorial: Examine simple Publisher and Subscriber. On command: rosrun beginner_tutorials talker I get proper out "hello world" 233 (so on..) but for command: rosrun ...
user avatar
0 votes
1 answer
1 view

tf/tutorials demo problem ros-electric

Hi All: I can't get the turtle_tf demo to work based on the following link: tf/Tutorials This is the error I get when I do roslaunch turtle_tf turtle_tf_demo.launch: ...
user avatar
0 votes
1 answer
1 view

How about sharing our tutorial answers?

Hi, I just finished the questionnaire and I thought it'd be very interesting to share them to see what other possibilities there is for some answers and in that way learn a bit more about ROS. Here ...
user avatar