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

Follow Mode Not Working (Pixel Gen1) #1885

Open
austindetzel opened this issue Feb 28, 2018 · 4 comments
Open

Follow Mode Not Working (Pixel Gen1) #1885

austindetzel opened this issue Feb 28, 2018 · 4 comments

Comments

@austindetzel
Copy link

Hello, I have a 1st gen google pixel and the follow mode is not initiating. The button turns orange and it switches to guided mode. I can adjust the height. It does not set a ROI and it does not follow. I made sure I traveled a fare distance (2000ft) to make sure that it wasn't a distance init problem and it still didn't work. I have tried on 3 google pixel phones and none work with it (even the beta app). My laptops mission planner work fine and the auto mode works fine but follow mode will not work.

I hope this can be solved quickly!

@lordneeko
Copy link

lordneeko commented Apr 13, 2018

Doesn't work with my Nexus 5 or NExus 7 (2013) either. Though I know I have good POS from the device, because my little blue icon appears on the map.

@lordneeko
Copy link

with my 3DR Solo. To add information, even though the Tower app says it is in “Guided” mode, my Solo’s transmitter screen says it is in “Brake” mode, which is certainly the behavior that I’m observing when it is up there. Did the Mode enumerations change in Tower or AP? I know the Solo is operating off a pretty old version of AP, but I couldn’t imagine that AP would re-enumerate the modes and break old builds.

@lordneeko
Copy link

I found that the Solex app creater had to make a change to his app as well because apparently the Android GPS accuracy has declined. Might have been an API change...or a constellation issue, but it is consistently not as accurate as it use to be. I cannot find in the Tower app code where the hdop is checked before telling it to follow the target. Is anyone still maintaining this project?

Here is his post.
"Follow/Me Fix:
So, I started getting frequent reports of Follow/Me not working. Follow/Me, unlike all other Follow modes on Solex, uses the device's internal GPS to send locations to the vehicle. To avoid doing a terrible job of it, it filters out locations that have an accuracy of >= 10 meters (higher is worse). If a given location has a higher accuracy value than 10, it doesn't send it to the vehicle. This code has been in place for almost 2 years, with no issues at all. When I started hearing about it not working, I investigated and saw that all of the locations logged in the debug log had an accuracy value of 10 meters at minimum. Not sure what's going on there. Locations have historically had an accuracy value of <= 5 meters on a good Android GPS device. In any case, the 10-meter accuracy meant that no locations were getting sent to the vehicle. Adding to the confusion was the fact that on Simple Follow (the one on the map), I'm actually doing path prediction in those locations to make the path smoother, so I just set the accuracy value for those computed locations to 1 meter (Solo's internal path prediction takes care of it in Follow/Me). So in an effort to make it clearer why it's not working, Solex now displays an error message when the Android location value is inaccurate. To make it actually work, I adjusted the max-accuracy value to 15 meters, and now it works. Strange."

@VincentAulagnier
Copy link

VincentAulagnier commented Sep 13, 2018

Follow-me mode does not work with my Samsung Galaxy S6 and my drone running the latest arducopter fw. The follow-me button stay orange. The altitude can be changed successfully but the drone does not change its position when I am moving.

Related to the pull request in the dronekit-android repo:
LocationRelay: Overload Constructor with option #485

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants