inav icon indicating copy to clipboard operation
inav copied to clipboard

Navigation-rewrite news and changelog

Open digitalentity opened this issue 11 years ago • 26 comments

This is to track and discuss progress of nav-rewrite branch

digitalentity avatar May 21 '15 10:05 digitalentity

Congrats on your latest test flight, looks promising :)

marksev1 avatar Jun 09 '15 19:06 marksev1

I'm liking the progress, hopefully the crash during rth didn't do too much damage.

marksev1 avatar Jun 11 '15 14:06 marksev1

Not much - broke an arm and a prop, teared off a wire from one motor. Lots of crashes during development of completely new code was not unforseen and I've got alot of spare parts, fortunately they are very cheap on eBay. I think I've found an issue with RTH, wil try and test again in a few days. Currently the thing that bothers me most is not working manual control during PH (#11) as I have no idea why this is happening...

digitalentity avatar Jun 12 '15 00:06 digitalentity

Are nav pids transferrable from harakiri?

marksev1 avatar Jun 13 '15 08:06 marksev1

Not really, PIDs behave differently than Harakiri's.

digitalentity avatar Jun 13 '15 11:06 digitalentity

DE do you have plans for also improving bmp085 althold. I recall harakiri has done some improvements for that baro, but when I was glancing that code I couldn't understand a lot.. :)

marksev1 avatar Jun 21 '15 19:06 marksev1

Probably yes, but currently I'm focused on getting navigation working. When it will be mostly flyable we can think of improving things.

digitalentity avatar Jun 21 '15 22:06 digitalentity

@marksev1, I've looked at Harakiri code for baro, it looks like we've recently implemented the similar filtering in 6e041c57dd00f6e8ec195dc87e3402d9bd8a34c9.

digitalentity avatar Jun 23 '15 04:06 digitalentity

Digitalentity, what the latest status on ph, rth and ah?

marksev1 avatar Jul 18 '15 14:07 marksev1

@marksev1 AH and PH work to certain level - require tuning, but algorythms are stable enough. RTH is not so good. Flight test of RTH today was a complere disaster. Nothing related to RTH seem to work. But that's fine - I can recall times when even AH wasn't working.

digitalentity avatar Jul 18 '15 14:07 digitalentity

Awesome work! I really hope you can make this work so it will be reliable!

strips avatar Aug 12 '15 12:08 strips

@strips Thanks! Code is getting more stable every day, improvements are made all the time. I hope I'll get this code past "flyable" milestone in about a month.

digitalentity avatar Aug 13 '15 02:08 digitalentity

Some new changes are ready to be flight-tested. New binary cleanflight_NAZE.navigation-rewrite.Aug28.hex is built from 25a0e4f0e2cb47ad1729e835c476ce6633775e34 and is available in my Dropbox. Most significant changes:

  • code refactoring (slight possibility I might have broken some functionality)
  • re-added sonar support for low altitude ALTHOLD, needs careful testing
  • added compensation for BARO drift from GPS, needs testing - enable ALTHOLD and hover for couple of minutes - shouldn't drift for more than 0.5-1 meter
  • PH changes, should tolerate wind better
  • RTH changes, verify that PH is working before testing this
  • reworked landing code, should now descend faster.

digitalentity avatar Aug 28 '15 02:08 digitalentity

Bugfix build (commit da8751c9f52c4e5e92574a08924ad0d8bb061c58). New hex file: cleanflight_NAZE.navigation-rewrite.Aug29.hex Changes:

  • Baro offset correction from GPS removed - GPS altitude turned out to be even less reliable than baro. Using GPS altitude will only be available for fixed-wing if no other source of altitude is available.

digitalentity avatar Aug 29 '15 08:08 digitalentity

New builds: cleanflight_CC3D.navigation-rewrite.Sep06 Changes:

  • Improvements for XY-controller code
  • New set of default settings. Looks like #4 is going to be closed soon.

digitalentity avatar Sep 05 '15 23:09 digitalentity

Posted a thread on RCGroups for discussion: http://www.rcgroups.com/forums/showthread.php?t=2495732

digitalentity avatar Sep 06 '15 00:09 digitalentity

New build: Sep08 Changes:

  • Updated to latest master (including new failsafe functionality)
  • Improved ALTHOLD and POSHOLD (GPS_CRUISE) mode, should now stop faster when pilot releases the stick
  • Added a filter to GPS coordinates, should reduce GPS noise

digitalentity avatar Sep 08 '15 02:09 digitalentity

Build 0910 uploaded. Updated to include changes from latest master (including full support for external baro/mag). Some CLI parameter names changed, new navigation-related CLI parameters added. This build includes stronnag's implementation of LTM. support for dodo baro sensor.

digitalentity avatar Sep 11 '15 01:09 digitalentity

Just uploaded a 0914 build. Changes:

  • (tested) GPS update rates of >2Hz are now supported
  • (tested) Limited pilot's ability to control altitude during RTH only to HEAD_HOME phase. This fixed a bug that prevents autolanding if throttle stick > 50% when landing
  • (untested) GPS loss during PH/RTH should be now handled properly - force ANGLE mode and wait for GPS to restore. Allow pilot to control the copter pitch/roll directly. In future this will change for RTH mode and will force autolanding

This build also includes support for LTM telemetry and BMP280 baro.

digitalentity avatar Sep 14 '15 02:09 digitalentity

Uploaded a 1007 build Changes:

  • Rebased to latest "master", support for BMP280 and Naze rev.6 out of the box
  • (partially tested) Model-based inertial position estimator (#23) for PH/RTH
  • (partially tested) Dead reckoning possibility (poshold without GPS)
  • (untested) Improvements for autonomous navigation code (PH/RTH)

digitalentity avatar Oct 07 '15 06:10 digitalentity