Robotics StackExchange | Archived questions

How to edit serviceClient to let it takeoff and land correctly?

Hi to all,

I come across a tutorial "Making a ROS package for a drone" by Erle Robotics which teach the user to create a package to let the copter perform stuffs like arm, takeoff,stay a while, land and disarm automatically.

But when I send the same c++ file( https://github.com/erlerobot/ros_erle_takeoff_land/blob/master/src/main.cpp ) to my copter I encounter problems such as it can arm and disarm perfectly but it cannot takeoff.

Can anyone help this problem?
I am using Ros Indigo in Ubuntu 14.04 and mavros version is 0.16.4.0. I am using pixhawk instead of apm and on the c++ program I did change some part like mavros change to mavros_msgs

Asked by controleng on 2016-01-22 03:20:31 UTC

Comments

Answers