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

frontend: signal strength indicators #1367

Open
1 task done
ES-Alexander opened this issue Sep 26, 2024 · 3 comments
Open
1 task done

frontend: signal strength indicators #1367

ES-Alexander opened this issue Sep 26, 2024 · 3 comments
Labels
enhancement New feature or request safety ui UI related issues

Comments

@ES-Alexander
Copy link
Contributor

Current behaviour

Current behaviour is binary - just connected or disconnected, which means operators don't have a good sense of when the connection is poor / at risk of being lost until it's too late.

Expected or desired behaviour

Show signal strength indicators for the connected vehicle, and, if present, a base station.

Per this forum post QGC apparently has a signal strength indicator, albeit without splitting out the connections strength to the vehicle.

Per #1099, satellite connectivity for position estimates should also be available, like it is in BlueOS.

Prerequisites

  • I have checked to make sure that a similar request has not already been filed or fixed.
@ES-Alexander ES-Alexander added enhancement New feature or request ui UI related issues safety labels Sep 26, 2024
@vshie
Copy link

vshie commented Sep 26, 2024

For the BlueBoat using Mikrotik radios, BlueOS should be able to request the signal strength and more usefully, the signal to noise ration (SNR) of the WiFi connection. This will always report from 192.168.2.4 (or whatever the onboard radio device IP is.) AI search suggests librouteros (python) can be used to communicate and retrieve this.
Potentially hallucinated code:
` import routeros_api

connection = routeros_api.RouterOsApiPool('YOUR_ROUTER_IP', username='YOUR_USERNAME', password='YOUR_PASSWORD')
api = connection.get_api() # Get interface information
interfaces = api.get_resource('/interface/wireless')
for interface in interfaces.get():
if 'snr' in interface:
print(f"Interface: {interface['name']}, SNR: {interface['snr']}")`

@vshie
Copy link

vshie commented Sep 26, 2024

Also, as SNR goes below 20, signal loss is imminent and usable bandwidth minimal.... Suggest this should be 1 bar / no bar indication, with above 45 full signal strength.

@rafaellehmkuhl
Copy link
Member

Great idea! We just need to add this API in BlueOS first.

Also, we should have default values but allow configuration of the warning and critical thresholds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request safety ui UI related issues
Projects
None yet
Development

No branches or pull requests

3 participants