Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for ROS Groovy ardrone_driver #1

Open
warp1337 opened this issue Dec 21, 2012 · 0 comments
Open

Patch for ROS Groovy ardrone_driver #1

warp1337 opened this issue Dec 21, 2012 · 0 comments

Comments

@warp1337
Copy link

I just tried ti build the ardrone_driver in ROS Groovy. In Groovy some things concerning the bullet engine have been changed[1]. That's why the driver won't build (btQuaternion not defined). Here's my proposed patch:

--- ardrone_driver.cpp 2012-12-21 15:17:32.706078979 +0100
+++ ardrone_driver.cpp.old 2012-12-21 15:27:34.022090067 +0100
@@ -2,7 +2,6 @@

include "teleop_twist.h"

include "video.h"

include

-#include

////////////////////////////////////////////////////////////////////////////////
// class ARDroneDriver
@@ -699,7 +698,7 @@
imu_msg.linear_acceleration.z = msg.az * 9.8;

// IMU - Rotation Matrix
tf::Quaternion q;
btQuaternion q; q.setEulerZYX(msg.rotZ * _DEG2RAD, msg.rotY * _DEG2RAD, msg.rotX * _DEG2RAD); tf::quaternionTFToMsg(q, imu_msg.orientation);

[1] http://ros.org/wiki/bullet/ChangeList

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant