Sonar PID setup

 

What a great project this has turned out to be. It has been really satisfying just getting to this stage and I haven't even flown more than a couple of meters in testing.

I have completed most of the fine turning of the Quadcopter and have wired in a LV Maxsonar EZ4.

When running the CLI serial setup, there is an option 'o' for setting up the sonar PID and some other roll and pitch pids which are all set to 0's by default.

I have searched the forums looking for Sonar setup guides but have not found anything relevant.

Has anyone had any experience with setting these parameters or can point me in the right direction?

Any help would be greatly appreciated.

 

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    Mine has just shipped so I plan to get it running this weekend. Really excited too!

    Jason

  • Is sonar work with BPM together ? Or just choose one ?
  • I have installed, but not yet tested the Sonar on my Arudcopter, so I don't have hard facts, but the Arducopter Wiki (on the Sonar page) says the following:
    • check the PID values through the CLI menu's "o" option. Good values if you are using standard ArduCopter hardware are P=0.8 I=0.3 D=0.7
  • these PIDs should have default values (not 0, if they are , initialize eeprom))

    use them as starting poiunt, if it doesn't work well, tune them (like any other PID)

This reply was deleted.

Activity

DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
yesterday
DIY Drones via Twitter
Thursday
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…
Thursday
DIY Robocars via Twitter
Thursday
David Hori liked Isabella Domi's profile
Wednesday
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⁩…
Monday
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Monday
DIY Robocars via Twitter
RT @RoboticMasters: Thanks to @EllerbachMaxime and the Sydney Uni Capstone Students the @donkey_car @diyrobocars simulator is getting a ma…
Monday
DIY Robocars via Twitter
Jan 6
DIY Robocars via Twitter
Dec 28, 2020
DIY Robocars via Twitter
An interesting line-following simulator to use with with your robocars: https://github.com/ron-grant/LFS
Dec 23, 2020
DIY Robocars via Twitter
Dec 23, 2020
DIY Robocars via Twitter
An improved version of the @IntelAIResearch OpenBot: https://diyrobocars.com/2020/12/14/an-improved-version-of-the-intel-openbot/
Dec 14, 2020
DIY Drones via Twitter
An improved version of the Intel OpenBot https://ift.tt/2KkHT8Q
Dec 14, 2020
DIY Robocars via Twitter
Dec 10, 2020
More…