ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

what to include?

asked 2012-03-15 07:16:01 -0600

anonymous user


updated 2012-03-15 08:03:09 -0600

DimitriProsser gravatar image

Hi all,i'm very new in ROS so sorry if my question is silly..

i've read the tutorials on ros,now i'm triyng to control the turtlesim to make a square (an exercise) so i'm doing:

#include <turtlesim/Pose.h>
#include <turtlesim/Velocity.h>

to use their topic,but when i make it it says that pose.h does not exist:what's the problem?

i'm in the beginner_tutorials package,maybe is that it doesn't find pose.h in this package?if so, how can i include pose.h from its package? thanks all

edit retag flag offensive close merge delete


Thanks the both of you

ldima gravatar image ldima  ( 2012-03-15 11:25:31 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-15 08:04:55 -0600

DimitriProsser gravatar image

updated 2012-03-15 10:06:35 -0600

tfoote gravatar image

You also have to make sure that you add:

<depend package="turtlesim" />

to your package's manifest.xml.

edit flag offensive delete link more



@DimitriProsser I removed the reference to geometry_msgs from this answer, there's a separate simpler Pose and Velocity for turtlesim

tfoote gravatar image tfoote  ( 2012-03-15 10:07:28 -0600 )edit

Ah, my mistake. Thanks for the correction.

DimitriProsser gravatar image DimitriProsser  ( 2012-03-15 10:39:52 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-03-15 07:16:01 -0600

Seen: 261 times

Last updated: Mar 15 '12