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

Topic to be subscribed to using laser_height_estimation

asked 2012-03-09 00:56:33 -0500

alfa_80 gravatar image

updated 2012-03-09 03:36:10 -0500

I would like to give a try using laser_height_estimation package to estimate height of my flying robot as could be found here. What topic should I subscribe to? I couldn't find it in its tutorial.

Thanks in advance.

EDIT:

I found there are 2 of them: /mav/height_to_base and /mav/height_to_footprint. Which one is more relevant and which are the datatypes of them?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-03-09 04:08:47 -0500

With our quadrotor, the base frame is at the center of motion, and the footprint frame is where the legs are. So when the MAV is on the ground, the height to base might be arund 0.18 meters, but the height to footprint will be close to 0.

You can subscribe to whichever topic is more convenient in your case.

Make sure your include a static publisher from base to footprint.

The messages published are of type mav_msgs::Height.

edit flag offensive delete link more

Comments

But then, do you think, will this package work for my hardware configuration as in the provided link? I'm worried, it's meant to work with your hardware setup(laser mounting) only.

alfa_80 gravatar image alfa_80  ( 2012-03-09 05:00:13 -0500 )edit

I couldn't configure your msg type correctly, am I right to include this "#include <mav_msgs/Height.h>" and in manifest.xml, i add " <depend package="mav_msgs"/> <depend package="bullet"/> <depend package="nodelet"/>"?

alfa_80 gravatar image alfa_80  ( 2012-03-09 05:03:48 -0500 )edit

yes that include looks correct

Ivan Dryanovski gravatar image Ivan Dryanovski  ( 2012-03-09 05:36:15 -0500 )edit

Question Tools

Stats

Asked: 2012-03-09 00:56:33 -0500

Seen: 177 times

Last updated: Mar 09 '12