tum-vision/tum_ardrone — pull request #24 by lesire (2014-04-24 21:14:54+00:00)
Title: Implement Services

Implement services for some autopilot commands :"drone_autopilot/setReference", &ControlNode::setReference, this);

+	setMaxControl_ = nh_.advertiseService("drone_autopilot/setMaxControl", &ControlNode::setMaxControl, this);

+	setInitialReachDistance_ = nh_.advertiseService("drone_autopilot/setInitialReachDist", &ControlNode::setInitialReachDist, this);

+	setStayWithinDist_ = nh_.advertiseService("drone_autopilot/setStayWithinDist", &ControlNode::setStayWithinDist, this);

+	setStayTime_ = nh_.advertiseService("drone_autopilot/setStayTime", &ControlNode::setStayTime, this);

+	startControl_ = nh_.advertiseService("drone_autopilot/start", &ControlNode::start, this);

+	stopControl_ = nh_.advertiseService("drone_autopilot/stop", &ControlNode::stop, this);

+	clearCommands_ = nh_.advertiseService("drone_autopilot/clearCommands", &ControlNode::clear, this);

+	hover_ = nh_.advertiseService("drone_autopilot/hover", &ControlNode::hover, this);

+	lockScaleFP_ = nh_.advertiseService("drone_autopilot/lockScaleFP",