Ask Your Question
1

Data type for yaw angle and barometer height

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

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 -0600

tom gravatar image

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

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 imagealfa_80 ( 2011-12-26 22:18:59 -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

Stats

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

Seen: 180 times

Last updated: Dec 26 '11