Guided Mode loses altitude

When I’m flying my plane in guided mode, it seems to ignore the altitude that I pass in as part of my location global object in the simple_goto method. Why would guided mode ignore the altitude and slowing lose altitude? I believe this is affecting my airspeed.

My guess is that your passing the absolute altitude instead of the relative altitude. I think this command needs to know what reference to use.

Mike