espressif / esp-drone

Mini Drone/Quadcopter Firmware for ESP32 and ESP32-S Series SoCs.
GNU General Public License v3.0
782 stars 232 forks source link

[Altitude Hold][MS5611 Is detected and outputs pressure value on log but drone still uses velocity based altitude/height hold] #89

Open saaraswata opened 1 week ago

saaraswata commented 1 week ago

Describe the bug Ms5611 is detected and gives appropriate pressure value. I have implemented it from HukeIOT repository. But it seems that the drone still uses velocity based altitude/height hold due to which drone either very slowly climbs to the ceiling or goes down to the floor while using height hold/altitude hold.

Version (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Go to cfclient ,attach joystick and use alt/height hold, also watch the sensor plotter for the barometer
  2. Modified on
  3. See error

Expected behavior Barometer gives height based on pressure

Logs Normal Logs nothing special.

Error The plotter shows changes when the move th drone up or down and then goes back to normal which means it's using imu for velocity based height hold and not the barometer.