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

Feature Request: SatCount sensor #8

Closed
RMFPV opened this issue Sep 5, 2018 · 18 comments
Closed

Feature Request: SatCount sensor #8

RMFPV opened this issue Sep 5, 2018 · 18 comments
Labels
enhancement New feature or request

Comments

@RMFPV
Copy link

RMFPV commented Sep 5, 2018

Can you please add SatCount sensor to be discovered?
Thank you.

@RMFPV RMFPV changed the title Feature Request: No satellites alarm + SatNum sensor Feature Request: SatNum sensor Sep 6, 2018
@RMFPV RMFPV changed the title Feature Request: SatNum sensor Feature Request: SatCount sensor Sep 6, 2018
@yaapu
Copy link
Owner

yaapu commented Sep 10, 2018

Hi, I recently removed it, used to be there, I'll add it back :)

@yaapu
Copy link
Owner

yaapu commented Sep 10, 2018

How about using HDOP instead of satcount wouldn't it provide a better indication of GPS lock quality?

@RMFPV
Copy link
Author

RMFPV commented Sep 10, 2018

I would like to use it for low sats alarm.
Thank you!

@yaapu
Copy link
Owner

yaapu commented Sep 10, 2018

What you are looking for is a way to have vocal alert whenever the hdop falls below some threshhold?

@yaapu
Copy link
Owner

yaapu commented Sep 10, 2018

Ardupilot has a default GPS_HDOP_GOOD of 2.0, I could report low gps hdop whenever it raises above 2 after having been lower

@yaapu
Copy link
Owner

yaapu commented Sep 10, 2018

having a dedicated menu entry for setting the threshold is IMO overkill and would "eat" some precious memory

@RMFPV
Copy link
Author

RMFPV commented Sep 12, 2018

My particular case is that sometimes GPS gets jammed in the area I'm flying. I was planing to make an audio alarm using special functions + logical switch to play SatsCount value when it drops to less than 4 sats. Your idea with HDOP is even better! I think any of them will do a job.
Just please make it constantly repeat the warning with 5 sec interval, or so.
Thank you!

@yaapu
Copy link
Owner

yaapu commented Sep 12, 2018

I'll think about it, ideally there should be a menu entry to enable the feature, then you could configure the periodic alert with the already existing entry.
Vocal "low HDOP alert" would be nice :-)

btw: do you get "GPS glitch" alerts on the message bar when GPS gets jammed?

@RMFPV
Copy link
Author

RMFPV commented Sep 12, 2018

I've just recently started using your brilliant script, I didn't check "GPS glitch" alert yet. Will do next time.
Before I just used customized OpenTx voice alert for low sats. OpenTx doesn't really natively support all this GPS stuff by default.

@yaapu yaapu added the enhancement New feature or request label Nov 9, 2018
@RMFPV
Copy link
Author

RMFPV commented Mar 24, 2019

Hi yaapu!
I've just installed the last version but seems there is no SatCount sensor in it.
Can you be so kind to add it, as we discussed.

Concerning your question about "GPS glitch" alerts on the message bar when GPS gets jammed - can you please explain what do you mean by GPS gets jammed?
If GPS sats become 0 - voice Alert "GPS lost" is activated. Is there supposed to be some different scenario?

@yaapu
Copy link
Owner

yaapu commented Mar 25, 2019

Hi,
I did implement the high HDOP alert but was never able to trigger on the field.
I'll try to explain myself, with gps glitches I get "GPS Glitch" but hdop remains high, than "Glitch cleared" and the alert does not fire, if HDOP raises above minimum hdop configured in ardupilot I get an EKF variance error which eventually triggers an ekf failsafe that plays an alert every 10secs.. so I could not find a valid use case for your request.

@RMFPV
Copy link
Author

RMFPV commented Mar 25, 2019

I want to use SatCount separately to set custom alerts via Taranis voice alarm, let's say for 6 sats, 3 sats and 0 sats. This would keep me completely informed about GPS state.
Does this sound reasonable?

I might be wrong but somehow I don't like Hdop as it's seems to me that it's easer and more straightforward to control sats amount.

@RMFPV
Copy link
Author

RMFPV commented Apr 24, 2019

Hi! Can you please inform about any feature for this discussion?

@yaapu
Copy link
Owner

yaapu commented Apr 24, 2019

Hi,
I will not include sat count sensor in the mainstream code but I can make a special version for you that you'll have to maintain

@RMFPV
Copy link
Author

RMFPV commented Apr 24, 2019

This is very kind of you! I greatly appreciate it.
I also had another idea which you didn't reply here ttps://github.com//issues/20 , and it's very much connected to this one. Would be very nice if you can also tell will it be also implemented, or denied.
Thank you!

@yaapu
Copy link
Owner

yaapu commented Jun 24, 2019

Hi,
sorry for a very late replay, install latest version and overwrite yaapu9.luac with this
yaapu9_nsats.zip

Alex

@RMFPV
Copy link
Author

RMFPV commented Jun 29, 2019

Thank you very much indeed!
I will try asap.

@RMFPV
Copy link
Author

RMFPV commented Jul 24, 2019

I'm very sorry, can you please compile it to yaapu7?

@yaapu yaapu closed this as completed Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants