Hi there,
I continue this post : http://forum.erlerobotics.com/t/ros-issues-with-automatic-takeoff-and-land/1174?u=mickael
So I am using Escarlata and I want to make an autonomous fly but I have some issue
Firstable you have to remember that I am using the su mode because I have this error with the erle mode :
So I am using the su mode but I have this :
So the copter arm but don't take off and land after.
On the gsc I have this message :

That tell me the battery is empty even if the battery is full.
I am using the ros_erle_takeoff_land project.
After, I would add this program on the do stuff part my code :
rc_override_pub = n.advertise< mavros_msgs::OverrideRCIn >("/mavros/rc/override", 10);
//while(ros::ok()){
mavros_msgs::OverrideRCIn msg_override;
msg_override.channels[0] = 1500; //Roll
msg_override.channels[1] = 1500; //Pitch
msg_override.channels[2] = 1700; //Throttle
msg_override.channels[3] = 1500; //Yaw
msg_override.channels[4] = 0;
msg_override.channels[5] = 0;
msg_override.channels[6] = 0;
msg_override.channels[7] = 0;
//}
//ros::spinOnce;
rc_override_pub.publish(msg_override);
sleep(4);
I have add the mavros_msg file, could you tell me if I am missing something ?
Thanks for your answers.
Regards,
Mickael