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

Navigation-rewrite news and changelog #1

Closed
digitalentity opened this issue May 21, 2015 · 26 comments
Closed

Navigation-rewrite news and changelog #1

digitalentity opened this issue May 21, 2015 · 26 comments

Comments

@digitalentity
Copy link
Member

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

@marksev1
Copy link

marksev1 commented Jun 9, 2015

Congrats on your latest test flight, looks promising :)

@marksev1
Copy link

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

@digitalentity
Copy link
Member Author

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...

@marksev1
Copy link

Are nav pids transferrable from harakiri?

@digitalentity
Copy link
Member Author

Not really, PIDs behave differently than Harakiri's.

@marksev1
Copy link

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

@digitalentity
Copy link
Member Author

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

@digitalentity
Copy link
Member Author

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

@marksev1
Copy link

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

@digitalentity
Copy link
Member Author

@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.

@strips
Copy link

strips commented Aug 12, 2015

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

@digitalentity
Copy link
Member Author

@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
Copy link
Member Author

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 digitalentity changed the title Flight - New navigation stack Navigation-rewrite news and changelog Aug 28, 2015
@digitalentity
Copy link
Member Author

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
Copy link
Member Author

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

@digitalentity
Copy link
Member Author

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

@digitalentity
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

Uploaded a 1007 build
Changes:

@bk79
Copy link

bk79 commented Oct 7, 2015

@digitalentity A couple of question: Did you separate DR from PH? Did you fix the throttle manual control when in PH/DR? DId you try PH/DR when in acro mode?

@digitalentity
Copy link
Member Author

@bk79
Not yet, GPS-based code is a higher priority at the moment.
Currently dead-reckoning is enabled via CLI and its parameters have been changed to slow down drift.
Poshold does not control throttle at all. You have to manually maintail throttle or use althold.
When PH is activated firware automatically enables ANGLE mode, there is nothing like PH in acro :)

@bk79
Copy link

bk79 commented Oct 8, 2015

@digitalentity no what I mean is that if I'm in acro and I activate PH, regardless my throttle stick position it goes down

@digitalentity
Copy link
Member Author

@bk79
Ok, I see. will test and fix this.

digitalentity pushed a commit that referenced this issue May 4, 2020
digitalentity pushed a commit that referenced this issue Jul 31, 2020
DzikuVx pushed a commit that referenced this issue Oct 20, 2020
digitalentity pushed a commit that referenced this issue Nov 14, 2020
digitalentity pushed a commit that referenced this issue Nov 20, 2020
@ABLomas ABLomas mentioned this issue Dec 16, 2020
DzikuVx pushed a commit that referenced this issue Mar 9, 2021
DzikuVx pushed a commit that referenced this issue Feb 17, 2022
sensei-hacker pushed a commit that referenced this issue Jan 16, 2024
Documents i2c usage on KAKUTEH7WING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants