# offboard takeoff height problem

Source: https://forum.modalai.com/topic/862/offboard-takeoff-height-problem
Category: Flight Core and Legacy VOXL (https://forum.modalai.com/category/9/flight-core-and-legacy-voxl)
Tags: voxl-flight
Posted: 2022-04-18 07:54:39 UTC by bensusana
Replies: 3 · Views: 1511

## bensusana · 2022-04-18 07:54:39 UTC

hi all
we have 5" quad based voxlflight and lidar as an height sensor .
we trying to make simple takeoff to 0.5m height indoor in offboard mode.
we have a Consistent problem, the quad takeoff to 0.5m and after few seconds keep ascending to 2.5m and goes down to 0.5m again .

i added here flight log and parameters file .
https://review.px4.io/plot_app?log=2e8f06a0-4185-4393-9eae-1b2a1ab40e85

hope you have any ideas 

thanks in advance , 
ben

## Reply by Chad Sweet (ModalAI staff) · 2022-04-19 03:14:20 UTC

Hi Ben, we do not have experience integrating a distance sensor for altitude with PX4. Flight Core uses a nearly mainline version of PX4 and should behave as any PX4 system would with an altimeter. PX4 has that feature documented [here](https://docs.px4.io/v1.12/en/sensor/rangefinders.html), that might be a good place to start.

## Reply by stevedan · 2022-12-21 09:36:47 UTC

Were you able to solve it. It seems that it always takeoffs to the default height 2.5, seems to be something in px4.

## Reply by winta · 2024-11-15 18:23:57 UTC (in reply to stevedan)

@stevedan @bensusana I'm also facing this issue. Have you been able to solve this?
