ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

what to include?

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

anonymous user


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

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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

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

DimitriProsser gravatar image

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

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 -0500 )edit

Ah, my mistake. Thanks for the correction.

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

Question Tools


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

Seen: 313 times

Last updated: Mar 15 '12