Search found 9 matches

by Solarwater
Sat Sep 19, 2015 5:12 pm
Forum: Software development
Topic: Navigation based failsafe
Replies: 24
Views: 9778

Re: Navigation based failsafe

Hi edsimmons, thanks for picking up my code. It has been a real long time since I have worked on it, and would have to wrap my head around it again. I see the issue you are talking about with GPS disabled. I had done no testing with GPS disabled, so I never caught it. As a note, I saw the diff on yo...
by Solarwater
Mon Jul 27, 2015 12:56 am
Forum: Software development
Topic: Navigation based failsafe
Replies: 24
Views: 9778

Re: Navigation based failsafe

Yes I have tested failsafe while running a mission. I have run several HIL and physical tests. The mission is canceled. My code is actually quite simple, it overrides whatever your aux mode switches are set to, and sets the modes to get RTH, LAND, or both. You can only get a land and RTH together if...
by Solarwater
Sun Jul 26, 2015 9:24 pm
Forum: Software development
Topic: Navigation based failsafe
Replies: 24
Views: 9778

Re: Navigation based failsafe

Excuse me if I misunderstand, but no mission set up is required for a nav land. LAND is a box mode that you can set with an aux switch without being in a mission. If you were to select LAND via an aux switch, it will land in its current 2D location. No mission set up required to use the standalone L...
by Solarwater
Sun Jul 26, 2015 5:22 pm
Forum: Software development
Topic: Navigation based failsafe
Replies: 24
Views: 9778

Re: Navigation based failsafe

Hi guys, I am glad my thread is getting some attention. To clarify, my code does not use mission waypoints at all. You do not need any waypoints set up to use the failsafe. The only requirement is the home position, which by default is set on arming. I have my quad set up to not arm unless it has a ...
by Solarwater
Mon Apr 13, 2015 6:50 pm
Forum: Software development
Topic: Navigation based failsafe
Replies: 24
Views: 9778

Re: Navigation based failsafe

Hey Dirk, I have never seen the spiral effect you mention. My code simply enables the built in NAV functions, and when signal is returned, then the modes are returned to whatever the transmitter is currently set to. So barring any bugs, it is the same as you manually flipping the switch to RTH or LA...
by Solarwater
Thu Apr 09, 2015 2:22 am
Forum: Software development
Topic: Navigation based failsafe
Replies: 24
Views: 9778

Navigation based failsafe

One important feature that I think multiwii is missing is Nav based failsafe. So I have been working on implementing it. Basically I have combined the built in failsafe with the GPS Nav system. The current implementation I have has 3 new options in the failsafe section of config.h. FAILSAFE_LAND, pe...
by Solarwater
Tue Mar 10, 2015 4:04 pm
Forum: Software development
Topic: pre 2.4 version r1739
Replies: 47
Views: 23467

Re: pre 2.4 version r1739

Alex, please also take a look at this option concerning BARO and GPS Hold: http://www.multiwii.com/forum/viewtopic.php?f=8&t=5852&start=50#p61959 Hi, I follow the GPS baro logic, and it seems to be already covered by the #define NAV_TAKEOVER_BARO 1 option if #define 0 the baro can be dissoc...
by Solarwater
Wed Mar 04, 2015 3:53 pm
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49232

Re: pre 2.4 version r1729

Do you think it is a good idea to have GPS hold active when landing the quadcopter? Case in point: Your quad is just about to touch the ground and GPS PH makes a correction and the landing skids get caught. Worse case is the quad could flip over I don't typically land with GPS hold enabled, and tha...
by Solarwater
Wed Mar 04, 2015 3:06 am
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49232

Re: pre 2.4 version r1729

I believe I found a bug in the Nav code. I was flying my quad, and had gps hold and baro enabled. I wanted to bring it down, so I flipped off baro mode. Problem was it was not coming down. It was descending slowly as if baro was still enabled. Turning off gps hold allowed me to control throttle agai...