Hi Everyone,

There are a couple of people I know who have already faced this in RC5. In 3.0.1 I see that I do not get issues, so posting it as a separate forum.

I am using sonar (XL-EZ0, MB1200) + baro on my APM 2.6. Using 3.0.1 RC5, I have attached the logs for perusal. "This did not happen before" and happens more with slight winds.

Note: There were slight traces of wind, but this Up-Down movement is very consistent. Goes up and down by same distance every time.

The only thing that I can think of is 'Thr`Mid' set at 596 for hovering, which I have tried to vary in earlier tests with similar results.

Can somebody have a look and suggest why this happens, from the log?


IMU: Vibrations controlled fantastically on my setup.

CTUN:

SonAlt Vs BarAlt: Reading correct values as it jumps and tries to correct.

3691074382?profile=original

ThrIn Vs ThrOut, you can see sudden dips. ThrIn (red) remains constant. See the green bars dipping? That is the problem.

3691074244?profile=original

Something with 3.0.1 RC5?

2013-11-01 17-40 1.log

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

Join diydrones

Email me when people reply –

Replies

  • Randy,

    Am I correct in saying that in the current firmware the sonar and baro readings are mixed to maintain the height?

  • Hi Randy,

    I see that you've announced that 3.1-rc8 is out and that it would probably become the official 3.1 in a week or so.

    I guess the official release won't have anything in it to fix the sonar issues then...?

  • Hi Randy,

    Here is a comparison I did between 3.0.0-rc2 and 3.1-rc5.  With 3.0.0-rc2 it was quite windy yesterday but with 3.1-rc5 this morning there was almost no wind...

    https://vimeo.com/81257936

  • Developer

    This is the test I did of the sonar.  Not perfect but seems to work!

  • Developer

    I tried -rc7 yesterday and I needed to reduce the SONAR_GAIN to 0.8 but then it worked fine.  I'm using a 3dr quad with an Maxbotix MB1260 (aka XL-EZL0) sonar.

    It's reaction time is a little slow but that's perhaps better than it was in AC3.0.1 where it was far too fast.

  • Randy,

    Is there perhaps anything in 3.1-rc7 to improve the sonar alt_hold or should we wait a bit more for you to fault find?

    Thanks,

  • Today I went for a flight, not the best day, too windy but fine to test the sonar... When the copter is above the sonar range, it maintains altitude very well, but when I descend under 7m (Sonar start working), It starts to jump, cut the motors etc...

    3692884161?profile=originalSeen this graph the only thing that I could think is a lot of noise in sonar... It has the R-C filter installed, and this didn't happened a few weeks ago... :(  

    I attach a TLOG where I loiter at 20meters the most time but I descend sometimes to see the problem.

    This evening I will record some videos showing you the problem...
    What do you think? Thank you very much.

    2013-11-20 13-08-53.tlog

    https://storage.ning.com/topology/rest/1.0/file/get/3692884127?profile=original
  • On earlier versions than 3.01 Sonar for me was absolutely perfect. Once using 3.01 Sonar exhibited issues as described in the post.
    On the bench I am getting accurate readings. In flight up & down with motors cutting out etc.
    I've added all the recommended filtering. Tried two different (same model) Sonar modules.
    For now the Sonar is unplugged & disabled.
  • Jorge,
    AFAIK, 3.01 main release for sonar was perfect.
    Stable release was stable as the name suggests!
  • Hello again, I'm still having problems with my sonar_gain... I can change the value in the full Parameters list to for example 0,2 or 0.1 but the copter is doing the same jumpings and cutting the motors the same way than before... I think that the mission planner is not writting the correct value... I tried to disconnect the sonar, and the copter is smooth and it maintains the altitud very well (Baro precision...)

    I am the only one with that problem? I think it could be an important BUG.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…