Hi Everyone,
I’m trying to run the example for takeoff of the arducopter, but at take off it continues to go up.
After I do takeoff 5
, for example, and checking the altitude by the I get the following:
GUIDED> arm throttle
GUIDED> APM: Arming motors
Got MAVLink msg: COMMAND_ACK {command : 400, result : 0}
ARMED
GUIDED>
GUIDED> takeoff 5
GUIDED> Take Off started
Got MAVLink msg: COMMAND_ACK {command : 22, result : 0}
GUIDED> alt
GUIDED> Altitude: 0.9
QNH Estimate: 1017.2 millibars
GUIDED> alt
GUIDED> Altitude: 2.1
QNH Estimate: 1017.2 millibars
GUIDED> altAPM: EKF2 IMU0 in-flight yaw alignment complete
APM: EKF2 IMU1 in-flight yaw alignment complete
GUIDED> Altitude: 4.1
QNH Estimate: 1017.2 millibars
GUIDED> alt
GUIDED> Altitude: 4.1
QNH Estimate: 1017.2 millibars
GUIDED> alt
GUIDED> Altitude: 4.3
QNH Estimate: 1017.2 millibars
GUIDED> alt
GUIDED> Altitude: 4.3
QNH Estimate: 1017.2 millibars
alt
GUIDED> Altitude: 4.3
QNH Estimate: 1017.2 millibars
alt
GUIDED> Altitude: 4.3
QNH Estimate: 1017.2 millibars
GUIDED> alt
GUIDED> Altitude: 4.4
QNH Estimate: 1017.2 millibars
GUIDED> alt
GUIDED> Altitude: 4.4
QNH Estimate: 1017.2 millibars
GUIDED> alt
GUIDED> Altitude: 4.4
QNH Estimate: 1017.2 millibars
alt
GUIDED> Altitude: 4.4
QNH Estimate: 1017.2 millibars
alt
GUIDED> Altitude: 4.4
QNH Estimate: 1017.2 millibars
At this point the copter is way above the 5 meters and altittude doesn’t change even though the copter keeps going up. Also, I’m running the simulation in gazebo. I should add that if I try to take off to a lower altitude the same happens. For instance, if I try to take off to 2 I get a fixed altitude at 1.7 and the copter keeps going up.
Cheers,