Ask Your Question

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

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


Thanks a lot for the guide.
alfa_80 gravatar image alfa_80  ( 2011-12-26 22:18:59 -0500 )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: 2011-12-26 20:15:03 -0500

Seen: 189 times

Last updated: Dec 26 '11