-
-
Notifications
You must be signed in to change notification settings - Fork 47
configurable GPS baud rate #345
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
Conversation
|
hi, just a question - is it a good idea to make the baud rate configurable by the user? Maybe it's better to package this baud rate in with the selection of the GPS chip. Only devs will need to change it to test some things. What do you think? |
|
Yeah I've thought of that as well. The "GPS Type" menu lists
Both can have 9.6k and 115k2 devices. We could extend it like this :
But that looks messy too. Maybe we should rename the "GPS Baud Rate" menu to "GPS chip" to enumerate the various GPS chipsets ?
Or more generic like:
A chipset list will probably become too long. |
|
yeah it's not clear what the best approach is here, mainly concerned about users changing defaults and getting into trouble. If @brickbots is fine with your original proposal we can start there. Further thoughts:
|
|
Sorry @d33psky I'm late to the party here. I've been thinking about adding an 'Advanced' section under settings that would have GPS and Camera options... ideally with a message on access stating that any purchased PiFinder already has everything set correctly and you can only get into trouble :-) Would you be willing to add the 'Advanced...' option and put the camera and GPS settings underneath? If it's hidden away a bit I think it's okay having the chip and baud menus! |
Was indeed beginning to wonder when you'd join ;-)
That sounds like a fair grouping. I like it.
Sure. I'll update this PR. |
Settings
├── User Pref...
├── Chart...
├── Camera Exp
├── WiFi Mode
├── Mount Type
└── Advanced
├── PiFinder Type
├── Camera Type
└── GPS Settings
├── GPS Type
└── GPS Baud Rate
when entering the Advanced submenu a 3 second popop shows that reads:
Options for
DIY PiFinders




The default (old) GPS units talk at 9600 baud
The newer UBlox-10 GPS series talk at 115200 baud
This PR adds a menu item to select between these 2 speeds and it updates the gpsd configuration in /etc/default/gpsd, and restarts the daemon on change, irrespective of whether UBLOX or classic GPSd is selected so that both will work.