Hi all,

I am trying to diagnose an altitude hold issue where the the motors are quickly jumping faster and slower in order to maintain altitude... the quad sounds like it is chasing it's tail. A static check of the barometer on the bench using the CLI test---> altitude command shows the barometer jumping quickly anywhere from -60cm to +50cm or so passing through 0 often. Is this normal? Has anyone else checked theirs statically to see what the variance is? Thanks...

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • yes, thanks for the reply's. Turns out the jumping motors was due to my sonar module.... I did place as shown in the wiki but am still getting some interference. Will try shielding the cable next.

  • 100KM
    If you have a sonar, make sure it's mounted well away from esc's and motors, as shown in the wiki. A noisy sonar (due to interference) typically produces a copter with hunting motors (vroem, vroem,...) In normal alt_hold in quiet weather you almost shouldn't hear the motors change rpm.
  • 3D Robotics

    That sounds pretty normal for the bench. Here's some sample data from a couple boards on the bench:

     

    Alt: -2.10m, Raw: 97376
    Alt: -2.01m, Raw: 97375
    Alt: -1.92m, Raw: 97374
    Alt: -2.01m, Raw: 97375
    Alt: -2.01m, Raw: 97375
    Alt: -2.10m, Raw: 97376
    Alt: -1.92m, Raw: 97374
    Alt: -1.83m, Raw: 97373
    Alt: -2.18m, Raw: 97377
    Alt: -2.36m, Raw: 97379
    Alt: -2.36m, Raw: 97379
    Alt: -2.36m, Raw: 97379
    Alt: -2.36m, Raw: 97379
    Alt: -2.53m, Raw: 97381
    Alt: -2.53m, Raw: 97381
    Alt: -2.36m, Raw: 97379
    Alt: -2.45m, Raw: 97380
    Alt: -2.45m, Raw: 97380
    Alt: -2.36m, Raw: 97379
    Alt: -2.18m, Raw: 97377
    Alt: -2.18m, Raw: 97377
    Alt: -2.01m, Raw: 97375
    Alt: -1.92m, Raw: 97374
    Alt: -1.92m, Raw: 97374
    Alt: -2.01m, Raw: 97375

     

    Here's another board:

     

    Alt: -0.52m, Raw: 97340
    Alt: -0.52m, Raw: 97340
    Alt: -0.52m, Raw: 97340
    Alt: -0.52m, Raw: 97340
    Alt: -0.52m, Raw: 97340
    Alt: -0.52m, Raw: 97340
    Alt: -0.43m, Raw: 97339
    Alt: -0.35m, Raw: 97338
    Alt: -0.35m, Raw: 97338
    Alt: -0.17m, Raw: 97336
    Alt: -0.08m, Raw: 97335
    Alt: -0.08m, Raw: 97335
    Alt: -0.08m, Raw: 97335
    Alt: -0.17m, Raw: 97336
    Alt: -0.17m, Raw: 97336
    Alt: -0.35m, Raw: 97338
    Alt: -0.17m, Raw: 97336
    Alt: 0.00m, Raw: 97334
    Alt: 0.00m, Raw: 97334
    Alt: 0.00m, Raw: 97334
    Alt: -0.08m, Raw: 97335
    Alt: -0.17m, Raw: 97336
    Alt: -0.17m, Raw: 97336
    Alt: -0.35m, Raw: 97338
    Alt: -0.26m, Raw: 97337
    Alt: -0.17m, Raw: 97336
    Alt: -0.17m, Raw: 97336

  • Developer
    That's about right.
This reply was deleted.

Activity

Joseph Udofia liked Joseph Udofia's profile
Wednesday
DIY Robocars via Twitter
Jan 28
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
Jan 23
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
Jan 23
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
Jan 23
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Jan 22
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Jan 21
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
More…