From 6d2b534a9a073c712c0360fcb6703133d69f37e8 Mon Sep 17 00:00:00 2001 From: Sepehr MohaimenianPour Date: Tue, 25 Apr 2017 09:41:25 -0700 Subject: [PATCH] Make compatible with Parrot ARSDK 3.10+ --- src/bebop_vservo_ctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bebop_vservo_ctrl.cpp b/src/bebop_vservo_ctrl.cpp index e4cfb4d..0174ef6 100644 --- a/src/bebop_vservo_ctrl.cpp +++ b/src/bebop_vservo_ctrl.cpp @@ -24,9 +24,9 @@ BebopVServoCtrl::BebopVServoCtrl(ros::NodeHandle &nh) nh_(nh), nh_priv_("~"), sub_caminfo_(nh.subscribe("bebop/camera_info", 1, &BebopVServoCtrl::CameraCallback, this)), - sub_cam_orientation_(nh_.subscribe("bebop/states/ARDrone3/CameraState/Orientation", 10 + sub_cam_orientation_(nh_.subscribe("bebop/states/ardrone3/CameraState/Orientation", 10 , &BebopVServoCtrl::CameraOrientationCallback, this)), - sub_bebop_att_(nh_.subscribe("bebop/states/ARDrone3/PilotingState/AttitudeChanged", 10, + sub_bebop_att_(nh_.subscribe("bebop/states/ardrone3/PilotingState/AttitudeChanged", 10, &BebopVServoCtrl::BebopAttitudeCallback, this)), sub_roi_(nh_.subscribe("target", 1, &BebopVServoCtrl::TargetCallback, this)), sub_enable_(nh_.subscribe("enable", 1, &BebopVServoCtrl::EnableCallback, this)),