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

How to extract angular velocities from navdata in ardrone_autonomy?

asked 2016-01-12 08:05:28 -0600

Gautam Sridhar gravatar image

We are trying to accomplish EKF slam using the A.R Drone. For the odometry data, we need to extract the linear velocities and the angular velocities from the navdata topic. We have tried taking the navdata.rotZ option and subtracting subsequent values and dividing by the time difference. But it does not work. Is there any other way to get angular velocity from the ardrone_autonomy navdata package?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-01-30 12:49:00 -0600

JCUAV gravatar image

If you really need to take that information from the navdata topic instead of the IMU you could redefine the navdata message so you can publish that information to the topic. The angular velocity is set in the same function (void ARDroneDriver::PublishNavdata(const navdata_unpacked_t &navdata_raw, const ros::Time &navdata_receive_time) as the rest of the information but then published in different topics.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-01-12 08:05:28 -0600

Seen: 571 times

Last updated: Jan 30 '16