Good morning,
I work with a pixhawk 4 and a fixed wing and I want to fly close to the ground “20 cm”. I’ve test the altitude mode and it’s work well but the regulation work with the current altitude and not with the distance ground-vehicle. I saw in the doc that the “terrain following” mode is only available with multicopters and VTOL and I would like to know if it’s possible to enable this mode with a fixed wing. If not, how can I implement the altitude mode with the distance ground-vehicle ?
I simulate with Gazebo but don’t see any change. The method “FixedwingPositionControl::update_desired_altitude(float dt)” is call periodically or with an interrupt (changing joystick value) ?
It’s all right ! With this method, the distance ground-vehicle is considered in the altitude setpoint and only when the joystick is centered. Thank you for your time @bresch