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

Data type for yaw angle and barometer height

asked 2011-12-26 20:15:03 -0500

alfa_80 gravatar image

I am searching for a data type that can be used to publish yaw angle and barometer height message. Like, for laser scan data we have sensor_msgs::LaserScan scan, what about for yaw angle and barometer height?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2011-12-26 22:06:20 -0500

tom gravatar image

updated 2011-12-26 22:09:19 -0500

Is there any particular reason you wouldn't like to create your own message type? Create a file, say Yaw_Alt.msg in msg folder of your package and fill it with:

time time
float32 yaw
float32 altBaro

Then read here for further instructions. Generally you'll need to add / uncomment genmsg() in your CMakeLists.txt. The message will be generated when you call make (rosmake) on the package. You will find generated header files under msg_gen.

edit flag offensive delete link more

Comments

Thanks a lot for the guide.
alfa_80 gravatar image alfa_80  ( 2011-12-26 22:18:59 -0500 )edit

Question Tools

Stats

Asked: 2011-12-26 20:15:03 -0500

Seen: 239 times

Last updated: Dec 26 '11