Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
saaraswata opened this issue Sep 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@saaraswata
Copy link

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):

  • IDF Version: 4.4.8
  • SoC Chip: ESP32 Wroom 32D
  • Hardware: ESP 32 Devkit C

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.

@leeebo
Copy link
Collaborator

leeebo commented Oct 8, 2024

@saaraswata Hi, Barometer data currently does not participate in the final calculations.

@leeebo leeebo added the enhancement New feature or request label Oct 8, 2024
@saaraswata
Copy link
Author

Which file should I be looking at to configure the drone to use baro data as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants